Community discussions

 
MikroTikFan
Member Candidate
Member Candidate
Topic Author
Posts: 196
Joined: Sat Aug 02, 2014 1:13 am

How to route traffic to VPN thru other linux machine

Fri Dec 18, 2015 6:38 pm

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 ?
 
pe1chl
Forum Guru
Forum Guru
Posts: 5912
Joined: Mon Jun 08, 2015 12:09 pm

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

Fri Dec 18, 2015 8:54 pm

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.
 
MikroTikFan
Member Candidate
Member Candidate
Topic Author
Posts: 196
Joined: Sat Aug 02, 2014 1:13 am

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

Sat Dec 19, 2015 12:44 am

Sorry, this line I have captured when this was disabled.

If this is enabled still my traffic is not routed.

Who is online

Users browsing this forum: No registered users and 99 guests