Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

firewall 1

Status
Not open for further replies.

tech4rce

Technical User
Aug 27, 2003
49
CA
Hi guys, I have a problem and would like your help.
I've made a firewall (iptables), located in /etc/rc.d/, the file is executable (775 permisions). Now the problem is that when I check the firewall setting (to see if it's working) using "iptables -L" I get the "default" firewall (RedHat9)
ie: Chain INPUT (policy ACCEPT)
Chain FORWARD (policy ACCEPT)
Chain OUTPUT (policy ACCEPT)

Now this is not my firewall, so how do I get mine to actually work (replace this one)??

Any ideas as to what I'm doing wrong would be greatly appreciated thanks.
 
I am guessing you are on RedHat. Try to replce the iptables script in /etc/rc.d/init.d/ with yours.
# /etc/rc.d/init.d/iptables stop
# mv /etc/rc.d/init.d/iptables /etc/rc.d/init.d/iptables.old
# cp /etc/rc.d/iptables /etc/rc.d/init.d/iptables
# /etc/rc.d/init.d/iptables start
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top