Answer the question
In order to leave comments, you need to log in
Mikrotik falls off vpn interface. Why?
I have configured openvpn on 2 microticks (RB2011UiAS-2HnD), one acts as a server, the second, respectively, as a client.
So the current on Mikrotik which is server-open vpna falls off the interface in routes and in the nat rule.
It looks like this:
In the getway line, spf1 is set instead of ovpn-opvncall.
This happens when you either change the Mikrotik settings (but not always) or the Internet disappears or happens by itself ..
You have to go in with your hands and select ovpn-opvncall. Why is this happening? Why does it reset the interface on the gateway line?
Answer the question
In order to leave comments, you need to log in
At me such is observed in dkhtsp on one of interfaces. Falls off once a month though burst)
Good day!
I have the same schema.
192.168.0.0/24 this network should be available after the connection is established.
As a solution to the problem, I propose to do this:
1) create a profile for the openvpn connection, if it does not already exist
2) in this profile, register on the Scripts tab:
On UP:
/ip route enable [find dst-address=192.168.0.0/24 and gateway= to_vbox and distance >=1];
On Down:
/ip route disable [find dst-address=192.168.0.0/24 and gateway= to_vbox and distance >=1];
How it works:
When an openvpn connection is established on the client, the route 192.168.0.0/24 is added via the to_vbox interface .
When the connection is broken, the route is simply disconnected, and when it is restored, everything works again and nothing needs to be edited.
In your case, replace to_vbox with ovpn-opvncall .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question