Displaying 2 results from an estimated 2 matches for "tunnel2".
Did you mean:
tunnel
2005 Feb 18
0
Route away packets addressed to the machine itself w/iproute and Netfilter
...d 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 route add table test dev tunnel2
ip rule add fwmark 99 table test
in 10.0.0.2
ifconfig eth0:101 10.0.0.1 netmask 255.255.255.2...
2005 Apr 19
5
1 to 1 nat of multiply pptp tunnels
...ptp3 ppp2 - tcpflags,routefilter,nosmurfs,arp_filter
pptp4 ppp3 - tcpflags,routefilter,nosmurfs,arp_filter
zones:
modem InodeInternal PPTP Connector via 10.0.0.0
loc Local Local networks via 192.168.47.0
net Tunnel1-Internet Inode PPTP Tunnel 1
pptp2 Tunnel2-Internet Inode PPTP Tunnel 2
pptp3 Tunnel3-Internet Inode PPTP Tunnel 3
pptp4 Tunnel4-Internet Inode PPTP Tunnel 4
tunnel: (10.0.0.138 is the pptp server)
pptpclient modem 10.0.0.138 net,pptp2,pptp3,pptp4
policy:
fw fw ACCEPT
fw loc ACCEPT
fw ne...