I have been installed OpenVPN server on my CentOs VPS, and it started successfully
And try to configure iptables for it by following command:
iptables -A FORWARD -m state -–state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -s 10.8.0.0/24 -j ACCEPT iptables -A FORWARD -j REJECT iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -j SNAT --to 18.104.22.168
But I can't connect to it,so I run nmap on my computer:
nmap -p 1194 22.214.171.124 Starting Nmap 5.21 ( http://nmap.org ) at 2011-12-27 22:28 IRST Nmap scan report for 126.96.36.199.nativehosting.com (188.8.131.52) Host is up (0.53s latency). PORT STATE SERVICE 1194/tcp closed unknown Nmap done: 1 IP address (1 host up) scanned in 3.22 seconds
Now where is the problem and how should I solve it? Why 1194 is closed after install OpenVPN?
I have followed http://tipupdate.com/how-to-install-openvpn-on-centos-vps/ to install and configure it.