can't connect to my openvpn server

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

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

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
jmarshallh
OpenVpn Newbie
Posts: 14
Joined: Wed Apr 03, 2013 1:57 am

can't connect to my openvpn server

Post by jmarshallh » Wed Apr 03, 2013 2:10 am

hi ! new to openvpn, i tried for some days to install an Openvpn server and client ...
what i 've done :

- install openvpn server on Win XP
- install openvpn client on Win 7

install seems good , but when i tried to connect i have the answer in the log "Tap Windows adapter 'MyTap' not found" and crash

here the conf :

SERVER CONF :

port 1194
proto udp
dev tun
dev-node vpn
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.10.0 255.255.255.0"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3


CLIENT CONF

client
dev tun
dev-node vpn
proto udp
remote X.X.X.X 1194 (masked my IP :) )
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
ns-cert-type server
comp-lzo
verb 3



and LOG CLIENT

Wed Apr 03 03:52:33 2013 OpenVPN 2.3.1 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Mar 28 2013
Enter Management Password:
Wed Apr 03 03:52:33 2013 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Wed Apr 03 03:52:33 2013 Need hold release from management interface, waiting...
Wed Apr 03 03:52:33 2013 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Wed Apr 03 03:52:33 2013 MANAGEMENT: CMD 'state on'
Wed Apr 03 03:52:33 2013 MANAGEMENT: CMD 'log all on'
Wed Apr 03 03:52:33 2013 MANAGEMENT: CMD 'hold off'
Wed Apr 03 03:52:33 2013 MANAGEMENT: CMD 'hold release'
Wed Apr 03 03:52:33 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Wed Apr 03 03:52:34 2013 Socket Buffers: R=[8192->8192] S=[8192->8192]
Wed Apr 03 03:52:34 2013 MANAGEMENT: >STATE:1364953954,RESOLVE,,,
Wed Apr 03 03:52:34 2013 UDPv4 link local: [undef]
Wed Apr 03 03:52:34 2013 UDPv4 link remote: [AF_INET]X.X.X.X:1194
Wed Apr 03 03:52:34 2013 MANAGEMENT: >STATE:1364953954,WAIT,,,
Wed Apr 03 03:52:39 2013 MANAGEMENT: >STATE:1364953959,AUTH,,,
Wed Apr 03 03:52:39 2013 TLS: Initial packet from [AF_INET]X.X.X.X:1194, sid=927721bc 8dce7ac7
Wed Apr 03 03:52:40 2013 VERIFY OK: depth=1, C=FR, ST=France, L=Montpellier, O=myname, OU=myname, CN=myname, name=myname, emailAddress=mail@mail.com
Wed Apr 03 03:52:40 2013 VERIFY OK: nsCertType=SERVER
Wed Apr 03 03:52:40 2013 VERIFY OK: depth=0, C=US, ST=FR, L=Montpellier, O=myname, OU=myname, CN=myname, name=myname, emailAddress=mail@mail.com
Wed Apr 03 03:52:40 2013 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Apr 03 03:52:40 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Apr 03 03:52:40 2013 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Apr 03 03:52:40 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Apr 03 03:52:40 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Wed Apr 03 03:52:40 2013 [patcapa] Peer Connection Initiated with [AF_INET]X.X.X.X:1194
Wed Apr 03 03:52:41 2013 MANAGEMENT: >STATE:1364953961,GET_CONFIG,,,
Wed Apr 03 03:52:43 2013 SENT CONTROL [myname]: 'PUSH_REQUEST' (status=1)
Wed Apr 03 03:52:43 2013 PUSH: Received control message: 'PUSH_REPLY,route 192.168.10.0 255.255.255.0,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Wed Apr 03 03:52:43 2013 OPTIONS IMPORT: timers and/or timeouts modified
Wed Apr 03 03:52:43 2013 OPTIONS IMPORT: --ifconfig/up options modified
Wed Apr 03 03:52:43 2013 OPTIONS IMPORT: route options modified
Wed Apr 03 03:52:43 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Wed Apr 03 03:52:43 2013 MANAGEMENT: >STATE:1364953963,ASSIGN_IP,,10.8.0.6,
Wed Apr 03 03:52:43 2013 open_tun, tt->ipv6=0
Wed Apr 03 03:52:43 2013 MANAGEMENT: Client disconnected
Wed Apr 03 03:52:43 2013 TAP-Windows adapter 'vpn' not found
Wed Apr 03 03:52:43 2013 Exiting due to fatal error





