Hi,
Newbie here looking for some help setting up a a OpenVPN client (not server) to connect to a VPN service I already subscribe to.
The VPS is running Ubuntu 14.04.3 LTS, OpenVZ is being used for the virtualization.
TUN/TAP module is enabled
root@myvps:~# cat /dev/net/tun
cat: /dev/net/tun: File descriptor in bad state
I get the below error with no firewall or ip tables inplace
root@myvps:/etc/openvpn# openvpn 'london.ovpn'
Thu Sep 24 05:07:28 2015 OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Dec 1 2014
Enter Auth Username:
Enter Auth Password:
Thu Sep 24 05:07:38 2015 UDPv4 link local: [undef]
Thu Sep 24 05:07:38 2015 UDPv4 link remote: [AF_INET]146.185.20.156:1194
Thu Sep 24 05:07:38 2015 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Thu Sep 24 05:07:39 2015 [Private Internet Access] Peer Connection Initiated with [AF_INET]146.185.20.156:1194
Thu Sep 24 05:07:41 2015 TUN/TAP device tun0 opened
Thu Sep 24 05:07:41 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Sep 24 05:07:41 2015 /sbin/ip link set dev tun0 up mtu 1500
Thu Sep 24 05:07:41 2015 /sbin/ip addr add dev tun0 local 10.197.1.6 peer 10.197.1.5
RTNETLINK answers: No such device
Thu Sep 24 05:07:41 2015 ERROR: Linux route add command failed: external program exited with error status: 2
some more out put that might be helpful
root@myvps:~# ip route
default dev venet0 scope link
root@panda:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 venet0
Any help would be much appreciated, please let me know if these is more info I can give.
Cheers!