Hello, I'm having trouble connecting to my vpn. The server is running on ubuntu server 12.04, and the client is running on ubuntu desktop 12.04. What am I doing wrong? This stands out: Dec 11 17:40:38 soapdude-mini ovpn-client[7361]: UDPv4 link local: [undef]
btw, no tun0 is created (or tun anything) after starting openvpn on the client side. Thanks in advance!
Client:
client
dev tun
proto udp
remote 58.69.207.43 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/BLAH.crt
key /etc/openvpn/BLAH.key
ns-cert-type server
cipher BF-CBC # Blowfish (default)
comp-lzo
verb 6
server:
port 1194
proto udp
dev tun
ca /etc/openvpn/ca/crt
cert /etc/openvpn/BLAH.crt
key /etc/openvpn/BLAH.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
duplicate-cn
keepalive 10 20
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 6
Client log:
Dec 11 17:40:38 soapdude-mini ovpn-client[7361]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Dec 11 17:40:38 soapdude-mini ovpn-client[7361]: Re-using SSL/TLS context
Dec 11 17:40:38 soapdude-mini ovpn-client[7361]: LZO compression initialized
Dec 11 17:40:38 soapdude-mini ovpn-client[7361]: Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Dec 11 17:40:38 soapdude-mini ovpn-client[7361]: Socket Buffers: R=[163840->131072] S=[163840->131072]
Dec 11 17:40:38 soapdude-mini ovpn-client[7361]: Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Dec 11 17:40:38 soapdude-mini ovpn-client[7361]: Local Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Dec 11 17:40:38 soapdude-mini ovpn-client[7361]: Expected Remote Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Dec 11 17:40:38 soapdude-mini ovpn-client[7361]: Local Options hash (VER=V4): '41690919'
Dec 11 17:40:38 soapdude-mini ovpn-client[7361]: Expected Remote Options hash (VER=V4): '530fdded'
Dec 11 17:40:38 soapdude-mini ovpn-client[7361]: UDPv4 link local: [undef]
Dec 11 17:40:38 soapdude-mini ovpn-client[7361]: UDPv4 link remote: [AF_INET]58.69.207.43:1194
Dec 11 17:40:38 soapdude-mini ovpn-client[7361]: UDPv4 WRITE [14] to [AF_INET]58.69.207.43:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Dec 11 17:40:38 soapdude-mini ovpn-client[7361]: UDPv4 READ [26] from [AF_INET]58.69.207.43:1194: P_CONTROL_HARD_RESET_SERVER_V2 kid=0 [ 0 ] pid=0 DATA len=0
Dec 11 17:40:38 soapdude-mini ovpn-client[7361]: TLS: Initial packet from [AF_INET]58.69.207.43:1194, sid=75183c25 8e7950ce