Please I Need Help
I try to understand but failed !
Thanks

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: can't connect to my openvpn server

Post by maikcat » Wed Apr 03, 2013 6:20 am

did you renamed your TAP interface to vpn? (from local area connection X)

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

jmarshallh
OpenVpn Newbie
Posts: 14
Joined: Wed Apr 03, 2013 1:57 am

Re: can't connect to my openvpn server

Post by jmarshallh » Wed Apr 03, 2013 12:01 pm

sure !

right click, rename ..

but in the SERVER LOG, TAP interface doesn't appears as "vpn" but as Windows TAP interface

...
thanks for your answer

jmarshallh
OpenVpn Newbie
Posts: 14
Joined: Wed Apr 03, 2013 1:57 am

Re: can't connect to my openvpn server

Post by jmarshallh » Wed Apr 03, 2013 12:22 pm

here the SERVER LOG when i tried a connexion :

Wed Apr 03 14:10:53 2013 OpenVPN 2.3.1 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [P
KCS11] [eurephia] [IPv6] built on Mar 28 2013
Wed Apr 03 14:10:53 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or hig
her to call user-defined scripts or executables
Wed Apr 03 14:10:53 2013 Diffie-Hellman initialized with 1024 bit key
Wed Apr 03 14:10:53 2013 Socket Buffers: R=[8192->8192] S=[8192->8192]
Wed Apr 03 14:10:53 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Wed Apr 03 14:10:53 2013 open_tun, tt->ipv6=0
Wed Apr 03 14:10:53 2013 TAP-WIN32 device [vpn] opened: \\.\Global\{1D1990EC-DEE
6-4B00-8421-A2B4441A3A2D}.tap
Wed Apr 03 14:10:53 2013 TAP-Windows Driver Version 9.9
Wed Apr 03 14:10:53 2013 Notified TAP-Windows driver to set a DHCP IP/netmask of
10.8.0.1/255.255.255.252 on interface {1D1990EC-DEE6-4B00-8421-A2B4441A3A2D} [D
HCP-serv: 10.8.0.2, lease-time: 31536000]
Wed Apr 03 14:10:53 2013 Sleeping for 10 seconds...
Wed Apr 03 14:11:03 2013 NOTE: FlushIpNetTable failed on interface [3] {1D1990EC
-DEE6-4B00-8421-A2B4441A3A2D} (status=259) : Aucune donnée n'est disponible.
Wed Apr 03 14:11:03 2013 C:\WINDOWS\system32\route.exe ADD 10.8.0.0 MASK 255.255
.255.0 10.8.0.2
Wed Apr 03 14:11:03 2013 Route addition via IPAPI succeeded [adaptive]
Wed Apr 03 14:11:03 2013 UDPv4 link local (bound): [undef]
Wed Apr 03 14:11:03 2013 UDPv4 link remote: [undef]
Wed Apr 03 14:11:03 2013 MULTI: multi_init called, r=256 v=256
Wed Apr 03 14:11:03 2013 IFCONFIG POOL: base=10.8.0.4 size=62, ipv6=0
Wed Apr 03 14:11:03 2013 ifconfig_pool_read(), in='myname,10.8.0.4', TODO: IPv6

