[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Newbie help getting openvpn to work


  • Subject: [Openvpn-users] Newbie help getting openvpn to work
  • From: Howell Silverman <howells@xxxxxxxxxxxxxx>
  • Date: Sun, 19 Dec 2004 19:49:12 -0500

I'm hoping someone will take pitty on me and help me to get this working.

My environment is as follows:

Listener:
winxp prof. Sp1 in dmz port 1194 opened udp
static key generated, copied and saved in key.txt on both client and
listener sides
interface connection bridged although i have a question on this:
     local connection shows active and I can talk to the machine on the
local network (it is part of a domain)
     local connection 2 has an 'x' through it but Network Bridge is enabled
everything seems to working normally
     Question: Is this correct??

The listen.opvn file is as follows:
All I really did was comment out the 'remote' comand and added some of the
diagnostic commands at the very end.
------------------------------------------------------------------------- 
config.opvn ----------------------------------------------------------------
-------------------------
dev tap
ifconfig 10.3.0.1 255.255.255.0
secret key.txt
ping 10
comp-lzo
verb 4
mute 10
mtu-test
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
--------------------------------------------------------- end of config
file -----------------------------------------------------------------------
---------

Now... on the Client Side:
I made sure the 1194 was opened..
I changed 'myremote' to my wan address and changed the ifconfig to 10.3.0.2
That's it.

I fire up the Listener side, the icons on the system tray are red and it
does what I preseume to be correct..... sit and wait to be contacted by the
cleint side. Although I would have thought that a status window would have
opened to tell me what's going on.. but nothing happens.
I fire up the client side and a window opens with all sorts of status info.
I'm thinking all is well here.. but it doesn't connect to the listener side.

Here's the output of the window that comes up on the client side - THE WAN
IP ADDRESS has been edited to protect the innocent and I highlight a message
that says couldn't get adapter index and I assume that is something of a
problem....:
Fri Dec 17 20:08:55 2004 us=724216 Current Parameter Settings:
Fri Dec 17 20:08:55 2004 us=724370 config = 'this.ovpn'
Fri Dec 17 20:08:55 2004 us=724388 mode = 0
Fri Dec 17 20:08:55 2004 us=724404 show_ciphers = DISABLED
Fri Dec 17 20:08:55 2004 us=724419 show_digests = DISABLED
Fri Dec 17 20:08:55 2004 us=724433 show_engines = DISABLED
Fri Dec 17 20:08:55 2004 us=724448 genkey = DISABLED
Fri Dec 17 20:08:55 2004 us=724463 key_pass_file = '[UNDEF]'
Fri Dec 17 20:08:55 2004 us=724480 show_tls_ciphers = DISABLED
Fri Dec 17 20:08:55 2004 us=724495 proto = 0
Fri Dec 17 20:08:55 2004 us=724510 NOTE: --mute triggered...
Fri Dec 17 20:08:55 2004 us=724563 181 variation(s) on previous 10
message(s) suppressed by --mute
Fri Dec 17 20:08:55 2004 us=724582 OpenVPN 2.0_rc1 Win32-MinGW [SSL] [LZO]
built on Dec 6 2004
Fri Dec 17 20:08:55 2004 us=724702 IMPORTANT: OpenVPN's default port number
is now 1194, based on an official port number assignment by IANA. OpenVPN
2.0-beta16 and earlier used 5000 as the default port.
Fri Dec 17 20:08:55 2004 us=724723 WARNING: --ping should normally be used
with --ping-restart or --ping-exit
Fri Dec 17 20:08:55 2004 us=725214 Static Encrypt: Cipher 'BF-CBC'
initialized with 128 bit key
Fri Dec 17 20:08:55 2004 us=725269 Static Encrypt: Using 160 bit message
hash 'SHA1' for HMAC authentication
Fri Dec 17 20:08:55 2004 us=725545 Static Decrypt: Cipher 'BF-CBC'
initialized with 128 bit key
Fri Dec 17 20:08:55 2004 us=725574 Static Decrypt: Using 160 bit message
hash 'SHA1' for HMAC authentication
Fri Dec 17 20:08:55 2004 us=725619 LZO compression initialized
Fri Dec 17 20:08:55 2004 us=734420 TAP-WIN32 device [Local Area Connection
4] opened: \\.\Global\{A5FEC176-A3FE-4FCD-914A-9EF14747232E}.tap
Fri Dec 17 20:08:55 2004 us=734486 TAP-Win32 Driver Version 8.1
Fri Dec 17 20:08:55 2004 us=734504 TAP-Win32 MTU=1500
Fri Dec 17 20:08:55 2004 us=734531 Notified TAP-Win32 driver to set a DHCP
IP/netmask of 10.3.0.2/255.255.255.0 on interface
{A5FEC176-A3FE-4FCD-914A-9EF14747232E} [DHCP-serv: 10.3.0.0, lease-time:
31536000]
Fri Dec 17 20:08:55 2004 us=744935 NOTE: could not get adapter index for
\DEVICE\TCPIP_{A5FEC176-A3FE-4FCD-914A-9EF14747232E}, status=55 : The
specified network resource or device is no longer available.
Fri Dec 17 20:08:55 2004 us=762249 Data Channel MTU parms [ L:1577 D:1450
EF:45 EB:19 ET:32 EL:0 ]
Fri Dec 17 20:08:55 2004 us=762349 Local Options String: 'V4,dev-type
tap,link-mtu 1577,tun-mtu 1532,proto UDPv4,ifconfig 10.3.0.0
255.255.255.0,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,secret'
Fri Dec 17 20:08:55 2004 us=762370 Expected Remote Options String:
'V4,dev-type tap,link-mtu 1577,tun-mtu 1532,proto UDPv4,ifconfig 10.3.0.0
255.255.255.0,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,secret'
Fri Dec 17 20:08:55 2004 us=762417 Local Options hash (VER=V4): 'e08453d7'
Fri Dec 17 20:08:55 2004 us=762448 Expected Remote Options hash (VER=V4):
'e08453d7'
Fri Dec 17 20:08:55 2004 us=762545 Socket Buffers: R=[8192->8192]
S=[8192->8192]
Fri Dec 17 20:08:55 2004 us=762586 UDPv4 link local (bound): [undef]:1194
Fri Dec 17 20:08:55 2004 us=762604 UDPv4 link remote: xx.xxx.xxx.xxx:1194
---------------------------------------------------- end of
output ---------------------------------------------------------------------
---------------
Any help will be very much appreciated.
Howell


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users