View Single Post
  #1   (View Single Post)  
Old 17th September 2009
guitarscn guitarscn is offline
Package Pilot
 
Join Date: Oct 2008
Posts: 166
Default Cannot set up OpenVPN

Code:
# /usr/local/sbin/openvpn --config /etc/openvpn/openvpn.conf 
Thu Sep 17 13:23:29 2009 OpenVPN 2.1_rc15 i386-unknown-openbsd4.5 [SSL] [LZO1] built on Mar  1 2009
Enter Auth Username:guitarscn
Enter Auth Password:
Thu Sep 17 13:23:32 2009 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Thu Sep 17 13:23:32 2009 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Sep 17 13:23:32 2009 LZO compression initialized
Thu Sep 17 13:23:32 2009 Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
Thu Sep 17 13:23:33 2009 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Thu Sep 17 13:23:33 2009 Local Options hash (VER=V4): '69109d17'
Thu Sep 17 13:23:33 2009 Expected Remote Options hash (VER=V4): 'c0103fa8'
Thu Sep 17 13:23:33 2009 Attempting to establish TCP connection with 87.98.181.223:443 [nonblock]
Thu Sep 17 13:23:34 2009 TCP: connect to x.x.x.x:443 failed, will try again in 5 seconds: Connection refused
Thu Sep 17 13:23:34 2009 SIGUSR1[soft,init_instance] received, process restarting
Thu Sep 17 13:23:34 2009 Restart pause, 5 second(s)
Thu Sep 17 13:23:39 2009 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Thu Sep 17 13:23:39 2009 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Sep 17 13:23:39 2009 Re-using SSL/TLS context
Thu Sep 17 13:23:39 2009 LZO compression initialized
Thu Sep 17 13:23:39 2009 Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
Thu Sep 17 13:23:39 2009 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Thu Sep 17 13:23:39 2009 Local Options hash (VER=V4): '69109d17'
Thu Sep 17 13:23:39 2009 Expected Remote Options hash (VER=V4): 'c0103fa8'
Thu Sep 17 13:23:39 2009 Attempting to establish TCP connection with x.x.173.x:443 [nonblock]
Thu Sep 17 13:23:40 2009 TCP connection established with x.x.173.x:443
Thu Sep 17 13:23:40 2009 Socket Buffers: R=[16384->65536] S=[16384->65536]
Thu Sep 17 13:23:40 2009 TCPv4_CLIENT link local: [undef]
Thu Sep 17 13:23:40 2009 TCPv4_CLIENT link remote: x.98.173.x:443
Thu Sep 17 13:23:40 2009 TLS: Initial packet from x.98.173.x:443, sid=60191c71 3ab1c059
Thu Sep 17 13:23:40 2009 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Thu Sep 17 13:23:41 2009 VERIFY OK: depth=1, /C=FR/ST=NA/L=BISHKEK/O=OpenVPN-TEST/CN=ludwig/emailAddress=me@myhost.mydomain
Thu Sep 17 13:23:41 2009 VERIFY OK: depth=0, /C=FR/ST=NA/O=OpenVPN-TEST/CN=ludwig/emailAddress=me@myhost.mydomain
Thu Sep 17 13:23:43 2009 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Sep 17 13:23:43 2009 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Sep 17 13:23:43 2009 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Sep 17 13:23:43 2009 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Sep 17 13:23:43 2009 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Thu Sep 17 13:23:43 2009 [ludwig] Peer Connection Initiated with x.98.173.x:443
Thu Sep 17 13:23:44 2009 SENT CONTROL [ludwig]: 'PUSH_REQUEST' (status=1)
Thu Sep 17 13:23:44 2009 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 94.23.39.201,dhcp-option DNS x.251.133.x,route x.13.0.x,topology net30,ping 10,ping-restart 120,ifconfig 1x.13.51.x x.13.51.x'
Thu Sep 17 13:23:44 2009 OPTIONS IMPORT: timers and/or timeouts modified
Thu Sep 17 13:23:44 2009 OPTIONS IMPORT: --ifconfig/up options modified
Thu Sep 17 13:23:44 2009 OPTIONS IMPORT: route options modified
Thu Sep 17 13:23:44 2009 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Thu Sep 17 13:23:44 2009 ROUTE default_gateway=x.17.4.x
Thu Sep 17 13:23:44 2009 /sbin/ifconfig tun destroy
ifconfig: SIOCIFDESTROY: Invalid argument
Thu Sep 17 13:23:44 2009 /sbin/ifconfig tun create
ifconfig: SIOCIFCREATE: Invalid argument
Thu Sep 17 13:23:44 2009 NOTE: Tried to delete pre-existing tun/tap instance -- No Problem if failure
Thu Sep 17 13:23:44 2009 /sbin/ifconfig tun x.13.51.x x.13.51.x mtu 1500 netmask 255.255.255.255 up
ifconfig: SIOCSIFMTU: Device not configured
ifconfig: SIOCGIFFLAGS: Device not configured
Thu Sep 17 13:23:44 2009 OpenBSD ifconfig failed: external program exited with error status: 1
Thu Sep 17 13:23:44 2009 Exiting

Last edited by guitarscn; 17th September 2009 at 08:16 PM.
Reply With Quote