1 |
Once you run the rules once and run save, they will then be reloaded |
2 |
from that location (/var/lib/iptables/rules-save) |
3 |
by /etc/init.d/iptables start. The init.d script uses iptables-restore |
4 |
and iptables-save underneath. |
5 |
|
6 |
Eric C |
7 |
|
8 |
On Thu, 2005-08-25 at 23:17 -0400, John Dangler wrote: |
9 |
> I'm reading through the wiki doc on setting up iptables. There is a section |
10 |
> there that sets up a file called firewall.sh |
11 |
> i've emerged iptables, but I don't have a file by that name on the system, |
12 |
> and it seems that running "/etc/init.d/iptables save" writes this file as |
13 |
> /var/lib/iptables/rules-save. Is there a specific directory where this file |
14 |
> should be written so that running "/etc/init.d/iptables save" can see it? |
15 |
> Or can the rules-save file be edited and re-written? (It seems as though |
16 |
> running "/etc/init.d/iptables save" would just over-write rules-save). |
17 |
> |
18 |
> Thanks for the input. |
19 |
> |
20 |
> John D |
21 |
> |
22 |
> |
23 |
> |
24 |
> |
25 |
|
26 |
-- |
27 |
gentoo-user@g.o mailing list |