Hello,
I am new to Open VPN. the software company i work for uses OpenVPN to connect our Users to our Cloud server for one of our applications to work. On the client machine when i install OpenVPN 2.2.0 i place the Cert files and key files in the config folder and when trying to start up the Open VPN i get an error saying
NOTE: could not get adapter index for {CFA0266A-948D-4B3F-A6E1-81D52D7C90E7}
This is a peice of the Log
Wed Mar 21 13:50:30 2012 TAP-WIN32 device [Local Area Connection 5] opened: \\.\Global\{898529F1-980B-4F63-8099-353DDAE3AE79}.tap
Wed Mar 21 13:50:30 2012 NOTE: could not get adapter index for {898529F1-980B-4F63-8099-353DDAE3AE79}
Wed Mar 21 13:50:30 2012 TAP-Win32 Driver Version 9.8
Wed Mar 21 13:50:30 2012 TAP-Win32 MTU=1500
Wed Mar 21 13:50:30 2012 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.X.X.XXX/255.255.255.252 on interface {898529F1-980B-4F63-8099-353DDAE3AE79} [DHCP-serv: 10.X.X.XXX, lease-time: 31536000]
Wed Mar 21 13:50:35 2012 TEST ROUTES: 0/1 succeeded len=1 ret=0 a=0 u/d=up
Wed Mar 21 13:50:35 2012 Route: Waiting for TUN/TAP interface to come up...
This is Ocurring on a 2003 server R2 SP2
the following is the config file we are using. the .ovpn file
# Specify that we are a client and that we
# will be pulling certain config file directives
# from the server.
client
# Use the same setting as you are using on
# the server.
# On most systems, the VPN will not function
# unless you partially or fully disable
# the firewall for the TUN/TAP interface.
;dev tap
dev tun
# Windows needs the TAP-Win32 adapter name
# from the Network Connections panel
# if you have more than one. On XP SP2,
# you may need to disable the firewall
# for the TAP adapter.
;dev-node MyTap
# Are we connecting to a TCP or
# UDP server? Use the same setting as
# on the server.
;proto tcp
proto udp
# The hostname/IP and port of the server.
# You can have multiple remote entries
# to load balance between the servers.
remote 184.XXX.XX.XX 2011
;remote 86.XXX.XXX.XXX 1194
;remote my-server-2 1194
# Choose a random host from the remote
# list for load-balancing. Otherwise
# try hosts in the order specified.
;remote-random
# Keep trying indefinitely to resolve the
# host name of the OpenVPN server. Very useful
# on machines which are not permanently connected
# to the internet such as laptops.
resolv-retry infinite
# Most clients don't need to bind to
# a specific local port number.
nobind
# Downgrade privileges after initialization (non-Windows only)
;user nobody
;group nobody
# Try to preserve some state across restarts.
persist-key
persist-tun
# If you are connecting through an
# HTTP proxy to reach the actual OpenVPN
# server, put the proxy server/IP and
# port number here. See the man page
# if your proxy server requires
# authentication.
;http-proxy-retry # retry on connection failures
;http-proxy [proxy server] [proxy port #]
# Wireless networks often produce a lot
# of duplicate packets. Set this flag
# to silence duplicate packet warnings.
;mute-replay-warnings
# SSL/TLS parms.
# See the server config file for more
# description. It's best to use
# a separate .crt/.key file pair
# for each client. A single ca
# file can be used for all clients.
ca ca.crt
cert SupportDesktop.crt
key SupportDesktop.key
# Verify server certificate by checking
# that the certicate has the nsCertType
# field set to "server". This is an
# important precaution to protect against
# a potential attack discussed here:
# http://openvpn.net/howto.html#mitm
#
# To use this feature, you will need to generate
# your server certificates with the nsCertType
# field set to "server". The build-key-server
# script in the easy-rsa folder will do this.
;ns-cert-type server
# If a tls-auth key is used on the server
# then every client must also have the key.
;tls-auth ta.key 1
# Select a cryptographic cipher.
# If the cipher option is used on the server
# then you must also specify it here.
cipher AES-128-CBC #AES
;cipher x
# Enable compression on the VPN link.
# Don't enable this unless it is also
# enabled in the server config file.
comp-lzo
# Set log file verbosity.
verb 3
# Silence repeating messages
;mute 20
Any and all help would be appreciated.
Thank you
Trouble installing client in Server 2003 R2. Adpter index
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!
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Mar 20, 2012 5:20 pm
-
- Forum Team
- Posts: 117
- Joined: Tue Jun 09, 2009 4:25 pm
- Location: St. Louis, MO USA
Re: Trouble installing client in Server 2003 R2. Adpter inde
Have you tried removing and reinstalling the adapter using the batch files in C:\Program Files\OpenVPN\bin ?
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Mar 20, 2012 5:20 pm
Re: Trouble installing client in Server 2003 R2. Adpter inde
I have tried that a couple of times to see if it would work. but with no success.
-
- Forum Team
- Posts: 117
- Joined: Tue Jun 09, 2009 4:25 pm
- Location: St. Louis, MO USA
Re: Trouble installing client in Server 2003 R2. Adpter inde
Please post the output of:
Code: Select all
openvpn.exe --show-net
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Mar 20, 2012 5:20 pm
Re: Trouble installing client in Server 2003 R2. Adpter inde
This is what i was able to get using that command. the bottom does not show the Tap-Win32 adapter v9. it is as if it does not see it.
C:\Program Files\OpenVPN\bin>openvpn.exe --show-net
SYSTEM ROUTING TABLE
0.0.0.0 0.0.0.0 192.168.1.240 p=0 i=65539 t=4 pr=3 a=2520662 h=0 m=10/-1/-1/-1/-
1
127.0.0.0 255.0.0.0 127.0.0.1 p=0 i=1 t=3 pr=2 a=2520662 h=0 m=1/-1/-1/-1/-1
192.168.1.0 255.255.255.0 192.168.1.9 p=0 i=65539 t=3 pr=2 a=2520662 h=0 m=10/-1
/-1/-1/-1
192.168.1.9 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=2 a=2520662 h=0 m=10/-1/-1/
-1/-1
192.168.1.255 255.255.255.255 192.168.1.9 p=0 i=65539 t=3 pr=2 a=2520662 h=0 m=1
0/-1/-1/-1/-1
224.0.0.0 240.0.0.0 192.168.1.9 p=0 i=65539 t=3 pr=2 a=2520662 h=0 m=10/-1/-1/-1
/-1
255.255.255.255 255.255.255.255 192.168.1.9 p=0 i=65539 t=3 pr=2 a=2520662 h=0 m
=1/-1/-1/-1/-1
SYSTEM ADAPTER LIST
BASP Virtual Adapter
Index = 65539
GUID = {E78B38C1-95A0-47C0-97A7-07293B479B8E}
IP = 192.168.1.9/255.255.255.0
MAC = a4:ba:db:11:d1:d1
GATEWAY = 192.168.1.240/0.0.0.0
PRI WINS = 192.168.1.1/0.0.0.0
SEC WINS = 0.0.0.0/0.0.0.0
DNS SERV = 192.168.1.1 8.8.8.8
C:\Program Files\OpenVPN\bin>
C:\Program Files\OpenVPN\bin>openvpn.exe --show-net
SYSTEM ROUTING TABLE
0.0.0.0 0.0.0.0 192.168.1.240 p=0 i=65539 t=4 pr=3 a=2520662 h=0 m=10/-1/-1/-1/-
1
127.0.0.0 255.0.0.0 127.0.0.1 p=0 i=1 t=3 pr=2 a=2520662 h=0 m=1/-1/-1/-1/-1
192.168.1.0 255.255.255.0 192.168.1.9 p=0 i=65539 t=3 pr=2 a=2520662 h=0 m=10/-1
/-1/-1/-1
192.168.1.9 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=2 a=2520662 h=0 m=10/-1/-1/
-1/-1
192.168.1.255 255.255.255.255 192.168.1.9 p=0 i=65539 t=3 pr=2 a=2520662 h=0 m=1
0/-1/-1/-1/-1
224.0.0.0 240.0.0.0 192.168.1.9 p=0 i=65539 t=3 pr=2 a=2520662 h=0 m=10/-1/-1/-1
/-1
255.255.255.255 255.255.255.255 192.168.1.9 p=0 i=65539 t=3 pr=2 a=2520662 h=0 m
=1/-1/-1/-1/-1
SYSTEM ADAPTER LIST
BASP Virtual Adapter
Index = 65539
GUID = {E78B38C1-95A0-47C0-97A7-07293B479B8E}
IP = 192.168.1.9/255.255.255.0
MAC = a4:ba:db:11:d1:d1
GATEWAY = 192.168.1.240/0.0.0.0
PRI WINS = 192.168.1.1/0.0.0.0
SEC WINS = 0.0.0.0/0.0.0.0
DNS SERV = 192.168.1.1 8.8.8.8
C:\Program Files\OpenVPN\bin>
- Mimiko
- Forum Team
- Posts: 1564
- Joined: Wed Sep 22, 2010 3:18 am
Re: Trouble installing client in Server 2003 R2. Adpter inde
Add to the config file:and see if it helps.
Code: Select all
route-delay 10 60
ip-win32 ipapi
route-method exe