Community discussions

MikroTik App
 
rustyfrog
just joined
Topic Author
Posts: 2
Joined: Tue Apr 18, 2023 6:23 pm

VPN ipsec IKEv2 NAT configuration

Tue Apr 18, 2023 6:35 pm

My MikroTik is set up behind my ISP router. It is serving as a switch and wifi AP. All ports are bridged. Its IP in the local network is 192.168.1.35 (its gateway is 192.168.1.1). Recently I wanted to setup a VPN ipsec IKEv2 server on it for local clients. I configured it successfully (well almost) as well as the Android based client.

When I connect my Android client to the VPN it connect successfully. Unfortunately the client doesn't have the internet access. In the Active Peers I can see the VPN connection is setup properly.
Local address is: 192.168.1.35
Remote address: 192.168.1.11 (probably assigned to Android client by DHCP)
Dynamic address: 192.168.2.100 (seems proper as I reserved 192.168.2.10-192.168.2.100 pool for the VPN connection)

I played with NAT/Firewall setup to no avail. Anyone has any suggestions? How shall I set it up properly? How could I investigate the issue?
 
rustyfrog
just joined
Topic Author
Posts: 2
Joined: Tue Apr 18, 2023 6:23 pm

Re: VPN ipsec IKEv2 NAT configuration

Sat Apr 22, 2023 1:06 pm

OK. I got it resolved. It wasn't NAT issue. That was wrongly setup DNS. It works OK now.

Who is online

Users browsing this forum: No registered users and 24 guests