Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: hanscees on May 19, 2003, 03:49:23 AM
-
hi,
where can I find the iptables rules that are applied to e-smith 5.6?
I can make a script and run it every 10 minutes by cron but I would like to do it the e-smith way.
greetings
Hans-Cees
-
Just might answer it myself for others that use the search function here:-)
Esmith uses the runlevel 7.
so
/etc/rc7.d has all links to programs it runs.
It runs iptables there and also masq.
These are softlinks to a general esmith script:
/etc/rc.d/init.d/e-smith-service
this runs things depending on:
/home/e-smith/configuration
You can see what this amounts to by doing
iptables -L
and iptables -t nat -L
I would built my own script and pass it here shortly, because I do not like others' scripts.
greetings
hc
-
Would appreciate a copy of the script after you have written it please and thank you
-
it is here:
www.hanscees.net/iptables5
It was designed to log a lot of things though.
hc