Page 1 of 1

How to route traffic to VPN thru other linux machine

Posted: Fri Dec 18, 2015 6:38 pm
by MikroTikFan
Because currently on Mikrotik is impossible to establish UDP openvpn connection I have build solution based on RasPi+Mikrotik (main router).

My RasPi has Debian and already established UDP openvpn connection.
RasPi has ip:192.168.100.105 and connect to remote VPN connection172.16.199.99.
I tried to Route this traffic using ip -> route -> print

X S 172.16.199.0/24 192.168.100.105

Unfortunately this is not working ;-(

In this case if I wana use other linux system as a gateway to vpn should I install any additional package ?

How to run this configuration ?

Re: How to route traffic to VPN thru other linux machine

Posted: Fri Dec 18, 2015 8:54 pm
by pe1chl
You see the X? That means your route is disabled.
This means you have to enable it. Any config command in the MikroTik can be disabled to temporarily
make it inactive without deleting it (so it can be enabled again later)
When it is active it shows A.

Re: How to route traffic to VPN thru other linux machine

Posted: Sat Dec 19, 2015 12:44 am
by MikroTikFan
Sorry, this line I have captured when this was disabled.

If this is enabled still my traffic is not routed.