Re: something stupid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 6 Oct 2005, Daniel Wittenberg wrote:

yeah, I do realize they are on the same interface, just wanted to make
sure it was understood what I have.  The very first rule right now in my
script:

iptables -t filter -A INPUT -i eth1 -p tcp -d 1.1.1.188 --dport 25 -j
LOG --log-prefix " SMTP_HERE " --log-level notice

eth1    has IP of 1.1.1.189
eth1:0  has IP of 1.1.1.188

Works here.

iptables -t filter -A INPUT -i br0 -p tcp -d 1.1.1.188 --dport 25 -j LOG --log-prefix " SMTP_HERE " --log-level notice

Oct 7 20:11:24 henrik kernel: SMTP_HERE IN=br0 OUT= PHYSIN=eth0 MAC=00:90:27:cc:0e:14:00:d0:b7:a7:6d:40:08:00 SRC=192.168.1.1 DST=1.1.1.188 LEN=60 TOS=0x10 PREC=0x00 TTL=64 ID=2497 DF PROTO=TCP SPT=33342 DPT=25 WINDOW=5840 RES=0x00 SYN URGP=0

Regards
Henrik


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux