I created a VPN on my droplet but I can't connect

February 6, 2018 617 views
VPN Ubuntu 16.04

Hi guys, I installed VPN on droplet and I get the error when I try to connect with OpenVpn

Log:

Wed Feb 07 03:40:37 2018 OpenVPN 2.4.4 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Sep 26 2017
Wed Feb 07 03:40:37 2018 Windows version 6.2 (Windows 8 or greater) 64bit
Wed Feb 07 03:40:37 2018 library versions: OpenSSL 1.0.2l  25 May 2017, LZO 2.10
Enter Management Password:
Wed Feb 07 03:40:37 2018 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Wed Feb 07 03:40:37 2018 Need hold release from management interface, waiting...
Wed Feb 07 03:40:38 2018 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Wed Feb 07 03:40:38 2018 MANAGEMENT: CMD 'state on'
Wed Feb 07 03:40:38 2018 MANAGEMENT: CMD 'log all on'
Wed Feb 07 03:40:38 2018 MANAGEMENT: CMD 'echo all on'
Wed Feb 07 03:40:38 2018 MANAGEMENT: CMD 'hold off'
Wed Feb 07 03:40:38 2018 MANAGEMENT: CMD 'hold release'
Wed Feb 07 03:40:38 2018 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Wed Feb 07 03:40:38 2018 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Wed Feb 07 03:40:38 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]174.138.59.126:1194
Wed Feb 07 03:40:38 2018 Socket Buffers: R=[65536->65536] S=[65536->65536]
Wed Feb 07 03:40:38 2018 UDP link local: (not bound)
Wed Feb 07 03:40:38 2018 UDP link remote: [AF_INET]174.138.59.126:1194
Wed Feb 07 03:40:38 2018 MANAGEMENT: >STATE:1517953238,WAIT,,,,,,
Wed Feb 07 03:40:38 2018 MANAGEMENT: >STATE:1517953238,AUTH,,,,,,
Wed Feb 07 03:40:38 2018 TLS: Initial packet from [AF_INET]174.138.59.126:1194, sid=cea52266 1feb5a9a
Wed Feb 07 03:40:38 2018 VERIFY OK: depth=1, CN=ChangeMe
Wed Feb 07 03:40:38 2018 VERIFY KU OK
Wed Feb 07 03:40:38 2018 Validating certificate extended key usage
Wed Feb 07 03:40:38 2018 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Wed Feb 07 03:40:38 2018 VERIFY EKU OK
Wed Feb 07 03:40:38 2018 VERIFY OK: depth=0, CN=server
Wed Feb 07 03:40:39 2018 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Wed Feb 07 03:40:39 2018 [server] Peer Connection Initiated with [AF_INET]174.138.59.126:1194
Wed Feb 07 03:40:40 2018 MANAGEMENT: >STATE:1517953240,GET_CONFIG,,,,,,
Wed Feb 07 03:40:40 2018 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Wed Feb 07 03:40:40 2018 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 67.207.67.2,dhcp-option DNS 67.207.67.3,route-gateway 10.8.0.1,topology subnet,ping 10,ping-restart 120,ifconfig 10.8.0.2 255.255.255.0'
Wed Feb 07 03:40:40 2018 OPTIONS IMPORT: timers and/or timeouts modified
Wed Feb 07 03:40:40 2018 OPTIONS IMPORT: --ifconfig/up options modified
Wed Feb 07 03:40:40 2018 OPTIONS IMPORT: route options modified
Wed Feb 07 03:40:40 2018 OPTIONS IMPORT: route-related options modified
Wed Feb 07 03:40:40 2018 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Wed Feb 07 03:40:40 2018 Outgoing Data Channel: Cipher 'AES-256-CBC' initialized with 256 bit key
Wed Feb 07 03:40:40 2018 Outgoing Data Channel: Using 512 bit message hash 'SHA512' for HMAC authentication
Wed Feb 07 03:40:40 2018 Incoming Data Channel: Cipher 'AES-256-CBC' initialized with 256 bit key
Wed Feb 07 03:40:40 2018 Incoming Data Channel: Using 512 bit message hash 'SHA512' for HMAC authentication
Wed Feb 07 03:40:40 2018 interactive service msg_channel=0
Wed Feb 07 03:40:40 2018 ROUTE_GATEWAY 192.168.0.1/255.255.255.0 I=18 HWADDR=68:14:01:0e:e9:17
Wed Feb 07 03:40:40 2018 open_tun
Wed Feb 07 03:40:40 2018 TAP-WIN32 device [Ethernet 4] opened: \\.\Global\{94D29C8C-E7BE-4C66-BF25-50A1FDC6B116}.tap
Wed Feb 07 03:40:40 2018 TAP-Windows Driver Version 9.21 
Wed Feb 07 03:40:40 2018 Set TAP-Windows TUN subnet mode network/local/netmask = 10.8.0.0/10.8.0.2/255.255.255.0 [SUCCEEDED]
Wed Feb 07 03:40:40 2018 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.2/255.255.255.0 on interface {94D29C8C-E7BE-4C66-BF25-50A1FDC6B116} [DHCP-serv: 10.8.0.254, lease-time: 31536000]
Wed Feb 07 03:40:40 2018 Successful ARP Flush on interface [14] {94D29C8C-E7BE-4C66-BF25-50A1FDC6B116}
Wed Feb 07 03:40:40 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Wed Feb 07 03:40:40 2018 MANAGEMENT: >STATE:1517953240,ASSIGN_IP,,10.8.0.2,,,,
Wed Feb 07 03:40:40 2018 Block_DNS: WFP engine opened
Wed Feb 07 03:40:40 2018 Block_DNS: Using existing sublayer
Wed Feb 07 03:40:40 2018 Block_DNS: Added permit filters for exe_path
Wed Feb 07 03:40:40 2018 Block_DNS: Added block filters for all interfaces
Wed Feb 07 03:40:40 2018 Block_DNS: Added permit filters for TAP interface
Wed Feb 07 03:40:45 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:40:45 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:40:50 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:40:50 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:40:51 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:40:51 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:40:53 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:40:53 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:40:54 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:40:54 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:40:55 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:40:55 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:40:56 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:40:56 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:40:57 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:40:57 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:40:59 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:40:59 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:41:00 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:41:00 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:41:01 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:41:01 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:41:02 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:41:02 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:41:03 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:41:03 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:41:04 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:41:04 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:41:06 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:41:06 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:41:07 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:41:07 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:41:08 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:41:08 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:41:09 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:41:09 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:41:10 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:41:10 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:41:11 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:41:11 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:41:12 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:41:12 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:41:13 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:41:13 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:41:14 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:41:14 2018 Route: Waiting for TUN/TAP interface to come up...
Wed Feb 07 03:41:16 2018 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Wed Feb 07 03:41:16 2018 C:\Windows\system32\route.exe ADD 174.138.59.126 MASK 255.255.255.255 192.168.0.1
Wed Feb 07 03:41:16 2018 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=50 and dwForwardType=4
Wed Feb 07 03:41:16 2018 Route addition via IPAPI succeeded [adaptive]
Wed Feb 07 03:41:16 2018 C:\Windows\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 10.8.0.1
Wed Feb 07 03:41:16 2018 Warning: route gateway is not reachable on any active network adapters: 10.8.0.1
Wed Feb 07 03:41:16 2018 Route addition via IPAPI failed [adaptive]
Wed Feb 07 03:41:16 2018 Route addition fallback to route.exe
Wed Feb 07 03:41:16 2018 env_block: add PATH=C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem
Wed Feb 07 03:41:16 2018 C:\Windows\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 10.8.0.1
Wed Feb 07 03:41:16 2018 Warning: route gateway is not reachable on any active network adapters: 10.8.0.1
Wed Feb 07 03:41:16 2018 Route addition via IPAPI failed [adaptive]
Wed Feb 07 03:41:16 2018 Route addition fallback to route.exe
Wed Feb 07 03:41:16 2018 env_block: add PATH=C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem
Wed Feb 07 03:41:16 2018 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
SYSTEM ROUTING TABLE
0.0.0.0 0.0.0.0 192.168.0.1 p=0 i=18 t=4 pr=3 a=7400 h=0 m=50/0/0/0/0
0.0.0.0 128.0.0.0 10.8.0.1 p=0 i=18 t=4 pr=3 a=0 h=0 m=51/0/0/0/0
127.0.0.0 255.0.0.0 127.0.0.1 p=0 i=1 t=3 pr=2 a=7467 h=0 m=331/0/0/0/0
127.0.0.1 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=2 a=7467 h=0 m=331/0/0/0/0
127.255.255.255 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=2 a=7467 h=0 m=331/0/0/0/0
128.0.0.0 128.0.0.0 10.8.0.1 p=0 i=18 t=4 pr=3 a=0 h=0 m=51/0/0/0/0
169.254.0.0 255.255.0.0 169.254.225.217 p=0 i=14 t=3 pr=2 a=7449 h=0 m=259/0/0/0/0
169.254.225.217 255.255.255.255 169.254.225.217 p=0 i=14 t=3 pr=2 a=7449 h=0 m=259/0/0/0/0
169.254.255.255 255.255.255.255 169.254.225.217 p=0 i=14 t=3 pr=2 a=7449 h=0 m=259/0/0/0/0
174.138.59.126 255.255.255.255 192.168.0.1 p=0 i=18 t=4 pr=3 a=0 h=0 m=50/0/0/0/0
192.168.0.0 255.255.255.0 192.168.0.113 p=0 i=18 t=3 pr=2 a=7400 h=0 m=306/0/0/0/0
192.168.0.113 255.255.255.255 192.168.0.113 p=0 i=18 t=3 pr=2 a=7400 h=0 m=306/0/0/0/0
192.168.0.255 255.255.255.255 192.168.0.113 p=0 i=18 t=3 pr=2 a=7400 h=0 m=306/0/0/0/0
224.0.0.0 240.0.0.0 127.0.0.1 p=0 i=1 t=3 pr=2 a=7467 h=0 m=331/0/0/0/0
224.0.0.0 240.0.0.0 169.254.225.217 p=0 i=14 t=3 pr=2 a=7459 h=0 m=259/0/0/0/0
224.0.0.0 240.0.0.0 192.168.0.113 p=0 i=18 t=3 pr=2 a=7433 h=0 m=306/0/0/0/0
255.255.255.255 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=2 a=7467 h=0 m=331/0/0/0/0
255.255.255.255 255.255.255.255 169.254.225.217 p=0 i=14 t=3 pr=2 a=7459 h=0 m=259/0/0/0/0
255.255.255.255 255.255.255.255 192.168.0.113 p=0 i=18 t=3 pr=2 a=7433 h=0 m=306/0/0/0/0
SYSTEM ADAPTER LIST
Realtek PCIe GBE Family Controller
  Index = 5
  GUID = {3957E921-9F47-4E87-BAB7-7AA9BAC9186C}
  IP = 0.0.0.0/0.0.0.0 
  MAC = 70:5a:0f:d0:2d:ad
  GATEWAY = 0.0.0.0/255.255.255.255 
  DHCP SERV =  
  DHCP LEASE OBTAINED = Wed Feb 07 03:41:16 2018
  DHCP LEASE EXPIRES  = Wed Feb 07 03:41:16 2018
  DNS SERV =  
