Post Pic

Opening firewall ports on a linux machine?

To open any port on a linux machines with iptables install you can follow these easy steps.

vi /etc/sysconfig/iptables

press insert to add more ports like for 110 port
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 110 -j ACCEPT

once done type
:qw

Restart iptables
/etc/init.d/iptables restart

Related posts:

  1. Mysql.so not found on a linux machine?
  2. Setup your linux server with apache, php and mysql to host websites a step by step tutorial
  3. How to find which application on your computer or server using which port
  4. How to save and quit vi command in linux
  5. How to install yum on linux server

Leave Your Response

* Name, Email, Comment are Required