|
From: Bruce G. <bru...@ea...> - 2008-09-03 04:12:09
|
Summary: 1) WinXP-SP3, OpenVPN 2.1RC9, can't get server to open port
1194 when trying to bridge ethernet.
2) get error message "NOTE: could not get adapter index for
{5FF2A80F-4C05-4B71-A6DA-9BF0A1E65AB8}" when trying to open TAP-WIN32
device [tap-bridge].
Details: My local home network behind HomePortal/Gateway/NAT/firewall at
172.16.0.1 is on 172.16.0.0/24; netmask is 255.255.255.0. I am trying
to start up the server on a WinXP-SP3 machine 172.16.0.70. I installed
OpenVPN without problems, then renamed the TAP-Win32 adapter to
tap-bridge. In the Network Connections Control Panel, I selected my
ethernet adapter and the tap-adapter, and then created a network
bridge. The ethernet adapter before establishing the bridge was at
172.16.0.70, and the TAP adpater I tried both as DHCP and as
172.16.0.11. I assigned the bridge an IP address of 172.16.0.70 (I also
tried 172.16.0.10). In the server-bridge statement below I tried both
the address of the gateway (172.16.0.1) and the local bridge (either
172.16.0.10 or 172.16.0.70). No matter what, I get the message about
"could not get the adapter index", and a port scan of the local tap port
shows that 1194 did not get opened on the server. I have other adapters
on the machine (Hamachi that I am trying to get rid of, and CISCO VPN
that I need to keep, and wonder if that might be part of the issue (I
tried intially with Hamachi adapter disabled, later with enabled). My
config file is provided below, followed by the openvpn.log file. Any
suggestions would be much appreciated.
***** CONFIGURATION FILE ON SERVER ************8
local 172.16.0.70 (also tried 172.16.0.10, matching static IP assigned
local TAP gateway, and tried without)
port 1194
proto udp
dev tap
dev-node tap-bridge
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
ifconfig-pool-persist ipp.txt
server-bridge 172.16.0.1 255.255.255.0 172.16.0.230 172.16.0.249
client-to-client
keepalive 10 120
cipher BF-CBC # Blowfish (default)
comp-lzo
persist-key
persist-tun
status openvpn-status.log
log openvpn.log
verb 9
mute 20
**********8 openvpn.log *************
Tue Sep 02 01:36:38 2008 us=7000 Current Parameter Settings:
Tue Sep 02 01:36:38 2008 us=7000 config = 'server.ovpn'
Tue Sep 02 01:36:38 2008 us=7000 mode = 1
Tue Sep 02 01:36:38 2008 us=7000 show_ciphers = DISABLED
Tue Sep 02 01:36:38 2008 us=7000 show_digests = DISABLED
Tue Sep 02 01:36:38 2008 us=7000 show_engines = DISABLED
Tue Sep 02 01:36:38 2008 us=7000 genkey = DISABLED
Tue Sep 02 01:36:38 2008 us=7000 key_pass_file = '[UNDEF]'
Tue Sep 02 01:36:38 2008 us=7000 show_tls_ciphers = DISABLED
Tue Sep 02 01:36:38 2008 us=7000 Connection profiles [default]:
Tue Sep 02 01:36:38 2008 us=7000 proto = udp
Tue Sep 02 01:36:38 2008 us=7000 local = '172.16.0.10'
Tue Sep 02 01:36:38 2008 us=7000 local_port = 1194
Tue Sep 02 01:36:38 2008 us=7000 remote = '[UNDEF]'
Tue Sep 02 01:36:38 2008 us=7000 remote_port = 1194
Tue Sep 02 01:36:38 2008 us=7000 remote_float = DISABLED
Tue Sep 02 01:36:38 2008 us=7000 bind_defined = DISABLED
Tue Sep 02 01:36:38 2008 us=7000 bind_local = ENABLED
Tue Sep 02 01:36:38 2008 us=7000 connect_retry_seconds = 5
Tue Sep 02 01:36:38 2008 us=7000 connect_timeout = 10
Tue Sep 02 01:36:38 2008 us=7000 NOTE: --mute triggered...
Tue Sep 02 01:36:38 2008 us=7000 246 variation(s) on previous 20
message(s) suppressed by --mute
Tue Sep 02 01:36:38 2008 us=7000 OpenVPN 2.1_rc9 i686-pc-mingw32 [SSL]
[LZO2] [PKCS11] built on Jul 31 2008
Tue Sep 02 01:36:38 2008 us=17000 PKCS#11: pkcs11_initialize - entered
Tue Sep 02 01:36:38 2008 us=77000 PKCS#11: pkcs11_initialize - return
0-'CKR_OK'
Tue Sep 02 01:36:38 2008 us=548000 Diffie-Hellman initialized with 1024
bit key
Tue Sep 02 01:36:38 2008 us=768000 MTU DYNAMIC mtu=0, flags=1, 0 -> 138
Tue Sep 02 01:36:38 2008 us=768000 TLS-Auth MTU parms [ L:1574 D:138
EF:38 EB:0 ET:0 EL:0 ]
Tue Sep 02 01:36:38 2008 us=768000 MTU DYNAMIC mtu=1450, flags=2, 1574
-> 1450
Tue Sep 02 01:36:39 2008 us=719000 TAP-WIN32 device [tap-bridge] opened:
\\.\Global\{5FF2A80F-4C05-4B71-A6DA-9BF0A1E65AB8}.tap
Tue Sep 02 01:36:39 2008 us=970000 NOTE: could not get adapter index for
{5FF2A80F-4C05-4B71-A6DA-9BF0A1E65AB8}
Tue Sep 02 01:36:39 2008 us=970000 TAP-Win32 Driver Version 9.4
Tue Sep 02 01:36:39 2008 us=970000 TAP-Win32 MTU=1484
Tue Sep 02 01:36:39 2008 us=970000 Sleeping for 10 seconds...
SYSTEM ROUTING TABLE
0.0.0.0 0.0.0.0 172.16.0.1 p=0 i=65539 t=4 pr=3 a=99 h=0 m=20/-1/-1/-1/-1
5.0.0.0 255.0.0.0 5.176.107.207 p=0 i=65540 t=3 pr=2 a=62 h=0
m=20/-1/-1/-1/-1
5.176.107.207 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=2 a=62 h=0
m=20/-1/-1/-1/-1
5.255.255.255 255.255.255.255 5.176.107.207 p=0 i=65540 t=3 pr=2 a=62
h=0 m=20/-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=113 h=0 m=1/-1/-1/-1/-1
169.254.0.0 255.255.0.0 172.16.0.10 p=0 i=65539 t=3 pr=3 a=19 h=0
m=30/-1/-1/-1/-1
172.16.0.0 255.255.255.0 172.16.0.10 p=0 i=65539 t=3 pr=2 a=101 h=0
m=20/-1/-1/-1/-1
172.16.0.10 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=2 a=101 h=0
m=20/-1/-1/-1/-1
172.16.255.255 255.255.255.255 172.16.0.10 p=0 i=65539 t=3 pr=2 a=101
h=0 m=20/-1/-1/-1/-1
224.0.0.0 240.0.0.0 5.176.107.207 p=0 i=65540 t=3 pr=2 a=62 h=0
m=20/-1/-1/-1/-1
224.0.0.0 240.0.0.0 172.16.0.10 p=0 i=65539 t=3 pr=2 a=101 h=0
m=20/-1/-1/-1/-1
255.255.255.255 255.255.255.255 5.176.107.207 p=0 i=65540 t=3 pr=2 a=113
h=0 m=1/-1/-1/-1/-1
255.255.255.255 255.255.255.255 172.16.0.10 p=0 i=65539 t=3 pr=2 a=113
h=0 m=1/-1/-1/-1/-1
SYSTEM ADAPTER LIST
MAC Bridge Miniport - Packet Scheduler Miniport
Index = 65539
GUID = {D58A1D56-952B-4C36-8971-26AC6D9DD50B}
IP = 172.16.0.10/255.255.255.0
MAC = a2:00:00:04:92:f5
Tue Sep 02 01:36:50 2008 us=44000 NOTE: --mute triggered...
Tue Sep 02 01:36:50 2008 us=144000 13 variation(s) on previous 20
message(s) suppressed by --mute
Tue Sep 02 01:36:50 2008 us=144000 Data Channel MTU parms [ L:1574
D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ]
Tue Sep 02 01:36:50 2008 us=144000 Socket Buffers: R=[0->0] S=[0->0]
Tue Sep 02 01:36:50 2008 us=144000 UDPv4 link local (bound):
172.16.0.10:1194
Tue Sep 02 01:36:50 2008 us=144000 UDPv4 link remote: [undef]
Tue Sep 02 01:36:50 2008 us=144000 MULTI: multi_init called, r=256 v=256
Tue Sep 02 01:36:50 2008 us=144000 IFCONFIG POOL: base=172.16.0.230 size=20
Tue Sep 02 01:36:50 2008 us=144000 IFCONFIG POOL LIST
Tue Sep 02 01:36:50 2008 us=144000 WE_INIT maxevents=4 flags=0x00000002
Tue Sep 02 01:36:50 2008 us=144000 WE_INIT maxevents=4 capacity=8
Tue Sep 02 01:36:50 2008 us=144000 Initialization Sequence Completed
Tue Sep 02 01:36:50 2008 us=144000 SCHEDULE: schedule_find_least NULL
Tue Sep 02 01:36:50 2008 us=144000 WE_CTL n=0 ev=0x004896f4
rwflags=0x0001 arg=0x004685ec
Tue Sep 02 01:36:50 2008 us=144000 WIN32 I/O: Socket Receive queued [1574]
Tue Sep 02 01:36:50 2008 us=144000 WE_CTL n=1 ev=0x00ad94fc
rwflags=0x0001 arg=0x004685e4
Tue Sep 02 01:36:50 2008 us=144000 WE_CTL n=2 ev=0x00ad3d04
rwflags=0x0001 arg=0x004685e8
Tue Sep 02 01:36:50 2008 us=144000 WIN32 I/O: TAP Read immediate return
[1532,52]
Tue Sep 02 01:36:50 2008 us=144000 I/O WAIT TR1|Tw0|SRQ|Sw0 [10/0]
Tue Sep 02 01:36:50 2008 us=144000 WE_WAIT enter n=3 to=10000
Tue Sep 02 01:36:50 2008 us=144000 [0] ev=0x00000720 rwflags=0x0001
arg=0x004685ec
Tue Sep 02 01:36:50 2008 us=144000 [1] ev=0x000006b0 rwflags=0x0001
arg=0x004685e4
Tue Sep 02 01:36:50 2008 us=144000 [2] ev=0x000006fc rwflags=0x0001
arg=0x004685e8
Tue Sep 02 01:36:50 2008 us=144000 WE_WAIT leave [2,0] rwflags=0x0001
arg=0x004685e8
Tue Sep 02 01:36:50 2008 us=144000 event_wait returned 1
Tue Sep 02 01:36:50 2008 us=144000 I/O WAIT status=0x0004
Tue Sep 02 01:36:50 2008 us=144000 WIN32 I/O: TAP Completion non-queued
success [52]
Tue Sep 02 01:36:50 2008 us=144000 read from TUN/TAP returned 52
Tue Sep 02 01:36:50 2008 us=144000 SCHEDULE: schedule_find_least NULL
Tue Sep 02 01:36:50 2008 us=144000 WE_CTL n=0 ev=0x004896f4
rwflags=0x0001 arg=0x004685ec
Tue Sep 02 01:36:50 2008 us=144000 WE_CTL n=1 ev=0x00ad94fc
rwflags=0x0001 arg=0x004685e4
Tue Sep 02 01:36:50 2008 us=144000 WE_CTL n=2 ev=0x00ad3d04
rwflags=0x0001 arg=0x004685e8
Tue Sep 02 01:36:50 2008 us=144000 NOTE: --mute triggered...
|