Bluetooth Device (Personal Area Network)
  Index = 20
  GUID = {F2C53898-B9C8-4159-8121-01ADD64B6179}
  IP = 0.0.0.0/0.0.0.0 
  MAC = 68:14:01:0e:e9:18
  GATEWAY = 0.0.0.0/255.255.255.255 
  DHCP SERV =  
  DHCP LEASE OBTAINED = Wed Feb 07 03:41:16 2018
  DHCP LEASE EXPIRES  = Wed Feb 07 03:41:16 2018
  DNS SERV =  
HMA TAP-Windows Adapter V9
  Index = 19
  GUID = {EC62E3E6-9639-4C39-B965-D2F1AC8F7D97}
  IP = 0.0.0.0/0.0.0.0 
  MAC = 00:ff:ec:62:e3:e6
  GATEWAY = 0.0.0.0/255.255.255.255 
  DHCP SERV =  
  DHCP LEASE OBTAINED = Wed Feb 07 03:41:16 2018
  DHCP LEASE EXPIRES  = Wed Feb 07 03:41:16 2018
  DNS SERV =  
TAP-Windows Adapter V9
  Index = 14
  GUID = {94D29C8C-E7BE-4C66-BF25-50A1FDC6B116}
  IP = 169.254.225.217/255.255.0.0 
  MAC = 00:ff:94:d2:9c:8c
  GATEWAY = 0.0.0.0/255.255.255.255 
  DHCP SERV = 0.0.0.0/255.255.255.255 
  DHCP LEASE OBTAINED = Wed Feb 07 03:41:16 2018
  DHCP LEASE EXPIRES  = Wed Feb 07 03:41:16 2018
  DNS SERV =  
