[Gllug] iptables

Chris Bell chrisbell at overview.demon.co.uk
Sun Nov 7 19:31:51 UTC 2004


Hello,
   I am trying to set up a transparent bridge with iptables which carefully
specify which IP addresses are INPUT or FORWARDed, and ACCEPTed, restricted,
or DROPped, when connected to specific ethernet interfaces. I have entered a
set of rules such as

iptables -A FORWARD -i eth1 -s 192.168.0.1 -o eth0 -j restrict

but when I list the iptables using

iptables -L

the details shown are similar to

target   prot  opt  source       destination  (sometimes other comments)
restrict all   --   192.168.0.1  anywhere

and all information about the specific ethernet interfaces is missing. Is
this normal? Are the rules complete but not shown? Do I have to enter more
rules, each with less information?

   The box is an old 486 with minimal memory, a small hard disc, multiple
ethernet cards, and Debian. I thought that Woody was probably out of date
when it gave the same display so I re-loaded it with Sarge, but it is still
the same.

Thanks for any advice.

-- 
Chris Bell

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list