I tried to follow the instructions on the WiKi to no avail. Here is myu situation. A Lot of my customers are having problems with vonage. I have 2 lines to the internet, a T-1 line and a DSL. I thought I could mark the VoIP packets and then route them out of my normally unused T-1. I built the mangle rules and the routing rules. packets are shown to be going thru the interface but my customer’s connection is dead. I disable the mangle rules and the connection returns. Getting frustrated here. Any help?
BTW here are my settings:
NAT
1 chain=srcnat action=masquerade src-address=10.0.0.0/8 out-interface=ether1
2 chain=srcnat action=masquerade src-address=10.0.0.0/8 out-interface=ether3
Route
admin@El Paso Main] > ip route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INT ROUTING MARK
0 A S 0.0.0.0/0 r XX.XXX.237.254 1 eth..
1 A S 0.0.0.0/0 r YY.YYY.145.193 2 eth.. Voip
…etc
ip firewall mangle print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=forward action=mark-connection new-connection-mark=P2P_conn passthrough=yes p2p=all-p2p limit=1,5
1 chain=forward action=mark-packet new-packet-mark=P2P passthrough=yes connection-mark=P2P_conn limit=1,5
2 chain=prerouting action=mark-routing new-routing-mark=Voip passthrough=no dst-port=10000-20000 protocol=udp
[admin@El Paso Main] >