Hi I have looked all over the internet but could not find a solution. I am not saying that I didn't find anything, I am saying that I tried so many things and nothing worked. So hopefully someone can help.
I have a FreeNAS set up at my home and I can SSH into it with my local ip address. I have a smart linksys router and when I try to connect to the home server with my public IP I get connection timed out.
Here is a example output of what I get when I run the debug SSH
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to <My Public IP> [<My Public IP>] port 22. debug1: connect to address <My Public IP> port 22: Operation timed out ssh: connect to host <My Public IP> port 22: Operation timed out
If you want me to include anything else let me know.
Update 2015-07-21 Port Forwarding
I have port forwarding setup. Here is a image of what my single port forwarding looks like.
Update 2015-07-21 Firewall
I came across that while reading about this problem on the internet. I looked at my NAS firewall. Tried to stop it with
/etc/rc.d/ipfw stop and it said that
firewall_enable="NO". I set it to "YES" and then I ran the stop command again. Then I tested the SSH with my public ip and still got connection timed out. Then I turned off my linksys and freenas firewall. Still connection timed out. So I am not sure what I am doing incorrectly. So would it be possible to give me a step by step on how to turn off both firewalls correctly.
I have put the linksys firewall settings back since I it was not working correctly.