Hi All
I am having a strange problem wich is stopping me to create a double wan setup with separate per-ip traffic
I think that the problem is around the automatic default gateway to the remote ip of the 2 pppoe wan connections that is created with a “preferred source” value of one of the 2 pppoe connections.
If i make a static route to let’s say 91.198.22.70 (dyndns’s checkip) then it works ok (i can estabilish the connection to whatever wan i want)
but if i try to route an entire subnet to use the other wan instead of the active (with < distance) i can’t.
I’m proceeding as follows: i create a mangle to mark prerouting new connection with src-address the ip adress i want to drive to the other wan, with dst-address !my-my-entire-subnet, connection mark and pass-through active
i create another equal rule with another ip i want to do the same with on the src-address, mark connection and pass-through
then i create another mangle which takes the marked connections and mark the routing
in ip-routes i then create a new static route with that routing mark to the wan i want to use for those IPs
i think that should be enough? Is it the “same remote address on the 2 wan interfaces” the problem or it is my rules chain???
Can some kind soul help???