Save iptables filters
Hello,
I changed the filters using iptables, then save it by calling the iptables-save. But, after rebooting, the old filter came back. Does the iptables-save save the modified filter? If not how can I save the filter? Also, is there anyway I can edit and save the iptables filter parameters to a text file, and invoke it during booting up? I am using RH 9.0. Thank you. Kind Regards, Jim |
Yes, you would place your iptables commands into a text file, make it executable, and have it run at boot up.
Or perhaps even easier, place the iptables commands into the /etc/rc.d/rc.local file. |
No.
Use the way iptables is integrated into Red Hat Linux. Run service iptables save, which calls iptables-save internally to save the firewall rules in the right place, where they are loaded at boot-time: /etc/sysconfig/iptables |
Howzit
Listen to misc he right cheers |
All times are GMT -5. The time now is 07:55 AM. |