Community discussions

MikroTik App
 
teejay3
just joined
Topic Author
Posts: 2
Joined: Fri Jan 31, 2014 7:36 pm

OpenVPN Client access to LAN

Sat Nov 07, 2020 4:10 pm

Here is my configuration:
1. *NIX server running OpenVPN Server with tun0 device with address 10.8.0.1
2. Home network with Mikrotik router running OpenVPN client with address 10.8.0.2 and LAN 192.168.1.0/24

Right now server (10.8.0.1) able to ping client router with 10.8.0.2 but not client network. All LAN clients able to reach server with 10.8.0.1.

How to make LAN accessible from server?

On server i'am added routing entry for lan: route add 192.168.1.0/24 10.8.0.2

On MT router added srcnat:
chain=srcnat action=src-nat to-addresses=10.8.0.2 src-address=192.168.1.0/24
out-interface=ovpn-out1 log=no log-prefix=""

Who is online

Users browsing this forum: aesmith, rolands022, winchymatt, yreks, ZsoltM and 55 guests