-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 25 January 2004 16:52, Roy Kidder wrote:
> I'm having a hard time figuring out how Gentoo loads its iptables rules
> via the init script. I've edited /var/lib/iptables/rules-save (adding
> rules allowing inbound DHCP, inboubt tcp with the established bit set,
> etc, etc) and then run "/etc/init.d/iptables start" which looks like it
> runs just fine (it loads the modules ip_tables and iptable_filter). But
> when I look at the tables (iptables-save), all I get is this:


> If I add the same rules from hand via the command line, it works just
> fine, however.
>
> Anyone have any idea?

iptables-save/restore don't use the command line syntax exactly.
Start iptables, add the rules you want, then /etc/init.d/iptables save, and 
next time you start it your rules will be put back.

- -- 
Mike Williams
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAE/VgInuLMrk7bIwRAhxpAJ9vxmbq4JIa8AN6ola5fm5kkXFbQACeISBo
2HgoONDQIWVd8cI2PJ7HhiU=
=34e6
-----END PGP SIGNATURE-----

--
[EMAIL PROTECTED] mailing list

Reply via email to