Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2010 15:11:30 +0200
From:      claudiu vasadi <claudiu.vasadi@gmail.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   ipsec with dynamic IP
Message-ID:  <AANLkTikUZSQqo0MDRxYDfcExipMocnYcjXGxVGsvKvva@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello fellas,

I have 2x 8.1-RELEASE machines and I need to create a vpn between them. I've
been reading the handbook on this subject and following the example there, I
was able to establish a link.

The only problem is that both my machines have dynamic (external) IP.

My way of "solving" this little issue would be to create a script that would
check each machine for a new external IP and if it finds it, replace it
wherever it is needed (gif interface, racoon conf. file)

My question to you is if there is another, cleaner, way of achieving this
and if any of you faced the same situation, how did you come to solve it ?

Also, is there a way to make the gif interface persistent over reboots ? I
couldn;t find any so again, a script comes to mind.

-- 
Best regards,
Claudiu Vasadi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikUZSQqo0MDRxYDfcExipMocnYcjXGxVGsvKvva>