Community discussions

MikroTik App
 
Technotrance
just joined
Topic Author
Posts: 2
Joined: Mon Jan 24, 2022 10:11 am

Local network machines do not see the network behind the OpenVPN server. [solved]

Mon Jan 24, 2022 10:20 am

Hello!
I have a Mikrotik with RouterOS v6.44.5. A small test network, the scheme of which is attached to the post.
OpenVPN client is configured on the Mikrotik. Ethernet mode. The connection works. The Mikrotik itself sees the network 10.0.0.0/24. But PC-1 and PC-2 don't see this network. I deleted all the rules on the firewall and left only the masquerade. Can you tell me where to go to get PC-1 and PC-2 to also see the network 10.0.0.0/24?
Note: If I run the command "ping 10.0.0.100 -t" on PC-1 or PC-2 and reboot the Mikrotik, then the ping starts to pass. That is, it seems that when Mikrotik is loaded, the firewall is not loaded immediately, and while it is not loaded, the ping passes. But when the firewall is loaded, this constant ping begins to be regarded as an established-connection and continues to work until I stop it. But if I stop the ping then it won't happen again. And this despite the fact that all the rules on the firewall (except masquerade), I removed.
You do not have the required permissions to view the files attached to this post.
Last edited by Technotrance on Tue Jan 25, 2022 10:27 am, edited 1 time in total.
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: Local network machines do not see the network behind the OpenVPN server.

Mon Jan 24, 2022 7:09 pm

Nice image, thumbs up for that. But if you think there's something wrong with your config, if would be good idea to show it too.
/export hide-sensitive file=myconfig
And post content of myconfig.rsc in code tags.
 
Technotrance
just joined
Topic Author
Posts: 2
Joined: Mon Jan 24, 2022 10:11 am

Re: Local network machines do not see the network behind the OpenVPN server.

Tue Jan 25, 2022 10:26 am

The question is no longer relevant. In the configuration of OpenVPN server I added a line:
route 192.168.88.0 255.255.255.0 10.0.0.11
That's all, everything was fine.
10.0.0.11 is the address that is assigned to the Mikrotik in the VPN tunnel.

Who is online

Users browsing this forum: Bing [Bot], jaclaz, sebol1204 and 51 guests