iptables interface matching
Nigel Kukard
nkukard@lbsd.net
Thu, 25 Oct 2001 20:14:15 +0000 (UTC)
> [root@ctgw firewall]# iptables -N test
> [root@ctgw firewall]# iptables -A test -i +
> [root@ctgw firewall]# iptables -vnL test
> Chain test (0 references)
> pkts bytes target prot opt in out source destination
> 0 0 all -- + * 0.0.0.0/0 0.0.0.0/0
ok, somone here said that that won't always work.... sooooo, i did this...
iptables-save > /tmp/ipt.rls
iptables-restore < /tmp/ipt.rls
and it comes back with a *, so infact i could classify this as a quick hack
right? (other than using -i "")
RFC
Nigel
--
================================================================================
Contact Details
---------------
Name: Nigel Kukard
GSM Mobile: (+27) 082 564 2120
GSM Fax: (+27) 082 131 564 2120
Email: nkukard@linuxrulz.za.net
Organizations
-------------
- LinuxRulz
Url: http://www.linuxrulz.za.net
Position: Owner
- Linux Based Systems Design
Url: http://www.lbsd.net
Position: Systems Designer, Programmer
- Lando Technologies
Url: http://www.lando.co.za
Position: Linux Systems/Network Administrator