Community discussions

MikroTik App
 
Peterjump
just joined
Topic Author
Posts: 6
Joined: Mon Oct 25, 2021 9:35 pm

Ovpn connection - problem with other subnet

Mon Oct 25, 2021 9:58 pm

Hi,
I bought a hAP ac3 for the company and needed to create a VPN connection for external workers.
Everything supposedly worked, but it only works properly when the field for the VPN is from the same subnet as the network in the company.
Router ip 192.168.1.1 subnet in office 192.168.1.0/24

I set in the IP pool - 192.168.1.150-160 for VPN Clients.
PPP -> profiles I set: local: 192.168.1.1, remote add: Vpn pool (above).
I set up proxy-arp in the bridge
Firewall -> Net - I set the chain: srcnat, src.add: 192.168.1.0/24, action - masqarade
And here is everything ok.
I get the IP address from the pool, I can ping and I have access to network devices in the office.

But I set up a different pool for VPN clients in the beginning.
Ip pool: 10.0.0.1-20 for VPN clients
And here's the problem, the connection is established, I get the address 10.0.0.1 and I can only ping the router address (192.168.1.1) nothing else on the 192.168.1.0/24 network I can't.
Proxy-arp is on all the time, I also added Firewall-> Nat masqarade for VPN subnet (10.0.0.0/24)

What am I doing wrong that I cannot see these networks on the client computer?
Missing route to the 192.168.1.0/24 network? Where should I add it if this is the problem?
 
Peterjump
just joined
Topic Author
Posts: 6
Joined: Mon Oct 25, 2021 9:35 pm

Re: Ovpn connection - problem with other subnet

Wed Oct 27, 2021 12:23 pm

Any ideas?

Who is online

Users browsing this forum: ACHim, Bing [Bot], guemat, uxertxo, Wlad3 and 53 guests