Community discussions

MikroTik App
 
sisal
just joined
Topic Author
Posts: 5
Joined: Wed Jul 10, 2013 5:39 pm

IPSec: Manually specify an IP for local ID

Tue Nov 05, 2013 8:49 am

Hi

I need to manually specify an IP address for the local ID of an IPSec VPN.
The only available field for specifying a local ID manually is the FQDN.

Is there a way to do this?

sis
 
Fady
just joined
Posts: 5
Joined: Sun Nov 10, 2013 10:18 pm

Re: IPSec: Manually specify an IP for local ID

Sun Nov 10, 2013 11:27 pm

You can use a script to resolve the name periodicaly and set the IP in the IPSEC upon change.
 
User avatar
tomaskir
Trainer
Trainer
Posts: 1162
Joined: Sat Sep 24, 2011 2:32 pm
Location: Slovakia

Re: IPSec: Manually specify an IP for local ID

Mon Nov 11, 2013 4:17 pm

If what you need is to use IPSec with a dynamic IP (unclear from your post), look at this script on the wiki:
http://wiki.mikrotik.com/wiki/IPSec_Policy_Dynamic