i'm try to route a single IP (10.0.0.165) to a raspberry (10.0.0.20) that is used as VPN Gateway to a VPS
the problem is that the client is very very very slow, no problem if i set the raspberry like gateway of the client
Maybe the problem is due to the fact that the connection goes out and returns through the router with the same ip?
I have configured a mangle rule:
Code: Select all
chain=prerouting action=mark-routing new-routing-mark=VPN passthrough=yes src-address=10.0.0.165 log=no log-prefix=""
Code: Select all
dst-address=0.0.0.0/0 gateway=10.0.0.20 gateway-status=10.0.0.20 reachable via bridge distance=1 scope=30 target-scope=10 routing-mark=VPN