Hi,

Has anyone heard of a tool that reads the output
of ipchains -L and regenerates the /sbin/ipchains
command line? ie, given the input

Chain forward (policy ACCEPT):
target     prot opt     source                destination           ports
MASQ       tcp  ------  binand.cysphere.com  news.cis.dfn.de any ->   nntp

this should generate the commands:

/sbin/ipchains -P ACCEPT forward
/sbin/ipchains -A forward -p tcp --src binand.cysphere.com --dst 
news.cis.dfn.de --dport nntp -j MASQ

You get the idea - I am thinking of using such a tool to preserve
firewall status across reboots. A similar tool for iptables?

Binand

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to