View previous topic :: View next topic |
Author |
Message |
Christiaan n00b
Joined: 10 Apr 2003 Posts: 2
|
Posted: Thu Apr 10, 2003 4:27 pm Post subject: iptable help |
|
|
I've got a question about an iptable script. Where do I have to put an iptable script so that it will be loaded when gentoo boots.
Which modules do I have to compile in my kernel to use iptables?
Thanks in advance. |
|
Back to top |
|
|
gigel Guru
Joined: 14 Jan 2003 Posts: 369 Location: .se/.ro
|
Posted: Thu Apr 10, 2003 5:50 pm Post subject: |
|
|
well you have to write a script and put it in /etc/init.d/firewall
and than type
Code: |
rc-update add firewall default
|
with the other question i can tell you what i have compiled..but i compiled the options as modules(and i advice you to do so)
Networking options --> Netfilter Configuration
<M> conection traking (required for masq/NAT)
<M>IP tables support (required for filtering/masq/NAT)
<M>limit match support
<M>stealth match support
<M>Connection state match support
<M>Connections/IP limit match support
<M>Packet filtering
<M>Full NAT
<M>Paket mangling
<M>LOG target support
_________________ $emerge sux
|
|
Back to top |
|
|
|