Hallo ! Did anyone build an working ipsec tunnel with dyndns address here ?
Thanks
Hallo ! Did anyone build an working ipsec tunnel with dyndns address here ?
Thanks
Hi,
Actually I didn’t get it to work, but that might have other reasons.
Basically it is possible as described here:
http://gregsowell.com/?p=1523
Mind the changed notation for port in the scripts in newer RouterOS versions (or just omit the port).
So the idea is to have a script resolving the IP addresses and then update the IPSec policy and the IPSec peer.
If only your end is dynamic, also this might work:
http://wiki.mikrotik.com/wiki/IPSec_Policy_Dynamic
Maybe it would be a good idea to combine both scripts, e.g. use the if clause with disable/enable from Tomas’ script in Greg’s script.
Please report back if it works.
Kind regards,
iBlueDragon