1 |
James wrote: |
2 |
> dg <dg <at> kaboom.spb.ru> writes: |
3 |
> |
4 |
> |
5 |
> |
6 |
> |
7 |
>> Just run your script once, then do |
8 |
>> /etc/init.d/iptables save |
9 |
>> /etc/init.d/iptables start |
10 |
>> |
11 |
> |
12 |
> |
13 |
>> rc-update add iptables default |
14 |
>> |
15 |
> |
16 |
> |
17 |
>> ... and it will load your rules and start firewall automatically. |
18 |
>> |
19 |
> |
20 |
> |
21 |
> Wow, lots of responses. I got the script launching upon reboot. |
22 |
> |
23 |
> Thanks EVERYONE for the info and ideas.... |
24 |
> |
25 |
> |
26 |
> James |
27 |
> |
28 |
> |
29 |
|
30 |
Well, you got it going but this is how I did mine. I started iptables, |
31 |
ran my script and made sure all was working, then did a |
32 |
"/etc/init.d/iptables save". After that it restores after I reboot and |
33 |
everything. Worked well for me at least. |
34 |
|
35 |
Dale |
36 |
:-) :-) |
37 |
-- |
38 |
gentoo-user@g.o mailing list |