Displaying 1 result from an estimated 1 matches for "arpproxi".
Did you mean:
approxi
2005 Feb 18
0
Route away packets addressed to the machine itself w/iproute and Netfilter
...networks) i wan''t all
packets coming to 10.0.0.1 destination port 80 be routed thru the tunnel
device and be answered by 10.2.0.2 (which has an interface configured
with 10.0.0.1).
It works if the incoming ip address is not configured on the receiving
machine (but is configured to be arpproxied) but not with the "main" ip
address.
This is what i did to test
on 10.0.0.1
ifconfig
eth0: main interface
tunnel2: ipip tunnel interface to 10.2.0.2
/etc/iproute/rt_tables
added:
100 myroute
iptables -A PREROUTING -t mangle -d 10.0.0.1 -p tcp --dport 80 -j MARK
--set-mark 99
ip r...