External Program Exited with error status: 2

Hi, I am having some difficulties connecting to the vpn. I have tried switching EU > US and vice versa and also regenerating multiple times yet I am having no luck.

[email protected]:~/Downloads# sudo openvpn Starley.ovpn
Mon May 6 19:12:54 2019 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 20 2019
Mon May 6 19:12:54 2019 library versions: OpenSSL 1.1.1a 20 Nov 2018, LZO 2.10
Mon May 6 19:12:54 2019 Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
Mon May 6 19:12:54 2019 Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
Mon May 6 19:12:54 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]51.79.40.240:1337
Mon May 6 19:12:54 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
Mon May 6 19:12:54 2019 UDP link local: (not bound)
Mon May 6 19:12:54 2019 UDP link remote: [AF_INET]51.79.40.240:1337
Mon May 6 19:12:54 2019 TLS: Initial packet from [AF_INET]51.79.40.240:1337, sid=1e8c76aa c99aee7a
Mon May 6 19:12:55 2019 VERIFY OK: depth=1, C=UK, ST=City, L=London, O=HackTheBox, CN=HackTheBox CA, name=htb, [email protected]
Mon May 6 19:12:55 2019 VERIFY KU OK
Mon May 6 19:12:55 2019 Validating certificate extended key usage
Mon May 6 19:12:55 2019 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Mon May 6 19:12:55 2019 VERIFY EKU OK
Mon May 6 19:12:55 2019 VERIFY OK: depth=0, C=UK, ST=City, L=London, O=HackTheBox, CN=htb, name=htb, [email protected]
Mon May 6 19:12:55 2019 Control Channel: TLSv1.2, cipher TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Mon May 6 19:12:55 2019 [htb] Peer Connection Initiated with [AF_INET]51.79.40.240:1337
Mon May 6 19:12:56 2019 SENT CONTROL [htb]: 'PUSH_REQUEST' (status=1)
Mon May 6 19:12:56 2019 PUSH: Received control message: 'PUSH_REPLY,route 10.10.10.0 255.255.255.0,route-ipv6 dead:beef::/64,tun-ipv6,route-gateway 10.10.14.1,topology subnet,ping 10,ping-restart 120,ifconfig-ipv6 dead:beef:2::119b/64 dead:beef:2::1,ifconfig 10.10.15.157 255.255.254.0,peer-id 19,cipher AES-256-GCM'
Mon May 6 19:12:56 2019 OPTIONS IMPORT: timers and/or timeouts modified
Mon May 6 19:12:56 2019 OPTIONS IMPORT: --ifconfig/up options modified
Mon May 6 19:12:56 2019 OPTIONS IMPORT: route options modified
Mon May 6 19:12:56 2019 OPTIONS IMPORT: route-related options modified
Mon May 6 19:12:56 2019 OPTIONS IMPORT: peer-id set
Mon May 6 19:12:56 2019 OPTIONS IMPORT: adjusting link_mtu to 1625
Mon May 6 19:12:56 2019 OPTIONS IMPORT: data channel crypto options modified
Mon May 6 19:12:56 2019 Data Channel: using negotiated cipher 'AES-256-GCM'
Mon May 6 19:12:56 2019 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Mon May 6 19:12:56 2019 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Mon May 6 19:12:56 2019 ROUTE_GATEWAY 10.0.2.2/255.255.255.0 IFACE=eth0 HWADDR=08:00:27:f8:42:a7
Mon May 6 19:12:56 2019 GDG6: remote_host_ipv6=n/a
Mon May 6 19:12:56 2019 ROUTE6: default_gateway=UNDEF
Mon May 6 19:12:56 2019 TUN/TAP device tun7 opened
Mon May 6 19:12:56 2019 TUN/TAP TX queue length set to 100
Mon May 6 19:12:56 2019 /sbin/ip link set dev tun7 up mtu 1500
Mon May 6 19:12:56 2019 /sbin/ip addr add dev tun7 10.10.15.157/23 broadcast 10.10.15.255
Mon May 6 19:12:56 2019 /sbin/ip -6 addr add dead:beef:2::119b/64 dev tun7
Mon May 6 19:12:56 2019 /sbin/ip route add 10.10.10.0/24 via 10.10.14.1
RTNETLINK answers: File exists
Mon May 6 19:12:56 2019 ERROR: Linux route add command failed: external program exited with error status: 2
Mon May 6 19:12:56 2019 add_route_ipv6(dead:beef::/64 -> dead:beef:2::1 metric -1) dev tun7
Mon May 6 19:12:56 2019 /sbin/ip -6 route add dead:beef::/64 dev tun7
RTNETLINK answers: File exists
Mon May 6 19:12:56 2019 ERROR: Linux route -6/-A inet6 add command failed: external program exited with error status: 2
Mon May 6 19:12:56 2019 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Mon May 6 19:12:56 2019 Initialization Sequence Completed

If anyone can help It will be greatly appreciated :)

Sign In to comment.