Wed Apr 03 14:11:03 2013 succeeded -> ifconfig_pool_set()
Wed Apr 03 14:11:03 2013 IFCONFIG POOL LIST
Wed Apr 03 14:11:03 2013 myname,10.8.0.4
Wed Apr 03 14:11:03 2013 Initialization Sequence Completed
Wed Apr 03 14:11:03 2013 X.X.X.X:62108 TLS: Initial packet from [AF_INET]
X.X.X.X:62108, sid=a0f391e6 bdeacad7
Wed Apr 03 14:11:04 2013 X.X.X.X:62108 VERIFY OK: depth=1, C=FR, ST=France
, L=Montpellier, O=myname, OU=myname, CN=myname, name=myname, emailAddress=
mail@mail.com
Wed Apr 03 14:11:04 2013 X.X.X.X:62108 VERIFY OK: depth=0, C=FR, ST=France
, L=Montpellier, O=myname, OU=myname, CN=myname, name=myname, emailAddress=
mail@mail.com
Wed Apr 03 14:11:04 2013 X.X.X.X:62108 Data Channel Encrypt: Cipher 'BF-CB
C' initialized with 128 bit key
Wed Apr 03 14:11:04 2013 X.X.X.X:62108 Data Channel Encrypt: Using 160 bit
message hash 'SHA1' for HMAC authentication
Wed Apr 03 14:11:04 2013 X.X.X.X:62108 Data Channel Decrypt: Cipher 'BF-CB
C' initialized with 128 bit key
Wed Apr 03 14:11:04 2013 X.X.X.X:62108 Data Channel Decrypt: Using 160 bit
message hash 'SHA1' for HMAC authentication
Wed Apr 03 14:11:04 2013 X.X.X.X:62108 Control Channel: TLSv1, cipher TLSv
1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Wed Apr 03 14:11:04 2013 X.X.X.X:62108 [myname] Peer Connection Initiated
with [AF_INET]X.X.X.X:62108
Wed Apr 03 14:11:04 2013 myname/X.X.X.X:62108 MULTI_sva: pool returned IP
v4=10.8.0.6, IPv6=(Not enabled)
Wed Apr 03 14:11:04 2013 myname/X.X.X.X:62108 MULTI: Learn: 10.8.0.6 -> p
atcapa/X.X.X.X:62108
Wed Apr 03 14:11:04 2013 myname/X.X.X.X:62108 MULTI: primary virtual IP f
or myname/X.X.X.X:62108: 10.8.0.6
Wed Apr 03 14:11:06 2013 myname/X.X.X.X:62108 PUSH: Received control mess
age: 'PUSH_REQUEST'
Wed Apr 03 14:11:06 2013 myname/X.X.X.X:62108 send_push_reply(): safe_cap
=940
Wed Apr 03 14:11:06 2013 myname/X.X.X.X:62108 SENT CONTROL [myname]: 'PU
SH_REPLY,route 192.168.10.0 255.255.255.0,route 10.8.0.1,topology net30,ping 10,
ping-restart 120,ifconfig 10.8.0.6 10.8.0.5' (status=1)
Wed Apr 03 14:11:11 2013 read UDPv4: Connection reset by peer (WSAECONNRESET) (c
ode=10054)
Wed Apr 03 14:11:16 2013 read UDPv4: Connection reset by peer (WSAECONNRESET) (c
ode=10054)
Wed Apr 03 14:11:24 2013 read UDPv4: Connection reset by peer (WSAECONNRESET) (c
ode=10054)
Wed Apr 03 14:11:34 2013 read UDPv4: Connection reset by peer (WSAECONNRESET) (c
ode=10054)
Wed Apr 03 14:11:40 2013 read UDPv4: Connection reset by peer (WSAECONNRESET) (c
ode=10054)
Wed Apr 03 14:11:50 2013 read UDPv4: Connection reset by peer (WSAECONNRESET) (c
ode=10054)

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: can't connect to my openvpn server

Post by maikcat » Wed Apr 03, 2013 12:32 pm

Wed Apr 03 14:10:53 2013 TAP-WIN32 device [vpn] opened: \\.\Global\{1D1990EC-DEE
6-4B00-8421-A2B4441A3A2D}.tap
device is ok....

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

