Hi All,
I have ADSL + FO connection, and i wish to Route ALL traffic other than, say, 5050, 443 (for Yahoo Messenger), to ADSL.
Tried mangle traffic uses ports 5050, 443, then route mark, doesn’t work.
Tried drop all connection that uses 5050, 443 in ADSL’s ether also not working.
Any idea, thanks!
normis
October 18, 2007, 7:21am
2
you must be doing something wrong, as this is supposed to work. use mangle to set routing marks, then in routing add new routes based on those marks. paste your configs so we can check
Hi,
Here are some codes that i use (currently disabled).
In Firewall Mangle:
8 X chain=prerouting action=mark-routing new-routing-mark=Priority
passthrough=yes src-address=192.168.18.9 dst-port=443 protocol=tcp
dst-address-list=!SEL
9 X chain=prerouting action=mark-routing new-routing-mark=Priority
passthrough=yes src-address=192.168.18.9 dst-port=5050 protocol=tcp
dst-address-list=!SEL
IP Route
Got 3 WAN interface: ADSL, FO(default), Other (default-BGP)
1 ether for distribution
0 A S dst-address=0.0.0.0/0 gateway=192.168.110.1 interface=ADSL gateway-state=reachable distance=1
scope=255 target-scope=10 routing-mark=Route_ADSL
1 A S dst-address=0.0.0.0/0 gateway=202.xx.xx.xx interface=FO gateway-state=reachable
distance=0 scope=255 target-scope=10
2 A S dst-address=0.0.0.0/0 gateway=202.xx.xx.xx interface=FO
gateway-state=reachable
distance=1 scope=255 target-scope=10 routing-mark=Priority
3 ADC dst-address=10.0.0.0/24 pref-src=10.0.0.1 interface=Distribution distance=0 scope=10
target-scope=0
4 ADC dst-address=10.2.0.0/23 pref-src=10.2.0.13 interface=Other distance=0 scope=10 target-scope=0
.
....etc
tried passthrough=No in mangles also not working .
Correction to my first post,
“i wish to Route ALL traffic other than, say, 5050, 443 (for Yahoo Messenger), to FO” not ADSL
thanks for checking