Page 1 of 1
Another person needing help logging in remotely

Posted:
Tue Apr 07, 2009 2:16 am
by carleton
Hi, I'm really liking Subsonic thus far, but I'm having trouble getting in from remote locations, I've read all the previous posts on this I could find, tried them all and nothing seems to work.
Specs:
Ubuntu 8.1
Netgear WGR614v6 router
I setup port forwarding and I tried changing the port to 8181 in case there was something up with the default, but no luck. I'm not sure what else to do. I don't have any firewall I know of running, unless Ubuntu setups one up by default
any help would be appreciated
Thanks!

Posted:
Tue Apr 07, 2009 6:37 am
by jigsaw
Ubuntu does setup a firewall by default, but it should be completely open:
https://help.ubuntu.com/community/IptablesHowTo
Excerpt: Iptables is a firewall, installed by default on all official Ubuntu distributions (Ubuntu, Kubuntu, Xubuntu). When you install Ubuntu, iptables is there, but it allows all traffic by default. Ubuntu 8.04 Comes with ufw - program for managing a netfilter firewall.
Follow the howto to verify that your firewall is not blocking the connections.

Posted:
Tue Apr 07, 2009 2:19 pm
by carleton
Well I looked into the possibility of that firewall but it doesn't look like the culprit. I did a port scan on my local ip which verifies that 8181 is open but my external ip won't respond. Can Anyone PM me maybe to see if they can get anything from my external ip?

Posted:
Tue Apr 07, 2009 6:40 pm
by jigsaw
You don't need anybody doing that for you.
Quick google search for "scan ports" sent me to
http://www.t1shopper.com/tools/port-scanner/
Try that and see what you get..
If it works on your local ip, but not on the external ip it could be some issues with the port forwarding ( or a built in firewall in the router perhaps? )

Posted:
Wed Apr 08, 2009 12:29 am
by carleton
Thanks for the tip, the results don't look that promising:
Scanning ports on xx.xxx.xxx.xx
xx.xxx.xxx.xx isn't responding on port 21 (ftp).
xx.xxx.xxx.xx isn't responding on port 23 (telnet).
xx.xxx.xxx.xx isn't responding on port 25 (smtp).
xx.xxx.xxx.xx isn't responding on port 80 (http).
xx.xxx.xxx.xx isn't responding on port 110 (pop3).
xx.xxx.xxx.xx isn't responding on port 139 (netbios-ssn).
xx.xxx.xxx.xx isn't responding on port 445 (microsoft-ds).
xx.xxx.xxx.xx isn't responding on port 1433 (ms-sql-s).
xx.xxx.xxx.xx isn't responding on port 1521 (ncube-lm).
xx.xxx.xxx.xx isn't responding on port 1723 (pptp).
xx.xxx.xxx.xx isn't responding on port 3306 (mysql).
xx.xxx.xxx.xx isn't responding on port 3389 (ms-wbt-server).
xx.xxx.xxx.xx isn't responding on port 5900 ().
xx.xxx.xxx.xx isn't responding on port 8080 (webcache).
Clearly something's up here, I'm just not sure what

Posted:
Wed Apr 08, 2009 5:06 am
by jigsaw
If none of the ports are open externally it's most likely the router which is not actually forwarding the connection correctly to your Ubuntu server.
Tip:
If you want to verify that nothing is actually coming through to your server you could sniff the interface by trying:
(Assuming you have subsonic setup to listen to port 8181)
[code]
sudo tcpdump port 8181
[\code]
.. try connecting from an external host and see if you get any hits from the tcpdump. If you do, then there something else in the matter. If you don't, it's networking/firewall/router.