[CentOS] iptables: forwarding on internal device
Robert Spangler
mlists at zoominternet.net
Sun Feb 8 03:48:30 UTC 2009
On Saturday 07 February 2009 13:17, Marcus Moeller wrote:
> >> > Iptables -nL
> >> >
> >> > Show?
> >>
> >> Here is the complete output (there are a lot of other rules active on
> >> that machine):
> >
> > [snip]
> >
> > Your rule is not showing up. How did you set this rule up?
> > If you added it to your firewall rules you need to restart the firewall.
> > If you added it by hand then it must have spit out an error as it didn't
> > take.
>
> Doesn't it fit to just execute service iptables save?
That depends. Are you using a script, other then the one provided by init.d,
to start and setup your firewall then this is just going to save the running
firewall to /etc/sysconf/iptables. This is the file that is read by the
script in init.d.
--
Regards
Robert
Linux User #296285
http://counter.li.org
More information about the CentOS
mailing list