Skip to contentSkip to conversation

problem with bridge+iptables+ulog

DISCUSSION B H R Balaji 1 participant 1 message Mar 12, 2003

lore
Share & tools
lore
#0 lore raw

Hi all

some one can help i have the following setup

x.x.x.1/24 x.x.x.2/24

   +------+                               +------+
  | Router A |------+ +---------| PC B |
   +------+              | |              +------+
                              | |
                        eth0| | eth1
                          +-----+
                            | qos | (br0 =3D x.x.x.3/24)
                          +-----+

Router A is connected to internet
QOS box running with bridge
PC B is my LAPTOP

iam try to make the ULOG usig the following command

$IPTABLES -I INPUT -i eth1 -j ULOG --ulog-nlgroup 1 --ulog-cprange
--ulog-qthreshold 50 --ulog-prefix "EXT_IN"

iam not able to see any LOG here in my LOG file

when i do this with out interfce

$IPTABLES -I INPUT -j ULOG --ulog-nlgroup 1 --ulog-cprange
--ulog-qthreshold 50 --ulog-prefix "EXT_IN"

iam able to see some logs using BR0

how can i get the logs from eth0 and eth1

any suggestion will be great

hare