Skip to contentSkip to conversation

ROUTE problem

DISCUSSION Paulo Andre 1 participant 1 message Jul 26, 2006

lore
Share & tools
lore
#0 lore raw

I have added the following iptables rule for our network,

$iptables -A POSTROUTING -t mangle -d 198.1.y.z -p tcp --dport 80 -j ROUTE --gw 196.10.y.z --oif eth2

The fw has two ISP links, default router 196.20.y.z and secondary is 196.10.y.z
If the above rule is removed, then our network can connect to the 198.1.y.z on port 80 via the default gw 196.20.y.z When the rule is in , the packet hits the mangle POSTROUTING rule but does not leave the fw, anyoine know what I am doing wrong. Would it be a routing problem?

Thanks
Paulo