Community discussions

MikroTik App
 
pedra
just joined
Topic Author
Posts: 5
Joined: Tue Feb 27, 2018 10:41 pm

VPN home gateway

Tue Feb 27, 2018 11:08 pm

Hi all,
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
Image

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:
chain=prerouting action=mark-routing new-routing-mark=VPN passthrough=yes src-address=10.0.0.165 log=no log-prefix=""
and an ip route
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