Community discussions

MikroTik App
 
User202406071
just joined
Topic Author
Posts: 2
Joined: Fri Jun 07, 2024 12:57 pm

openvpn client connecting to server with multiple IP addresses

Fri Jun 07, 2024 1:17 pm

Hi,

I have an openvpn server in our head office which remotes can connect to via multiple ISPs for redundancy. When connecting PC's we just put multiple remote lines in the ovpn file like so...

remote <ip#1> <port#>
remote <ip#2> <port#>
remote <ip#3> <port#>

The idea is if the first link is down, the openvpn client on the pc can just try again via the second link and then the third link and back to the 1st link again... i was trying to do this with routeros via the console but the only the last IP is saved. Is there any other way to have something like this in routeros?

Thanks in advance
 
User avatar
own3r1138
Long time Member
Long time Member
Posts: 696
Joined: Sun Feb 14, 2021 12:33 am
Location: Pleiades
Contact:

Re: openvpn client connecting to server with multiple IP addresses

Mon Jun 10, 2024 8:26 pm

You could create three separate ovpn clients with the same routing table and use the distance in the route list for failover.
 
User202406071
just joined
Topic Author
Posts: 2
Joined: Fri Jun 07, 2024 12:57 pm

Re: openvpn client connecting to server with multiple IP addresses

Tue Jun 11, 2024 4:02 pm

You could create three separate ovpn clients with the same routing table and use the distance in the route list for failover.
will try this, thanks!!

Who is online

Users browsing this forum: charl123e and 11 guests