Displaying 1 result from an estimated 1 matches for "fwdmasq".
Did you mean:
fw2masq
2005 Oct 21
0
MASQed network to exit on different ext IP addres
...I tried folowing
/usr/sbin/ip rule add prio 100 dev vlan0015 lookup 15 (here i tried also
to do prio 100 from 10.0.0.0/24 lookup 15 )
/usr/sbin/ip route add default via bbb.bbb.bbb.bbb table 15 (here i
tried to add src fff.fff.fff.fff, but no effect)
/usr/sbin/ip route flush cache
ipchains -A fwdmasq -i vlan+ -j MASQ
ipchains -A forward -j fwdmasq -s 10.0.0.0/24
i tried also source nat with the iproute but no way,
/usr/sbin/ip rule add prio 100 from 10.0.0.0/24 nat fff.fff.fff.fff
lookup 15
The problem is that packets are still leaving router with ip addres
xxx.xxx.xxx.xxx instead of fff.ff...