jmarshallh
OpenVpn Newbie
Posts: 14
Joined: Wed Apr 03, 2013 1:57 am

Re: can't connect to my openvpn server

Post by jmarshallh » Wed Apr 03, 2013 12:36 pm

hi

when connexion crash on Client side a box opened and tells " La Connexion à client a echouée "

seems like if the client want to connect on itself :(

ideas ?

thanks

jmarshallh
OpenVpn Newbie
Posts: 14
Joined: Wed Apr 03, 2013 1:57 am

Re: can't connect to my openvpn server

Post by jmarshallh » Wed Apr 03, 2013 12:41 pm

more things ...

* XP openvpn server is on my lan , with a box - router provided by Sfr, changed IP of the box to 192.168.10.1, domain name with dyndns, rules in router, no firewall activated for vpn connection

* 7 openvpn client is on a second Lan ,with an Orange Box, on 192.168.1.0 network, no firewall activated

thanks

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: can't connect to my openvpn server

Post by maikcat » Wed Apr 03, 2013 1:09 pm

Wed Apr 03 14:11:11 2013 read UDPv4: Connection reset by peer (WSAECONNRESET) (c
ode=10054)
seems something blocks/drops traffic...

can you try tcp ?

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

jmarshallh
OpenVpn Newbie
Posts: 14
Joined: Wed Apr 03, 2013 1:57 am

Re: can't connect to my openvpn server

Post by jmarshallh » Wed Apr 03, 2013 1:44 pm

the same :)

changed proto udp to tcp on server and client

even with rule TCP 1194 in my router

??

thans for your answer

seems like the TAP windows not renamed ...

something to see in Registry ?

thx

jmarshallh
OpenVpn Newbie
Posts: 14
Joined: Wed Apr 03, 2013 1:57 am

Re: can't connect to my openvpn server

Post by jmarshallh » Thu Apr 04, 2013 1:24 am

News and good news !! :)

I tried the same config files and certificates on a Android N7000 , connect on same ORange Box and Lan 192.168.1.0

I installed OpenVpn client on my android

some stuff to enter into parameters (certs, keys and client .opvn)

just a change : need to delete DNS provided by android app and i use OpenDNS

Just tried and connect !!!! :)

Yeah

But now i have to understand a lot of other things : - use the tunnel for web - why it doesn' work with 7 - maybe problems of DNS ???

thank you again

jmarshallh
OpenVpn Newbie
Posts: 14
Joined: Wed Apr 03, 2013 1:57 am

Re: can't connect to my openvpn server

Post by jmarshallh » Fri Apr 05, 2013 12:13 am

yeah ! :D

we have to rename the Win tap on both sides ! server and CLIENT !!

now i have to find how to route trafic web through vpn

thx

Douglas
Forum Team
Posts: 285
Joined: Wed Aug 27, 2008 2:41 am

Re: can't connect to my openvpn server

Post by Douglas » Fri Apr 05, 2013 3:24 am

You are looking for the redirect-gateway directive.

jmarshallh
OpenVpn Newbie
Posts: 14
Joined: Wed Apr 03, 2013 1:57 am

Re: can't connect to my openvpn server

Post by jmarshallh » Fri Apr 05, 2013 9:12 am

yes i read it on different places , but i have got a problem :

on Linux, you've got POSTROUTING and MASQUERADE

but on win xp ?

how does it works ?

i understand that i have to add a route to " 0.0.0.0" (web trafic ) for my tap interface but i already have a 0.0.0.0 route

if i delete this one , my connexion to vpn doesn't match , for sure , cos it's like i haven't internet access...

sorry for my poor english language ( french :) )

thanks , need help

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: can't connect to my openvpn server

Post by maikcat » Fri Apr 05, 2013 10:04 am

user bebop wrote a complete howto on windows...

please search the forum

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

jmarshallh
OpenVpn Newbie
Posts: 14
Joined: Wed Apr 03, 2013 1:57 am

Re: can't connect to my openvpn server

