TheWheez
I've been trying to solve this for a few weeks now. I'm attempting to use OpenVPN for personal use to encrypt data, and you know, feel more secure and what-not. Also because I can. So I'm running an OpenVPN-Access Server running and I've successfully connected via my Android phone, and I know that my traffic is being directed through it. So I don't believe the server is my problem.
Now on my Linux client (the Chrome Pixel, running ChromeOS, side-loaded with Ubuntu) I just can't keep a connection.
I've gotten the client.ovpn file from the Access Server, and I get to the Downloads directory in the shell. I then use "sudo openvpn client.ovpn" or "sudo openvpn --config client.ovpn". It does the same thing. This is what I get as a result:
Wed Oct 2 14:12:04 2013 OpenVPN 2.1.12 x86_64-cros-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Sep 26 2013
Enter Auth Username:caleb
Enter Auth Password:
Wed Oct 2 14:12:07 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Wed Oct 2 14:12:07 2013 Control Channel Authentication: tls-auth using INLINE static key file
Wed Oct 2 14:12:07 2013 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Oct 2 14:12:07 2013 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Oct 2 14:12:07 2013 Socket Buffers: R=[212992->200000] S=[212992->200000]
Wed Oct 2 14:12:07 2013 UDPv4 link local: [undef]
Wed Oct 2 14:12:07 2013 UDPv4 link remote: ---.--.---.---:1194
Wed Oct 2 14:12:07 2013 TLS: Initial packet from ---.--.---.---:1194, sid=28fd1d4a 782100c9
Wed Oct 2 14:12:07 2013 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Wed Oct 2 14:12:07 2013 VERIFY OK: depth=1, /CN=OpenVPN_CA
Wed Oct 2 14:12:07 2013 VERIFY OK: nsCertType=SERVER
Wed Oct 2 14:12:07 2013 VERIFY OK: depth=0, /CN=OpenVPN_Server
Wed Oct 2 14:12:07 2013 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Oct 2 14:12:07 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Oct 2 14:12:07 2013 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Oct 2 14:12:07 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Oct 2 14:12:07 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Wed Oct 2 14:12:07 2013 [OpenVPN_Server] Peer Connection Initiated with ---.--.---.---:1194
Wed Oct 2 14:12:10 2013 SENT CONTROL [OpenVPN_Server]: 'PUSH_REQUEST' (status=1)
Wed Oct 2 14:12:10 2013 PUSH: Received control message: 'PUSH_REPLY,explicit-exit-notify,topology subnet,route-delay 5 30,dhcp-pre-release,dhcp-renew,dhcp-release,route-metric 101,ping 12,ping-restart 50,redirect-gateway def1,redirect-gateway bypass-dhcp,redirect-gateway autolocal,route-gateway 5.5.8.1,dhcp-option DNS 127.0.1.1,register-dns,auth-token SESS_ID,comp-lzo yes,ifconfig 5.5.8.12 255.255.252.0'
Wed Oct 2 14:12:10 2013 Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:4: dhcp-pre-release (2.1.12)
Wed Oct 2 14:12:10 2013 Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:5: dhcp-renew (2.1.12)
Wed Oct 2 14:12:10 2013 Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:6: dhcp-release (2.1.12)
Wed Oct 2 14:12:10 2013 Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:15: register-dns (2.1.12)
Wed Oct 2 14:12:10 2013 OPTIONS IMPORT: timers and/or timeouts modified
Wed Oct 2 14:12:10 2013 OPTIONS IMPORT: explicit notify parm(s) modified
Wed Oct 2 14:12:10 2013 OPTIONS IMPORT: LZO parms modified
Wed Oct 2 14:12:10 2013 OPTIONS IMPORT: --ifconfig/up options modified
Wed Oct 2 14:12:10 2013 OPTIONS IMPORT: route options modified
Wed Oct 2 14:12:10 2013 OPTIONS IMPORT: route-related options modified
Wed Oct 2 14:12:10 2013 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Wed Oct 2 14:12:10 2013 ROUTE_GATEWAY 10.1.0.2/255.255.0.0 IFACE=wlan0 HWADDR=9c:2a:70:66:8a:cd
Wed Oct 2 14:12:10 2013 TUN/TAP device tun1 opened
Wed Oct 2 14:12:10 2013 TUN/TAP TX queue length set to 100
Wed Oct 2 14:12:10 2013 /sbin/ifconfig tun1 5.5.8.12 netmask 255.255.252.0 mtu 1500 broadcast 5.5.11.255
SIOCSIFADDR: No such device
tun1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
SIOCSIFMTU: No such device
SIOCSIFBRDADDR: No such device
tun1: ERROR while getting interface flags: No such device
Wed Oct 2 14:12:10 2013 Linux ifconfig failed: external program exited with error status: 255
Wed Oct 2 14:12:10 2013 Exiting due to fatal error
There was ONE time where it actually stopped and seemed like it was connected. I think traffic was going through, but I got excited and stopped it to see if I could do it again, but to no avail. I've tried a lot of things.. but nothing has been happening. I don't know if it's something with bad DNS direction, or what, but it seems like it's something wrong with dhcp or something. Any help would be appreciated.