iptables forwarding not working/iptables-save not saving
Robin Laing
Robin.Laing at drdc-rddc.gc.ca
Fri Nov 21 17:58:58 UTC 2008
Rick Stevens wrote:
> 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! -
> ----------------------------------------------------------------------
>
Man, I wish I had seen this post last month when I was fighting with
iptables.
Thank you.
--
Robin Laing
More information about the fedora-test-list
mailing list