iptables forwarding not working/iptables-save not saving
Rick Stevens
ricks at nerd.com
Thu Nov 20 20:30:17 UTC 2008
Antonio Olivares wrote:
> Dear fellow testers,
>
> I am trying to setup a little dhcp server at school for my machines that my students use at school. Iptables is not saving :(
>
> [root at localhost ~]# rpm -qa iptables*
> iptables-1.4.1.1-2.fc10.i386
> iptables-ipv6-1.4.1.1-2.fc10.i386
If you're using the iptables command to directly change your setup, you
have to use
iptables-save >/etc/sysconfig/iptables
to save the current setup. On boot, the system does an
iptables-restore </etc/sysconfig/iptables
to restore those settings. Or you can edit /etc/sysconfig/iptables
yourself directly and do a "service iptables restart" to make them
apply.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer ricks at nerd.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- If it's stupid and it works...it ain't stupid! -
----------------------------------------------------------------------
More information about the fedora-test-list
mailing list