(Solved) VPN from Android/iOS to RouterOS with both sides dynamic IPs (DynDNS)
Posted: Sun Jul 10, 2016 3:35 pm
Hello,
i have set up my new Mikrotik router and configured vlan, network, firewall already. So all is working fine ... only VPN is my problem which i get not running.
I try to use L2TP over IPsec and IPsec Xauth but no success with both. I see incoming informations on the log but L2TP seems getting no data through the channel and stops after some trys... IPsec Xauth is active on Android phone a short time 2 secs or so and then closed the connection. On Remote peer i see the Source IP was 0.0.0.0 still....
My config:
Internet has a dynamic IP with DynDNS using it... so i connect to that DNS entry...
A Fritzbox from the local provider is used as internet Dial in on internal network 192.168.10.254 .... the Mikrotik has it's Eth1 on 192.168.10.1 and the Fritzbox forwarded all as Exposed host to the 192.168.10.1 (Mikrotik)
My internal network where i want to connect the VPN to (Android and iOS phones) is 192.168.11.0/24 (Eth2 / VLANx)
Which is here the best solution to get VPN running and is there any example config i can use for this setup with both sides have dynamic IP's?
Thanks a lot.
Regards,
Ben
i have set up my new Mikrotik router and configured vlan, network, firewall already. So all is working fine ... only VPN is my problem which i get not running.
I try to use L2TP over IPsec and IPsec Xauth but no success with both. I see incoming informations on the log but L2TP seems getting no data through the channel and stops after some trys... IPsec Xauth is active on Android phone a short time 2 secs or so and then closed the connection. On Remote peer i see the Source IP was 0.0.0.0 still....
My config:
Internet has a dynamic IP with DynDNS using it... so i connect to that DNS entry...
A Fritzbox from the local provider is used as internet Dial in on internal network 192.168.10.254 .... the Mikrotik has it's Eth1 on 192.168.10.1 and the Fritzbox forwarded all as Exposed host to the 192.168.10.1 (Mikrotik)
My internal network where i want to connect the VPN to (Android and iOS phones) is 192.168.11.0/24 (Eth2 / VLANx)
Which is here the best solution to get VPN running and is there any example config i can use for this setup with both sides have dynamic IP's?
Thanks a lot.
Regards,
Ben