Community discussions

 
kocandino
just joined
Topic Author
Posts: 8
Joined: Sat Nov 07, 2015 6:44 am

Open VPN Client - LAN routing

Fri Sep 06, 2019 8:21 am

Hello everybody,

I need your help.

On my MikroTik Ruterboard I have some VLANs:
vlan10 10.10.10.0/24
vlan20 10.10.20.0/24
vlan30 10.10.30.0/24
vlan40 10.10.40.0/24

From the LAN, I can access from each VLANs to access the other VLANs.

On my Mikrotik router I set OpenVPN which I use to remote access on mu Local network.

VPN connection always works very well.

In OpenVPN client on my Mikrotik I set:

Local Address: 10.10.10.110

Remote Adress: 10.10.10.111

When I get VPN connection with OpenVPN client, I can access to all device from vlan10 or (10.10.10.0/24)

But from OpenVPN remote connection I cant access to devices from other VLANs ir networks.

In Router Option I tried to adjust routing: 10.10.10.111 10.10.20.0/24 1 , but still can't access other devices from other network (vlan20).

In the firewall I have not ruls that block any communication.

Can you help to me, or give to me some advice what I must set up on Mikrotik routerboard or config file on OpenVPN client, how I can access to devices from remote to every VLAN?
You do not have the required permissions to view the files attached to this post.
 
Sob
Forum Guru
Forum Guru
Posts: 4545
Joined: Mon Apr 20, 2009 9:11 pm

Re: Open VPN Client - LAN routing

Sat Sep 07, 2019 1:38 am

MikroTik's OpenVPN server doesn't push routes to clients, you need to add them to client's config file like this:

route 10.10.10.0 255.255.255.0
route 10.10.20.0 255.255.255.0
...
People who quote full posts should be spanked with ethernet cable. Some exceptions for multi-topic threads may apply.
 
kocandino
just joined
Topic Author
Posts: 8
Joined: Sat Nov 07, 2015 6:44 am

Re: Open VPN Client - LAN routing

Mon Sep 09, 2019 8:30 am

Thank you very much

Based on your instructions I re-configured my Opem VPN Config File.

When I add routes for other networks (subnets) i can access via Open VPN client to all other networks.

Best Regards,
Dino

Who is online

Users browsing this forum: No registered users and 15 guests