Page 1 of 1

[SOLVED] APIPA address when starting openvpn service

Posted: Wed Apr 27, 2011 10:22 am
by waaalex
Hello,
I've got a new problem on openvpn server on windows 2008 standart edition x64.

When i start openvpn service, TUN/TAP adapter get an APIPA address (169.254....)
But when i start openvpn GUI and connect, i've got 10.8.0.1/255.255.255.252.
Clients can't connect but it may be a problem with router (i'll check that later)

My conf :

port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.1.0 255.255.255.0"
comp-lzo
max-clients 3
persist-key
persist-tun
verb 3


thank you

Re: APIPA address when starting openvpn service

Posted: Wed Apr 27, 2011 10:49 am
by janjust
other users have reported similar issues on Win7 ; normally a restart of openvpn solves it. As a work-around you could try adding

Code: Select all

--tap-sleep n
where <n> = 2 .

Re: APIPA address when starting openvpn service

Posted: Wed Apr 27, 2011 12:28 pm
by waaalex
I have had tap-sleep option but it doesn't worked.
but when i've delete this add and reboot openvpn it worked..

Ok maybe i'm tired :mrgreen:
Thank you for help