well I have been following every rule out there on Forwarding.
I currently have 2 computers, lets call it Computer DOG and Computer CAT.
I can ssh into DOG from outside my network perfectly. I went on my router and added a new service to forward to 192.168.1.10 using port 22. So I am able to ssh using my public IP address from outside the network for dog. as ssh [email protected] -l dog.
now for Cat, since port 22 is used up, I am trying to open port 2222. So, when I try to ssh [email protected] -p 2222 I get connection timed out or connection refused. I also edited my /etc/ssh/sshd_conf file and added Port 2222 on it. On my router, I also added 192.168.1.7, which is cat add added port 2222. Funny thing is, I can SSH CAT within the network normal by typing "ssh [email protected]" and goes right in, in my local network.
is there a firewall for ubuntu that I need to change or soemthing? Or something with my MODEM? or what is it that I am doing wrong?