Hello and sorry for my bad English,
we have two ISP’s (ISP1 and ISP2) and we wan to use them for different purposes.
ISP1 will be used for our WEB server(192.168.0.123).
ISP2 will be used for all other internet traffic from our office.
Maybe in these forums there is such topic? I tried to use search without luck.
It is possible with policy-routing.
-
Add mangle rule for HTTP traffic with action=mark-routing.
-
Add two routes,
- one default gateway for other traffic;
- second gateway for HTTP traffic with routing-mark=http_from_mangle;
And what about NAT? Now i am using two routers. MT router is configured only with one ISP for http server and later i will connect second ISP
Now my nat is:
chain=srcnat action=masquerade out-interface=ISP1