Community discussions

MikroTik App
 
gsmphoenix
just joined
Topic Author
Posts: 5
Joined: Wed Apr 15, 2020 12:32 am

Open VPN

Sun May 01, 2022 5:43 pm

Hi all

I just need help with accessing multiple subnet range over OpenVPN.
1. My OpenVPN can connect with problem.
2. I have to subnets 192.168.0.0/24 & 192.168.3.1/24

I need client to be able to reach both ip range once connect

please help
 
pe1chl
Forum Guru
Forum Guru
Posts: 10183
Joined: Mon Jun 08, 2015 12:09 pm

Re: Open VPN

Sun May 01, 2022 6:38 pm

The MikroTik OpenVPN cannot do that.
 
gsmphoenix
just joined
Topic Author
Posts: 5
Joined: Wed Apr 15, 2020 12:32 am

Re: Open VPN

Sun May 01, 2022 7:19 pm

cant these be over comed via routing ?
 
pe1chl
Forum Guru
Forum Guru
Posts: 10183
Joined: Mon Jun 08, 2015 12:09 pm

Re: Open VPN

Sun May 01, 2022 7:23 pm

Sure but you would have to do that yourself, by adding a route on the client every time you connect.
Normally OpenVPN can push routes to clients, and RouterOS cannot do that.
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: Open VPN

Sun May 01, 2022 7:25 pm

You can put routes in client's config file:
route 192.168.0.0 255.255.255.0
route 192.168.3.0 255.255.255.0
 
User avatar
own3r1138
Long time Member
Long time Member
Posts: 680
Joined: Sun Feb 14, 2021 12:33 am
Location: Pleiades
Contact:

Re: Open VPN

Sun May 01, 2022 9:56 pm

route 192.168.0.0 255.255.255.0
route 192.168.3.0 255.255.255.0
redirect-gateway def1

Who is online

Users browsing this forum: Google [Bot], Renfrew and 56 guests