Page 1 of 1

Open VPN

Posted: Sun May 01, 2022 5:43 pm
by gsmphoenix
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

Re: Open VPN

Posted: Sun May 01, 2022 6:38 pm
by pe1chl
The MikroTik OpenVPN cannot do that.

Re: Open VPN

Posted: Sun May 01, 2022 7:19 pm
by gsmphoenix
cant these be over comed via routing ?

Re: Open VPN

Posted: Sun May 01, 2022 7:23 pm
by pe1chl
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.

Re: Open VPN

Posted: Sun May 01, 2022 7:25 pm
by Sob
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

Re: Open VPN

Posted: Sun May 01, 2022 9:56 pm
by own3r1138
route 192.168.0.0 255.255.255.0
route 192.168.3.0 255.255.255.0
redirect-gateway def1