Community discussions

MikroTik App
 
vinylmaster96
just joined
Topic Author
Posts: 1
Joined: Mon Jul 25, 2022 4:18 pm

VPN client can't reach main network

Mon Jul 25, 2022 4:27 pm

Hi all, i'm new with MikroTik rOS.

I create OpenVPN with MikroTik, the connection is ok, but i can't reach anything in my LAN.
We have a core switch (ip: 172.16.100.1), we have many subnets (192.168.1.0; 2.0; 4.0; 7.0; etc...).
MikroTik route all subnet in core switch. All VLAN defining in the core switch.

OpenVPN pool: 172.16.1.0/24. How to route all ovpn request in MikroTik to my main network (192.168.1.0)?
The ovpn clients only need the main network reach.

Thx,
R.
 
rbuserdl
Member Candidate
Member Candidate
Posts: 270
Joined: Thu Mar 22, 2018 1:53 pm

Re: VPN client can't reach main network

Tue Jul 26, 2022 1:34 am

Hello!

I think you will need the following:
* Add the route to 192.168.1.0/24 in the VPN client config files
* Add a route in the Mikrotik router for 192.168.1.0/24 (192.168.1.0/24 as destination, 172.16.100.1 as gateway). I undestand you already had this
* Add a route in the Core switch to reach the VPN client network through the Mikrotik router (For the way back)-

Regards,
Damián

Who is online

Users browsing this forum: No registered users and 10 guests