Results 11 to 11 of 11
Originally Posted by KidCloudWala Satimis: Can you check whether the port is open using the nmap command on the public IP outside your network. Also, you can execute the coomand ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-22-2008 #11
- Join Date
- Sep 2004
It was the firewall, iptables, stop the connection. After adding following rules on /etc/rc.localCode:
iptables -A INPUT -s satimis.com -p tcp --dport 2222 -j ACCEPT iptables -A INPUT -s 220.232.xxx.xxx -p tcp --dport 2222 -j ACCEPT
$ sudo /etc/init/d/rc.local start
then the server can be ssh-connected with
$ ssh -p2222 satimis.com
$ ssh -p2222 220.232.xxx.xxx
Problem gone now.