MXcode » port http://mxcode.com All about coding Wed, 23 Jun 2010 09:30:25 +0000 http://wordpress.org/?v=2.7.1 en hourly 1 open a port on linux server http://mxcode.com/2010/01/open-a-port-on-linux-server/ http://mxcode.com/2010/01/open-a-port-on-linux-server/#comments Wed, 13 Jan 2010 14:39:47 +0000 MXcode http://mxcode.com/2010/01/open-a-port-on-linux-server/ =========================================
iptables -A RH-Firewall-1-INPUT -p tcp -m state –state NEW -m tcp –dport 3690 -j ACCEPT
=========================================
RH-Firewall-1-INPUT is the name of the chain, and change 3690 to the port number you expect.

You must restart the service to make it effective:
[root@localhost ~]# service iptables restart

]]>
http://mxcode.com/2010/01/open-a-port-on-linux-server/feed/