Post by jmarshallh » Fri Apr 05, 2013 9:42 pm

thanks :)

i read it and i posted there some questions

cos it doesn't work for me !

activating ICS on XP seems to work with a 192.168.0.0 LAN but what happens with my LAN 192.168.10.0 ?
(note that most of public spots wifi often give IP like 192.168.0.X so it may created conflit to install OpenVpn on a 192.168.0.0 LAN )

any ideas for my problem ? (i still can't reach the internet with my operating - ping ok - but no web - ) ???

again, thanks for your help !!

wele34
OpenVpn Newbie
Posts: 1
Joined: Fri May 03, 2013 11:22 am

Re: can't connect to my openvpn server

Post by wele34 » Fri May 03, 2013 11:42 am

hi there,

I'm using windows 8 enterprise ed. in our firm. I tried too much thing and I solved my computer's OpenVpn problem. but another computer I can't solve the same problem. (same configuration with my computer)
There is a domain structure in firm. The computers and users have administrative privilages. I installed OpenVPN 'run as administrator'

please help me!

Fri May 03 14:16:40 2013 NOTE: --user option is not implemented on Windows
Fri May 03 14:16:40 2013 NOTE: --group option is not implemented on Windows
Fri May 03 14:16:40 2013 OpenVPN 2.1.4 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] bui
lt on Nov 8 2010
Fri May 03 14:16:40 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or hig
her to call user-defined scripts or executables
Fri May 03 14:16:40 2013 Control Channel Authentication: using 'ta.key' as a Ope
nVPN static key file
Fri May 03 14:16:40 2013 Outgoing Control Channel Authentication: Using 160 bit
message hash 'SHA1' for HMAC authentication
Fri May 03 14:16:40 2013 Incoming Control Channel Authentication: Using 160 bit
message hash 'SHA1' for HMAC authentication
Fri May 03 14:16:40 2013 LZO compression initialized
Fri May 03 14:16:40 2013 Control Channel MTU parms [ L:1558 D:166 EF:66 EB:0 ET:
0 EL:0 ]
Fri May 03 14:16:40 2013 Socket Buffers: R=[65536->65536] S=[65536->65536]
Fri May 03 14:16:40 2013 Data Channel MTU parms [ L:1558 D:1450 EF:58 EB:135 ET:
0 EL:0 AF:3/1 ]
Fri May 03 14:16:40 2013 Local Options hash (VER=V4): '9e7066d2'
Fri May 03 14:16:40 2013 Expected Remote Options hash (VER=V4): '162b04de'
Fri May 03 14:16:40 2013 UDPv4 link local: [undef]
Fri May 03 14:16:40 2013 UDPv4 link remote: 213.183.17.229:443
Fri May 03 14:16:40 2013 TLS: Initial packet from 213.183.17.229:443, sid=757a27
a3 ee141690
Fri May 03 14:16:41 2013 VERIFY OK: depth=1, /C=DE/ST=Bayern/L=Muenchen/O=netpla
ce_Telematic_GmbH/CN=vpngate.netplace.com/emailAddress=hostmaster@netplace.com
Fri May 03 14:16:41 2013 VERIFY OK: nsCertType=SERVER
Fri May 03 14:16:41 2013 VERIFY OK: depth=0, /C=DE/ST=Bayern/L=Muenchen/O=netpla
ce_Telematic_GmbH/CN=11492.vpngate.netplace.com/emailAddress=hostmaster@netplace
.com
Fri May 03 14:16:41 2013 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized
with 256 bit key
Fri May 03 14:16:41 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1'
for HMAC authentication
Fri May 03 14:16:41 2013 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized
with 256 bit key
Fri May 03 14:16:41 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1'
for HMAC authentication
Fri May 03 14:16:41 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES2
56-SHA, 2048 bit RSA
Fri May 03 14:16:41 2013 [11492.vpngate.netplace.com] Peer Connection Initiated
with 213.183.17.229:443
Fri May 03 14:16:44 2013 SENT CONTROL [11492.vpngate.netplace.com]: 'PUSH_REQUES
T' (status=1)
Fri May 03 14:16:44 2013 PUSH: Received control message: 'PUSH_REPLY,route 10.12
.24.0 255.255.255.0,route 10.8.24.1,topology net30,ping 5,ping-restart 10,ifconf
ig 10.8.24.18 10.8.24.17'
Fri May 03 14:16:44 2013 OPTIONS IMPORT: timers and/or timeouts modified
Fri May 03 14:16:44 2013 OPTIONS IMPORT: --ifconfig/up options modified
Fri May 03 14:16:44 2013 OPTIONS IMPORT: route options modified
Fri May 03 14:16:44 2013 ROUTE default_gateway=192.168.1.2
Fri May 03 14:16:44 2013 TAP-WIN32 device [Local Area Connection] opened: \\.\Gl
obal\{37B31FBA-D24D-4B8C-B2B9-BAA8BC5D2B67}.tap
Fri May 03 14:16:44 2013 TAP-Win32 Driver Version 9.7
Fri May 03 14:16:44 2013 TAP-Win32 MTU=1500
Fri May 03 14:16:44 2013 Notified TAP-Win32 driver to set a DHCP IP/netmask of 1
0.8.24.18/255.255.255.252 on interface {37B31FBA-D24D-4B8C-B2B9-BAA8BC5D2B67} [D
HCP-serv: 10.8.24.17, lease-time: 31536000]
Fri May 03 14:16:44 2013 NOTE: FlushIpNetTable failed on interface [17] {37B31FB
A-D24D-4B8C-B2B9-BAA8BC5D2B67} (status=5) : Access is denied.
Fri May 03 14:16:49 2013 TEST ROUTES: 2/2 succeeded len=2 ret=1 a=0 u/d=up
Fri May 03 14:16:49 2013 C:\WINDOWS\system32\route.exe ADD 10.12.24.0 MASK 255.2
55.255.0 10.8.24.17
Fri May 03 14:16:49 2013 ROUTE: route addition failed using CreateIpForwardEntry
: Access is denied. [status=5 if_index=17]
Fri May 03 14:16:49 2013 Route addition via IPAPI failed [adaptive]
Fri May 03 14:16:49 2013 Route addition fallback to route.exe
The requested operation requires elevation.
Fri May 03 14:16:49 2013 ERROR: Windows route add command failed [adaptive]: ret
urned error code 1
Fri May 03 14:16:49 2013 C:\WINDOWS\system32\route.exe ADD 10.8.24.1 MASK 255.25
5.255.255 10.8.24.17
Fri May 03 14:16:49 2013 ROUTE: route addition failed using CreateIpForwardEntry
: Access is denied. [status=5 if_index=17]
Fri May 03 14:16:50 2013 Route addition via IPAPI failed [adaptive]
Fri May 03 14:16:50 2013 Route addition fallback to route.exe
The requested operation requires elevation.
Fri May 03 14:16:50 2013 ERROR: Windows route add command failed [adaptive]: ret
urned error code 1
Fri May 03 14:16:50 2013 Initialization Sequence Completed

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

