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 ...
- 07-22-2008 #11Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
Hi KidCloudWala,
It was the firewall, iptables, stop the connection. After adding following rules on /etc/rc.local$ sudo /root/iptables.stopCode: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.
B.R.
satimis



Reply With Quote