[Slugnet] help: iptables only in /proc, so a reboot will clear
everything?
Junhao
junhao82 at jmarki.net
Fri Sep 7 08:23:32 SGT 2007
Yip Wai Peng wrote:
> On Thursday 06 September 2007 9:38:11 pm Junhao wrote:
>> 2) However, iptables doesn't list any rules:
>>
>> <output>
>> root$ iptables --list
>
> Hiya,
>
> Try
>
> # iptables -t nat -L
>
> Cheers!
> Wai Peng
>
>
>
Thanks, Wai Peng and Vernon! Found the active iptables rules now (using
iptables -t nat -L), it's the same as the one from S08iptables.
Still can't find any iptables configuration file though. Only manpages
and iptables binaries returned using "find / -iname *iptable* -ls". I
guess somehow the configuration file is deleted after it was setup...
Saved a copy of the present iptable rules using
"iptables-save > iptables.conf"
, to restore using
"cat iptables.conf | iptables-restore"
if the system gets rebooted.
Am I on the right track? Thanks!
--
Junhao
More information about the Slugnet
mailing list