Search the Community
Showing results for tags 'centos 5'.
I needed to open a certain outgoing port on my CentOS 5 server. Now that I know how I figured I would share with you. It's really pretty simple. First you will need to login to your server via SSH. I use Putty. After that su - to root. Open Outgoing Port: iptables -A RH-Firewall-1-OUTPUT -p tcp -m state --state NEW -m tcp --dport 65 -j ACCEPT Open Incoming Port: iptables -A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 65 -j ACCEPT Once done you need to save your iptables by running this command: service iptables save Now restart the serv