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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rc.firewall

Status
Not open for further replies.

sproosy

IS-IT--Management
Oct 31, 2002
94
AU
Hey,

I have a scipt that i have modified and is called rc.firewall. I have been told it lives in /etc/rc.d/rc.firewall
Is this correct? How do i get the firewall to load, i ma using IPTABLES.

Cheeers!

Sproosy MCP

Keep it real!
 
Run it ;-)
Well, I think you should know something before you begin. 'Iptables' is a piece of code in Linux kernel. It is a system for network filtering, NAT, connection tracking etc. Your script probably just executes commands that set parameters for this system and maybe some other parts of Linux networking. So, if you run it, it will create several 'tables' or sets of rules for handling network connections. You can check them with commmand 'iptables -L -n'.
I think you will want to run it after reboot. In RedHat systems, the system is a little bit different. There is a 'service' called iptables found in /etc/init.d. When it is run, it just loads these tables from file. Check this file and decide if you want to replace it with your script. Just be careful if you are not sitting on system console - you can easily block remote acces for yourself.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top