Hello,
since a week I’ve got a new daily routine. When I come home from work, I try to configure a VPN on my Mikrotik hap ac2, to connect from my Android and after a couple of hours I cry my self to sleep, just to repeat it on the next day. So today I decided to ask here for some help.
So about my network. I use my IPS’s modem in a bridged mode and dial in with my Mikrotik Router (RouterOS v.6.44.1) via a pppoe interface on the WAN port.
My network is configured as 192.168.0.0/24.
The Router is also set as the gateway with 192.168.0.1.
I use a pihole as a DNS-Server on 192.168.0.3.
l2tp config

ipsec config

My goal is to connect from my Android 10 phone from anywhere into my local network via l2tp/ipsec psk with the assigned ip 192.168.0.222.
Best Regards
Hi,
The problem with Mikrotik forum is that, probably, 1000 people have already asked the same question before you. For this particular topic for sure you will find a lot of threads. Here is one where I explain, step by step, how to connect your Android to your ROS:
http://forum.mikrotik.com/t/creating-l2tp-server/135651/1
Let me know if you succeeded.
Thank you for the link techlord.
Unfortunately it did not work out for me, like all the other tutorials that I found.
I do not even get a log information about could have been wrong.
Sorry to hear that!
Are you sure your firewall permit rules ( for udp 500, 4500, 1701) are above the deny policy? Do the counters increment when you press connect on your mobile?
Surely there must be something in the logs…enable ipsec logs.