Re: destinations interface must be eth0?

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

 



Hi.

Jim Burnett wrote:

<snip>

> #2
iptables -v -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNA
T--to                  192.168.1.56:80
This wont work because the destination IP is on eth1


...did you try using -i eth1 instead of -i eth0 in the above command?



I didnt see this in the documentation and it took my 5 days to figure it
out....

Tested on 6 machines, redhat 9, slackware 9, Latest gentoo build from
stage 1. Various brand nic cards. Various compiled kernels. 2.4.18 -
2.4.22

-Jim



regards, jamie










[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