ipsec with dynamic IP

claudiu vasadi claudiu.vasadi at gmail.com
Wed Sep 29 13:11:32 UTC 2010

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

More information about the freebsd-questions mailing list