[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] how to dynamic ip


  • Subject: Re: [Openvpn-users] how to dynamic ip
  • From: "Damian Rivas" <damian@xxxxxxxxxx>
  • Date: Thu, 10 Jan 2008 16:07:47 -0300

Just use Dynamic DNS to use a single domain name for your public dynamic
IP.

Then in the client config file, just use "remote myvpnserver.com",
instead of "remote <IP>".

The Dynamic DNS will resolv "myvpnserver.com" to your public IP, no
matter how many times it changes(that's the joke of Dynamic DNS).

No changes on the server config file are needed.

This is the best solution for you.

Regards.-


-----Mensaje original-----
De: openvpn-users-bounces@xxxxxxxxxxxxxxxxxxxxx
[mailto:openvpn-users-bounces@xxxxxxxxxxxxxxxxxxxxx] En nombre de Wilson
A. Galafassi Jr.
Enviado el: Jueves, 10 de Enero de 2008 01:41 p.m.
Para: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
Asunto: [Openvpn-users] how to dynamic ip


Hello to all.

I have my openvpn server with dynamic ip adsl connection with this
configuration:

mode server
proto udp
port 1194
dev tap
keepalive 10 120
server 10.0.1.0 255.255.255.0
daemon
writepid /var/run/openvpn.pid
comp-lzo
max-clients 10
persist-key
persist-tun
verb 3
mute 20
client-to-client
duplicate-cn
cd /etc/openvpn
tls-server
tls-auth keys/ta.key 0
cipher BF-CBC
ca keys/ca.crt
cert keys/netserver.crt
key keys/netserver.key
dh keys/dh1024.pem
client-config-dir ccd

My question is how to mantain the vpn UP when the server or clients
change the external (ADSL) ip? Is necessary to use some script?

Thanks

Wilson Galafassi

______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users
______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users