i have 2 want interfaces
WAN1= 212.93.x.x
WAN2= 192.168.1.4 ===throw ADSL router
ok i did it this way
1st i do mangle
chain=prerouting src-address=10.5.50.0/24 protocol=tcp src-port=0-65535 dst-port=0-20000 action=mark-routing new-routing-mark=adsl
2nd step i added new gateway for the wan2
and i ues mark as adsl
both of gateway now is active static
my router totally ignor this
is there anything to do with the NAT coz i just have maseq only
i post those kind of question manytimes but i didnt get any reply
I HOPE ANY ONE ACCESS HERE TO write anything if he dont know just post i dont know
I assume you want to send ports 1 - 20000 through the ADSL? You have mangled the traffic now goto policy routing and add the adsl mark traffic to the other gateway by adding another route table and sending your marked traffic through that route.
sorry but
try to do mangle the proxy reqest and specify the gateway
client ----- webproxy------transparent proxy----wan2 (adsl)
i want only the web-proxy requests to go throw the WAN2
and the rest of connections goes throw WAN1(which is satellite) like p2p connection and other services
so i keep the wan1 as defult connection but i have to specify routing mark for the WAN2… untill now i m right?
my web-proxy port is 3128
traspearent proxy is 212.93.193.87 port 8080
please anyone know how to solve this puzzel let me know