Realtek RTL8723BE 802.11 bgn Wi-Fi Adapter
  Index = 18
  GUID = {CFEF4926-0540-40CA-B0C4-08728077CCA4}
  IP = 192.168.0.113/255.255.255.0 
  MAC = 68:14:01:0e:e9:17
  GATEWAY = 192.168.0.1/255.255.255.255 
  DHCP SERV = 192.168.0.1/255.255.255.255 
  DHCP LEASE OBTAINED = Wed Feb 07 03:37:55 2018
  DHCP LEASE EXPIRES  = Wed Feb 07 05:37:55 2018
  DNS SERV = 192.168.0.1/255.255.255.255 
Microsoft Wi-Fi Direct Virtual Adapter
  Index = 2
  GUID = {10618A8C-749B-41CF-9539-31A82A2731DE}
  IP = 0.0.0.0/0.0.0.0 
  MAC = 6a:14:01:0e:e9:17
  GATEWAY = 0.0.0.0/255.255.255.255 
  DHCP SERV =  
  DHCP LEASE OBTAINED = Wed Feb 07 03:41:16 2018
  DHCP LEASE EXPIRES  = Wed Feb 07 03:41:16 2018
  DNS SERV =  
Wed Feb 07 03:41:16 2018 Initialization Sequence Completed With Errors ( see http://openvpn.net/faq.html#dhcpclientserv )
Wed Feb 07 03:41:16 2018 MANAGEMENT: >STATE:1517953276,CONNECTED,ERROR,10.8.0.2,174.138.59.126,1194,,
1 Answer

Could you share more information about the error other than "I get the error"?

Have another answer? Share your knowledge.