Community discussions

MikroTik App
 
vellanix
just joined
Topic Author
Posts: 3
Joined: Wed May 20, 2020 3:19 pm

How to reach address in routerOS openvon client

Thu May 21, 2020 3:47 pm

I have a lte router with openvpn client connected to my opevpn server.
The tunnel is 10.8.0.0/24 wit the server (CentOS 7) as 10.8.0.1 and the mikrotik 10.8.0.2.

How can I reach the other addresses on the router 192.168.1.0/24 from the Openvpn server?

Thank you
Carlo
 
User avatar
mutluit
Forum Veteran
Forum Veteran
Posts: 821
Joined: Wed Mar 25, 2020 4:04 am

Re: How to reach address in routerOS openvon client

Thu May 21, 2020 7:15 pm

What does "/ip route print" say?
Have you tried adding static routes either via CLI or in GUI?
A simple drawing of the network topology would be useful.
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: How to reach address in routerOS openvon client

Thu May 21, 2020 7:23 pm

Look at the server implementation of OpenVPN as at a separate router. Adding a route to the client's LAN subnet to the server's kernel routing table via an OpenVPN virtual interface just tells the kernel to send the packets for these addresses to OpenVPN, but you have to tell OpenVPN itself which subnet(s) are reachable through which tunnels (clients). Check the role of the iroute option in OpenVPN's client configuration file.

Who is online

Users browsing this forum: GoogleOther [Bot], kosyot, strods and 86 guests