I use this script to install OpenVPN on one of my idle VPS server:
https://github.com/Nyr/openvpn-install
Everything was fine. I can access the VPN. When I check the What Is My IP. I can see the VPN IP address.
Here is the problem.
If I reboot the VPS server, I can see traffic is still passing through the client IP (very very slow). Client machine doesn't show the VPN IP address even though the OpenVPN GUI shows CONNECTED SUCCESS. Can't access website. Any idea why?
I have tried many times. I also reinstall the OS. Doesn't fix.
VPS Debian 7 64bit.
OpenVPN Windows client run as administrator.
Sun Jun 22 02:21:04 2014 OpenVPN 2.3.4 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Jun 5 2014
Sun Jun 22 02:21:04 2014 library versions: OpenSSL 1.0.1h 5 Jun 2014, LZO 2.05
Enter Management Password:
Sun Jun 22 02:21:04 2014 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Sun Jun 22 02:21:04 2014 Need hold release from management interface, waiting...
Sun Jun 22 02:21:05 2014 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Sun Jun 22 02:21:05 2014 MANAGEMENT: CMD 'state on'
Sun Jun 22 02:21:05 2014 MANAGEMENT: CMD 'log all on'
Sun Jun 22 02:21:05 2014 MANAGEMENT: CMD 'hold off'
Sun Jun 22 02:21:05 2014 MANAGEMENT: CMD 'hold release'
Sun Jun 22 02:21:12 2014 MANAGEMENT: CMD 'password [...]'
Sun Jun 22 02:21:12 2014 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sun Jun 22 02:21:12 2014 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sun Jun 22 02:21:12 2014 UDPv4 link local: [undef]
Sun Jun 22 02:21:12 2014 UDPv4 link remote: [AF_INET]167.XX.XX.XX:1194
Sun Jun 22 02:21:12 2014 MANAGEMENT: >STATE:1403428872,WAIT,,,
Sun Jun 22 02:21:12 2014 MANAGEMENT: >STATE:1403428872,AUTH,,,
Sun Jun 22 02:21:12 2014 TLS: Initial packet from [AF_INET]167.XX.XX.XX:1194, sid=a2f29ce1 6ebd4679
Sun Jun 22 02:21:22 2014 VERIFY OK: depth=1, C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, OU=changeme, CN=changeme, name=changeme, [email protected]
Sun Jun 22 02:21:22 2014 VERIFY OK: nsCertType=SERVER
Sun Jun 22 02:21:22 2014 Validating certificate key usage
Sun Jun 22 02:21:22 2014 ++ Certificate has key usage 00a0, expects 00a0
Sun Jun 22 02:21:22 2014 VERIFY KU OK
Sun Jun 22 02:21:22 2014 Validating certificate extended key usage
Sun Jun 22 02:21:22 2014 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Sun Jun 22 02:21:22 2014 VERIFY EKU OK
Sun Jun 22 02:21:22 2014 VERIFY OK: depth=0, C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, OU=changeme, CN=changeme, name=changeme, [email protected]
Sun Jun 22 02:21:29 2014 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sun Jun 22 02:21:29 2014 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Jun 22 02:21:29 2014 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sun Jun 22 02:21:29 2014 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Jun 22 02:21:29 2014 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Sun Jun 22 02:21:29 2014 [changeme] Peer Connection Initiated with [AF_INET]167.XX.XX.XX:1194
Sun Jun 22 02:21:30 2014 MANAGEMENT: >STATE:1403428890,GET_CONFIG,,,
Sun Jun 22 02:21:31 2014 SENT CONTROL [changeme]: 'PUSH_REQUEST' (status=1)
Sun Jun 22 02:21:31 2014 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Sun Jun 22 02:21:31 2014 OPTIONS IMPORT: timers and/or timeouts modified
Sun Jun 22 02:21:31 2014 OPTIONS IMPORT: --ifconfig/up options modified
Sun Jun 22 02:21:31 2014 OPTIONS IMPORT: route options modified
Sun Jun 22 02:21:31 2014 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Sun Jun 22 02:21:31 2014 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Sun Jun 22 02:21:31 2014 MANAGEMENT: >STATE:1403428891,ASSIGN_IP,,10.8.0.6,
Sun Jun 22 02:21:31 2014 open_tun, tt->ipv6=0
Sun Jun 22 02:21:31 2014 TAP-WIN32 device [Local Area Connection 3] opened: \\.\Global\{963429AB-77DB-4D6C-B18E-8EE095511B80}.tap
Sun Jun 22 02:21:31 2014 TAP-Windows Driver Version 9.9
Sun Jun 22 02:21:31 2014 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.6/255.255.255.252 on interface {963429AB-77DB-4D6C-B18E-8EE095511B80} [DHCP-serv: 10.8.0.5, lease-time: 31536000]
Sun Jun 22 02:21:31 2014 Successful ARP Flush on interface [18] {963429AB-77DB-4D6C-B18E-8EE095511B80}
Sun Jun 22 02:21:36 2014 TEST ROUTES: 2/2 succeeded len=1 ret=1 a=0 u/d=up
Sun Jun 22 02:21:36 2014 C:\Windows\system32\route.exe ADD 167.XX.XX.XX MASK 255.255.255.255 10.0.0.1
Sun Jun 22 02:21:36 2014 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=10 and dwForwardType=4
Sun Jun 22 02:21:36 2014 Route addition via IPAPI succeeded [adaptive]
Sun Jun 22 02:21:36 2014 C:\Windows\system32\route.exe ADD 10.0.0.1 MASK 255.255.255.255 10.0.0.1 IF 14
Sun Jun 22 02:21:36 2014 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=10 and dwForwardType=4
Sun Jun 22 02:21:36 2014 Route addition via IPAPI succeeded [adaptive]
Sun Jun 22 02:21:36 2014 C:\Windows\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 10.8.0.5
Sun Jun 22 02:21:36 2014 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Sun Jun 22 02:21:36 2014 Route addition via IPAPI succeeded [adaptive]
Sun Jun 22 02:21:36 2014 C:\Windows\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 10.8.0.5
Sun Jun 22 02:21:36 2014 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Sun Jun 22 02:21:36 2014 Route addition via IPAPI succeeded [adaptive]
Sun Jun 22 02:21:36 2014 MANAGEMENT: >STATE:1403428896,ADD_ROUTES,,,
Sun Jun 22 02:21:36 2014 C:\Windows\system32\route.exe ADD 10.8.0.1 MASK 255.255.255.255 10.8.0.5
Sun Jun 22 02:21:36 2014 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Sun Jun 22 02:21:36 2014 Route addition via IPAPI succeeded [adaptive]
Sun Jun 22 02:21:36 2014 Initialization Sequence Completed
Sun Jun 22 02:21:36 2014 MANAGEMENT: >STATE:1403428896,CONNECTED,SUCCESS,10.8.0.6,167.88.47.52
Sun Jun 22 02:23:11 2014 C:\Windows\system32\route.exe DELETE 10.8.0.1 MASK 255.255.255.255 10.8.0.5
Sun Jun 22 02:23:11 2014 Route deletion via IPAPI succeeded [adaptive]
Sun Jun 22 02:23:11 2014 C:\Windows\system32\route.exe DELETE 167.88.47.52 MASK 255.255.255.255 10.0.0.1
Sun Jun 22 02:23:11 2014 Route deletion via IPAPI succeeded [adaptive]
Sun Jun 22 02:23:11 2014 C:\Windows\system32\route.exe DELETE 10.0.0.1 MASK 255.255.255.255 10.0.0.1
Sun Jun 22 02:23:11 2014 Route deletion via IPAPI succeeded [adaptive]
Sun Jun 22 02:23:11 2014 C:\Windows\system32\route.exe DELETE 0.0.0.0 MASK 128.0.0.0 10.8.0.5
Sun Jun 22 02:23:11 2014 Route deletion via IPAPI succeeded [adaptive]
Sun Jun 22 02:23:11 2014 C:\Windows\system32\route.exe DELETE 128.0.0.0 MASK 128.0.0.0 10.8.0.5
Sun Jun 22 02:23:11 2014 Route deletion via IPAPI succeeded [adaptive]
Sun Jun 22 02:23:11 2014 Closing TUN/TAP interface
Sun Jun 22 02:23:11 2014 SIGTERM[hard,] received, process exiting
Sun Jun 22 02:23:11 2014 MANAGEMENT: >STATE:1403428991,EXITING,SIGTERM,,
Please help?
https://github.com/Nyr/openvpn-install
Everything was fine. I can access the VPN. When I check the What Is My IP. I can see the VPN IP address.
Here is the problem.
If I reboot the VPS server, I can see traffic is still passing through the client IP (very very slow). Client machine doesn't show the VPN IP address even though the OpenVPN GUI shows CONNECTED SUCCESS. Can't access website. Any idea why?
I have tried many times. I also reinstall the OS. Doesn't fix.
VPS Debian 7 64bit.
OpenVPN Windows client run as administrator.
Sun Jun 22 02:21:04 2014 OpenVPN 2.3.4 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Jun 5 2014
Sun Jun 22 02:21:04 2014 library versions: OpenSSL 1.0.1h 5 Jun 2014, LZO 2.05
Enter Management Password:
Sun Jun 22 02:21:04 2014 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Sun Jun 22 02:21:04 2014 Need hold release from management interface, waiting...
Sun Jun 22 02:21:05 2014 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Sun Jun 22 02:21:05 2014 MANAGEMENT: CMD 'state on'
Sun Jun 22 02:21:05 2014 MANAGEMENT: CMD 'log all on'
Sun Jun 22 02:21:05 2014 MANAGEMENT: CMD 'hold off'
Sun Jun 22 02:21:05 2014 MANAGEMENT: CMD 'hold release'
Sun Jun 22 02:21:12 2014 MANAGEMENT: CMD 'password [...]'
Sun Jun 22 02:21:12 2014 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sun Jun 22 02:21:12 2014 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sun Jun 22 02:21:12 2014 UDPv4 link local: [undef]
Sun Jun 22 02:21:12 2014 UDPv4 link remote: [AF_INET]167.XX.XX.XX:1194
Sun Jun 22 02:21:12 2014 MANAGEMENT: >STATE:1403428872,WAIT,,,
Sun Jun 22 02:21:12 2014 MANAGEMENT: >STATE:1403428872,AUTH,,,
Sun Jun 22 02:21:12 2014 TLS: Initial packet from [AF_INET]167.XX.XX.XX:1194, sid=a2f29ce1 6ebd4679
Sun Jun 22 02:21:22 2014 VERIFY OK: depth=1, C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, OU=changeme, CN=changeme, name=changeme, [email protected]
Sun Jun 22 02:21:22 2014 VERIFY OK: nsCertType=SERVER
Sun Jun 22 02:21:22 2014 Validating certificate key usage
Sun Jun 22 02:21:22 2014 ++ Certificate has key usage 00a0, expects 00a0
Sun Jun 22 02:21:22 2014 VERIFY KU OK
Sun Jun 22 02:21:22 2014 Validating certificate extended key usage
Sun Jun 22 02:21:22 2014 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Sun Jun 22 02:21:22 2014 VERIFY EKU OK
Sun Jun 22 02:21:22 2014 VERIFY OK: depth=0, C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, OU=changeme, CN=changeme, name=changeme, [email protected]
Sun Jun 22 02:21:29 2014 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sun Jun 22 02:21:29 2014 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Jun 22 02:21:29 2014 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sun Jun 22 02:21:29 2014 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Jun 22 02:21:29 2014 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Sun Jun 22 02:21:29 2014 [changeme] Peer Connection Initiated with [AF_INET]167.XX.XX.XX:1194
Sun Jun 22 02:21:30 2014 MANAGEMENT: >STATE:1403428890,GET_CONFIG,,,
Sun Jun 22 02:21:31 2014 SENT CONTROL [changeme]: 'PUSH_REQUEST' (status=1)
Sun Jun 22 02:21:31 2014 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Sun Jun 22 02:21:31 2014 OPTIONS IMPORT: timers and/or timeouts modified
Sun Jun 22 02:21:31 2014 OPTIONS IMPORT: --ifconfig/up options modified
Sun Jun 22 02:21:31 2014 OPTIONS IMPORT: route options modified
Sun Jun 22 02:21:31 2014 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Sun Jun 22 02:21:31 2014 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Sun Jun 22 02:21:31 2014 MANAGEMENT: >STATE:1403428891,ASSIGN_IP,,10.8.0.6,
Sun Jun 22 02:21:31 2014 open_tun, tt->ipv6=0
Sun Jun 22 02:21:31 2014 TAP-WIN32 device [Local Area Connection 3] opened: \\.\Global\{963429AB-77DB-4D6C-B18E-8EE095511B80}.tap
Sun Jun 22 02:21:31 2014 TAP-Windows Driver Version 9.9
Sun Jun 22 02:21:31 2014 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.6/255.255.255.252 on interface {963429AB-77DB-4D6C-B18E-8EE095511B80} [DHCP-serv: 10.8.0.5, lease-time: 31536000]
Sun Jun 22 02:21:31 2014 Successful ARP Flush on interface [18] {963429AB-77DB-4D6C-B18E-8EE095511B80}
Sun Jun 22 02:21:36 2014 TEST ROUTES: 2/2 succeeded len=1 ret=1 a=0 u/d=up
Sun Jun 22 02:21:36 2014 C:\Windows\system32\route.exe ADD 167.XX.XX.XX MASK 255.255.255.255 10.0.0.1
Sun Jun 22 02:21:36 2014 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=10 and dwForwardType=4
Sun Jun 22 02:21:36 2014 Route addition via IPAPI succeeded [adaptive]
Sun Jun 22 02:21:36 2014 C:\Windows\system32\route.exe ADD 10.0.0.1 MASK 255.255.255.255 10.0.0.1 IF 14
Sun Jun 22 02:21:36 2014 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=10 and dwForwardType=4
Sun Jun 22 02:21:36 2014 Route addition via IPAPI succeeded [adaptive]
Sun Jun 22 02:21:36 2014 C:\Windows\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 10.8.0.5
Sun Jun 22 02:21:36 2014 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Sun Jun 22 02:21:36 2014 Route addition via IPAPI succeeded [adaptive]
Sun Jun 22 02:21:36 2014 C:\Windows\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 10.8.0.5
Sun Jun 22 02:21:36 2014 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Sun Jun 22 02:21:36 2014 Route addition via IPAPI succeeded [adaptive]
Sun Jun 22 02:21:36 2014 MANAGEMENT: >STATE:1403428896,ADD_ROUTES,,,
Sun Jun 22 02:21:36 2014 C:\Windows\system32\route.exe ADD 10.8.0.1 MASK 255.255.255.255 10.8.0.5
Sun Jun 22 02:21:36 2014 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Sun Jun 22 02:21:36 2014 Route addition via IPAPI succeeded [adaptive]
Sun Jun 22 02:21:36 2014 Initialization Sequence Completed
Sun Jun 22 02:21:36 2014 MANAGEMENT: >STATE:1403428896,CONNECTED,SUCCESS,10.8.0.6,167.88.47.52
Sun Jun 22 02:23:11 2014 C:\Windows\system32\route.exe DELETE 10.8.0.1 MASK 255.255.255.255 10.8.0.5
Sun Jun 22 02:23:11 2014 Route deletion via IPAPI succeeded [adaptive]
Sun Jun 22 02:23:11 2014 C:\Windows\system32\route.exe DELETE 167.88.47.52 MASK 255.255.255.255 10.0.0.1
Sun Jun 22 02:23:11 2014 Route deletion via IPAPI succeeded [adaptive]
Sun Jun 22 02:23:11 2014 C:\Windows\system32\route.exe DELETE 10.0.0.1 MASK 255.255.255.255 10.0.0.1
Sun Jun 22 02:23:11 2014 Route deletion via IPAPI succeeded [adaptive]
Sun Jun 22 02:23:11 2014 C:\Windows\system32\route.exe DELETE 0.0.0.0 MASK 128.0.0.0 10.8.0.5
Sun Jun 22 02:23:11 2014 Route deletion via IPAPI succeeded [adaptive]
Sun Jun 22 02:23:11 2014 C:\Windows\system32\route.exe DELETE 128.0.0.0 MASK 128.0.0.0 10.8.0.5
Sun Jun 22 02:23:11 2014 Route deletion via IPAPI succeeded [adaptive]
Sun Jun 22 02:23:11 2014 Closing TUN/TAP interface
Sun Jun 22 02:23:11 2014 SIGTERM[hard,] received, process exiting
Sun Jun 22 02:23:11 2014 MANAGEMENT: >STATE:1403428991,EXITING,SIGTERM,,
Please help?
Last edited by a moderator: