[SOLVED] APIPA address when starting openvpn service

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
waaalex
OpenVpn Newbie
Posts: 8
Joined: Mon Apr 18, 2011 8:52 am

[SOLVED] APIPA address when starting openvpn service

Post by waaalex » Wed Apr 27, 2011 10:22 am

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
Last edited by waaalex on Fri May 06, 2011 1:04 pm, edited 1 time in total.

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: APIPA address when starting openvpn service

Post by janjust » Wed Apr 27, 2011 10:49 am

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 .

waaalex
OpenVpn Newbie
Posts: 8
Joined: Mon Apr 18, 2011 8:52 am

Re: APIPA address when starting openvpn service

Post by waaalex » Wed Apr 27, 2011 12:28 pm

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

Post Reply