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

[Openvpn-users] openvpn fine tuning? Another question


  • Subject: [Openvpn-users] openvpn fine tuning? Another question
  • From: René Pedersen <rene76@xxxxxxx>
  • Date: Mon, 12 Apr 2004 16:09:47 +0200
  • Importance: Normal

Title: Meddelelse
Hi again,
 
3) When I connect my xp-box to a lan with internet acces through a cable-modem (64/64 kbit/s) my openvpn-connection has an acceptable performance. However, if I connect my xp-box to the internet through an isdn-modem (128 kbit/s) my openvpn-connection is very very slow. What can I do to get a better performance through the isdn modem???
 
-----Oprindelig meddelelse-----
Fra: openvpn-users-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:openvpn-users-admin@xxxxxxxxxxxxxxxxxxxxx] På vegne af René Pedersen
Sendt: 12. april 2004 15:47
Til: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
Emne: [Openvpn-users] openvpn fine tuning?

Hi,
 
1) I get an error message on my xp-box, when I establish a vpn connection to my samba-server: 
        Attempting to lock Win32 semaphore 'openvpn_netcmd'
What does this message mean???
 
2) Is it possible to optimize my configuration to get a faster connection???
 
I have included config files and a log file below:
------------------------------------------------
remote 80.196.139.9
local 192.168.5.185
dev tap
ifconfig 10.3.0.2 255.255.255.0
secret key.txt
ping 10
comp-lzo
verb 4
mute 10
ip-win32 manual
tun-mtu 1500
tun-mtu-extra 32
route-delay 1
route 192.168.2.0 255.255.255.0 10.3.0.1
---------------------------------------------------------------------
config.conf on my samba-server:
 
remote 80.167.88.236
local 192.168.2.37
dev tap
ifconfig 10.3.0.2 255.255.255.0
secret key.txt
ping 10
comp-lzo
verb 4
mute 10
tun-mtu 1500
tun-mtu-extra 32
-----------------------------------------------------------------------
Log file from xp-box:
 
Mon Apr 12 15:17:24 2004 0: Current Parameter Settings:
Mon Apr 12 15:17:24 2004 1:   config = 'C:\Programmer\OpenVPN\config\config_nyts
kab.ovpn'
Mon Apr 12 15:17:24 2004 2:   show_ciphers = DISABLED
Mon Apr 12 15:17:24 2004 3:   show_digests = DISABLED
Mon Apr 12 15:17:24 2004 4:   genkey = DISABLED
Mon Apr 12 15:17:24 2004 5:   askpass = DISABLED
Mon Apr 12 15:17:24 2004 6:   show_tls_ciphers = DISABLED
Mon Apr 12 15:17:24 2004 7:   proto = 0
Mon Apr 12 15:17:24 2004 8:   local = '192.168.5.185'
Mon Apr 12 15:17:24 2004 9:   remote = '80.196.139.9'
Mon Apr 12 15:17:24 2004 10: 97 variation(s) on previous 10 message(s) suppresse
d by --mute
Mon Apr 12 15:17:24 2004 11: OpenVPN 1.5.0 Win32-MinGW [SSL] [LZO] built on Nov
20 2003
Mon Apr 12 15:17:24 2004 12: Static Encrypt: Cipher 'BF-CBC' initialized with 12
8 bit key
Mon Apr 12 15:17:24 2004 13: Static Encrypt: Using 160 bit message hash 'SHA1' f
or HMAC authentication
Mon Apr 12 15:17:24 2004 14: Static Decrypt: Cipher 'BF-CBC' initialized with 12
8 bit key
Mon Apr 12 15:17:24 2004 15: Static Decrypt: Using 160 bit message hash 'SHA1' f
or HMAC authentication
Mon Apr 12 15:17:24 2004 16: LZO compression initialized
Mon Apr 12 15:17:24 2004 17: ******** NOTE:  Please manually set the IP/netmask
of 'LAN-forbindelse 2' to 10.3.0.2/255.255.255.0 (if it is not already set)
Mon Apr 12 15:17:24 2004 18: Attempting to lock Win32 semaphore 'openvpn_netcmd'
 prior to net shell command (timeout = 600 sec)
Mon Apr 12 15:17:24 2004 19: TAP-WIN32 device [LAN-forbindelse 2] opened: \\.\{6
98634F2-946B-442A-83C3-8BBDCDE95B9A}.tap
Mon Apr 12 15:17:24 2004 20: TAP-Win32 Driver Version 3.10
Mon Apr 12 15:17:24 2004 21: TAP-Win32 MTU=1500
Mon Apr 12 15:17:24 2004 22: Successful ARP Flush on interface [2] {698634F2-946
B-442A-83C3-8BBDCDE95B9A}
Mon Apr 12 15:17:24 2004 23: Data Channel MTU parms [ L:1577 D:1577 EF:45 EB:19
ET:32 ]
Mon Apr 12 15:17:24 2004 24: Local Options String: 'V3,dev-type tap,link-mtu 157
7,tun-mtu 1532,proto UDPv4,ifconfig 10.3.0.0 255.255.255.0,comp-lzo,cipher BF-CB
C,auth SHA1,keysize 128,secret'
Mon Apr 12 15:17:24 2004 25: Expected Remote Options String: 'V3,dev-type tap,li
nk-mtu 1577,tun-mtu 1532,proto UDPv4,ifconfig 10.3.0.0 255.255.255.0,comp-lzo,ci
pher BF-CBC,auth SHA1,keysize 128,secret'
Mon Apr 12 15:17:24 2004 26: Local Options hash (VER=V3): '8bf52b38'
Mon Apr 12 15:17:24 2004 27: Expected Remote Options hash (VER=V3): '8bf52b38'
Mon Apr 12 15:17:24 2004 28: UDPv4 link local (bound): 192.168.5.185:5000
Mon Apr 12 15:17:24 2004 29: UDPv4 link remote: 80.196.139.9:5000
Mon Apr 12 15:17:28 2004 30: Peer Connection Initiated with 80.196.139.9:5000
Mon Apr 12 15:17:30 2004 31: Attempting to lock Win32 semaphore 'openvpn_netcmd'
 prior to net shell command (timeout = 600 sec)
Mon Apr 12 15:17:30 2004 32: route ADD 192.168.2.0 MASK 255.255.255.0 10.3.0.1
------------------------------------------------------------------------------------
 
René