[CentOS] Question about rebooting and iptables rules persisting
wpilorz at bdk.pl
Mon Mar 26 08:04:22 UTC 2007
On Mon, 26 Mar 2007, Preston Crawford wrote:
> So I use Samba on my home network. I open the samba ports in the GUI tool
> for CentOS 4. Here is the problem. Every time I reboot I'm forced to run
> system-config-securitylevel to get firewall ports open again. So like if I
> reboot samba won't work. I go into that tool either via command line or
> via the GUI and I simply click "ok" and samba is suddenly open.
> Does anyone know what is happening? I've tried iptables -save or whatever.
> Nothing seems to work in getting these ports to be open on reboot.
Look into file /etc/sysconfig/iptables - this is where
system-config-securitylevel is supposed to place iptable rules
Are samba ports open in that file?
If so, what iptables -L -v -n reports
after system is started and after
service iptables restart?
Any messages regarding iptables in dmesg or /var/log/messages?
More information about the CentOS