default | grid-3 | grid-2

Post per Page

Here is some basic iptable rules.  Thanks goes to the cloud support team at Rackspace.  

This rule appends the rule.  This particular rule  opens inbound port 5432 to the ipaddress

iptables -A RH-Firewall-1-INPUT -p tcp -s --dport 5432 -j ACCEPT

This rule inserts the rule at the start of the chain.  

iptables -I RH-Firewall-INPUT -s -p tcp -m tcp --dport 5432 -j ACCEPT

After adding rules you need to issue this command to save the rules.

service iptables save

After saving you need to issue the restart command
service iptables restart

If you want to see the available chains in your firewall use this command:
iptables -L

No comments

Error Page Image

Error Page Image

Oooops.... Could not find it!!!

The page you were looking for, could not be found. You may have typed the address incorrectly or you may have used an outdated link.

Go to Homepage