Re: can't connect to my openvpn server

Post by janjust » Fri May 03, 2013 2:31 pm

the log snippet
Fri May 03 14:16:49 2013 C:\WINDOWS\system32\route.exe ADD 10.12.24.0 MASK 255.2
55.255.0 10.8.24.17
Fri May 03 14:16:49 2013 ROUTE: route addition failed using CreateIpForwardEntry
: Access is denied. [status=5 if_index=17]
Fri May 03 14:16:49 2013 Route addition via IPAPI failed [adaptive]
Fri May 03 14:16:49 2013 Route addition fallback to route.exe
The requested operation requires elevation.
shows that you're not running OpenVPN with elevated privileges; try that.

cooldog8087
OpenVpn Newbie
Posts: 2
Joined: Mon May 06, 2013 12:39 pm

Re: can't connect to my openvpn server

Post by cooldog8087 » Mon May 06, 2013 12:57 pm

i am unable to connect through open vpn via udp53..
please help me out.. :cry:

i can show the log file..

Mon May 06 17:31:47 2013 OpenVPN 2.3.1 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Mar 28 2013
Enter Management Password:
Mon May 06 17:31:47 2013 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25343
Mon May 06 17:31:47 2013 Need hold release from management interface, waiting...
Mon May 06 17:31:48 2013 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25343
Mon May 06 17:31:48 2013 MANAGEMENT: CMD 'state on'
Mon May 06 17:31:48 2013 MANAGEMENT: CMD 'log all on'
Mon May 06 17:31:48 2013 MANAGEMENT: CMD 'hold off'
Mon May 06 17:31:48 2013 MANAGEMENT: CMD 'hold release'
Mon May 06 17:32:02 2013 MANAGEMENT: CMD 'username "Auth" "vpnbook"'
Mon May 06 17:32:02 2013 MANAGEMENT: CMD 'password [...]'
Mon May 06 17:32:02 2013 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Mon May 06 17:32:02 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon May 06 17:32:02 2013 NOTE: --fast-io is disabled since we are running on Windows
Mon May 06 17:32:02 2013 Socket Buffers: R=[8192->8192] S=[8192->8192]
Mon May 06 17:32:02 2013 UDPv4 link local: [undef]
Mon May 06 17:32:02 2013 UDPv4 link remote: [AF_INET]93.115.84.194:53
Mon May 06 17:32:02 2013 MANAGEMENT: >STATE:1367841722,WAIT,,,
Mon May 06 17:33:02 2013 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Mon May 06 17:33:02 2013 TLS Error: TLS handshake failed
Mon May 06 17:33:02 2013 SIGUSR1[soft,tls-error] received, process restarting
Mon May 06 17:33:02 2013 MANAGEMENT: >STATE:1367841782,RECONNECTING,tls-error,,
Mon May 06 17:33:02 2013 Restart pause, 2 second(s)
Mon May 06 17:33:04 2013 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Mon May 06 17:33:04 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon May 06 17:33:04 2013 NOTE: --fast-io is disabled since we are running on Windows
Mon May 06 17:33:04 2013 Socket Buffers: R=[8192->8192] S=[8192->8192]
Mon May 06 17:33:04 2013 MANAGEMENT: >STATE:1367841784,RESOLVE,,,
Mon May 06 17:33:04 2013 RESOLVE: Cannot resolve host address: euro1.vpnbook.com: The requested name is valid, but no data of the requested type was found.
Mon May 06 17:33:04 2013 MANAGEMENT: >STATE:1367841784,RESOLVE,,,
Mon May 06 17:33:04 2013 RESOLVE: Cannot resolve host address: euro1.vpnbook.com: The requested name is valid, but no data of the requested type was found.
Mon May 06 17:33:04 2013 SIGUSR1[soft,init_instance] received, process restarting
Mon May 06 17:33:04 2013 MANAGEMENT: >STATE:1367841784,RECONNECTING,init_instance,,
Mon May 06 17:33:04 2013 Restart pause, 2 second(s)
Mon May 06 17:33:06 2013 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Mon May 06 17:33:06 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon May 06 17:33:06 2013 NOTE: --fast-io is disabled since we are running on Windows
Mon May 06 17:33:06 2013 Socket Buffers: R=[8192->8192] S=[8192->8192]
Mon May 06 17:33:06 2013 UDPv4 link local: [undef]
Mon May 06 17:33:06 2013 UDPv4 link remote: [AF_INET]93.115.84.194:53
Mon May 06 17:33:06 2013 MANAGEMENT: >STATE:1367841786,WAIT,,,
Mon May 06 17:33:27 2013 SIGTERM[hard,] received, process exiting
Mon May 06 17:33:27 2013 MANAGEMENT: >STATE:1367841807,EXITING,SIGTERM,,


please help me to solve it.. :cry:

Post Reply