Community discussions

MUM Europe 2020
 
TFujiwara
just joined
Topic Author
Posts: 1
Joined: Wed Dec 04, 2019 6:20 pm

OpenVPN into LAN

Wed Dec 04, 2019 6:50 pm

Hi, i've configured an OpenVPN Client on a Mikrotik to connect to a OpenVPN Gentoo server.
I can reach through ping the three networks of the server and another servers on tun1 and tun2 network, but i cannot reach the Mikrotik's LAN hosts, only the router default IP.

IP of Mikrotik: 192.168.88.1
DHCP IP Pool192.168.88.10-192.168.88.254

Can anyone help me to solve this? Regards.
 
sindy
Forum Guru
Forum Guru
Posts: 4189
Joined: Mon Dec 04, 2017 9:19 pm

Re: OpenVPN into LAN

Thu Dec 05, 2019 12:03 am

Check for the purpose of the iroute directive in client configuration file at the openvpn server. It's not enough to you tell the Gentoo kernel that the Mikrotik LAN subnet is accessible via the OpenVPN TUN interface, you also have to tell the OpenVPN server process through which client connection that subnet is accessible.
Instead of writing novels, post /export hide-sensitive. Use find&replace in your favourite text editor to systematically replace all occurrences of each public IP address potentially identifying you by a distinctive pattern such as my.public.ip.1.

Who is online

Users browsing this forum: No registered users and 70 guests