Jump to content
Not connected, Your IP: 13.58.252.8
Sign in to follow this  

Recommended Posts

I have OpenVPN running on 2 PCs under Ubuntu 13.04 32bit and these connect to AirVPN without a problem. I also have OpenVPN running on 2 PCs under Win7 64bit and although a connection is apparently to made to AirVPN I do not believe any tunnelling is taking place. My test is to see if the systems can connect to The Pirate Bay (TPB) and Hulu. The Ubuntu systems pass the test. The Win7 systems fail the test. My ISP blocking on TPB works and Hulu can tell where I am. Any suggestions would be gratefully received. Thank you.

Share this post


Link to post

Here you go. Anyone see anything obviously missing or wrong? Thank you.

 

Tue May 28 15:04:26 2013 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340

Tue May 28 15:04:26 2013 Need hold release from management interface, waiting...

Tue May 28 15:04:27 2013 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340

Tue May 28 15:04:27 2013 MANAGEMENT: CMD 'state on'

Tue May 28 15:04:27 2013 MANAGEMENT: CMD 'log all on'

Tue May 28 15:04:27 2013 MANAGEMENT: CMD 'hold off'

Tue May 28 15:04:27 2013 MANAGEMENT: CMD 'hold release'

Tue May 28 15:04:27 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables

Tue May 28 15:04:27 2013 Socket Buffers: R=[8192->8192] S=[64512->64512]

Tue May 28 15:04:27 2013 UDPv4 link local: [undef]

Tue May 28 15:04:27 2013 UDPv4 link remote: [AF_INET]31.193.12.98:443

Tue May 28 15:04:27 2013 MANAGEMENT: >STATE:1369749867,WAIT,,,

Tue May 28 15:04:27 2013 MANAGEMENT: >STATE:1369749867,AUTH,,,

Tue May 28 15:04:27 2013 TLS: Initial packet from [AF_INET]31.193.12.98:443, sid=6c72bb35 dde42240

Tue May 28 15:04:27 2013 VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org

Tue May 28 15:04:27 2013 VERIFY OK: nsCertType=SERVER

Tue May 28 15:04:27 2013 VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=server, emailAddress=info@airvpn.org

Tue May 28 15:04:28 2013 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key

Tue May 28 15:04:28 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication

Tue May 28 15:04:28 2013 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key

Tue May 28 15:04:28 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication

Tue May 28 15:04:28 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA

Tue May 28 15:04:28 2013 [server] Peer Connection Initiated with [AF_INET]31.193.12.98:443

Tue May 28 15:04:29 2013 MANAGEMENT: >STATE:1369749869,GET_CONFIG,,,

Tue May 28 15:04:30 2013 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)

Tue May 28 15:04:30 2013 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.4.0.1,comp-lzo no,route 10.4.0.1,topology net30,ping 10,ping-restart 60,ifconfig 10.4.45.142 10.4.45.141'

Tue May 28 15:04:30 2013 OPTIONS IMPORT: timers and/or timeouts modified

Tue May 28 15:04:30 2013 OPTIONS IMPORT: LZO parms modified

Tue May 28 15:04:30 2013 OPTIONS IMPORT: --ifconfig/up options modified

Tue May 28 15:04:30 2013 OPTIONS IMPORT: route options modified

Tue May 28 15:04:30 2013 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified

Tue May 28 15:04:30 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0

Tue May 28 15:04:30 2013 MANAGEMENT: >STATE:1369749870,ASSIGN_IP,,10.4.45.142,

Tue May 28 15:04:30 2013 open_tun, tt->ipv6=0

Tue May 28 15:04:30 2013 TAP-WIN32 device [Local Area Connection 2] opened: \\.\Global\{B2DEBB6E-282F-4981-8ADF-8A22A6F8BD93}.tap

Tue May 28 15:04:30 2013 TAP-Windows Driver Version 9.9

Tue May 28 15:04:30 2013 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.4.45.142/255.255.255.252 on interface {B2DEBB6E-282F-4981-8ADF-8A22A6F8BD93} [DHCP-serv: 10.4.45.141, lease-time: 31536000]

Tue May 28 15:04:30 2013 NOTE: FlushIpNetTable failed on interface [19] {B2DEBB6E-282F-4981-8ADF-8A22A6F8BD93} (status=5) : Access is denied.

Tue May 28 15:04:35 2013 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down

Tue May 28 15:04:35 2013 Route: Waiting for TUN/TAP interface to come up...

Tue May 28 15:04:40 2013 TEST ROUTES: 2/2 succeeded len=1 ret=1 a=0 u/d=up

Tue May 28 15:04:40 2013 C:\Windows\system32\route.exe ADD 31.193.12.98 MASK 255.255.255.255 192.168.2.1

Tue May 28 15:04:40 2013 ROUTE: route addition failed using CreateIpForwardEntry: Access is denied. [status=5 if_index=13]

Tue May 28 15:04:40 2013 Route addition via IPAPI failed [adaptive]

Tue May 28 15:04:40 2013 Route addition fallback to route.exe

Tue May 28 15:04:40 2013 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem

Tue May 28 15:04:40 2013 ERROR: Windows route add command failed [adaptive]: returned error code 1

Tue May 28 15:04:40 2013 C:\Windows\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 10.4.45.141

Tue May 28 15:04:40 2013 ROUTE: route addition failed using CreateIpForwardEntry: Access is denied. [status=5 if_index=19]

Tue May 28 15:04:40 2013 Route addition via IPAPI failed [adaptive]

Tue May 28 15:04:40 2013 Route addition fallback to route.exe

Tue May 28 15:04:40 2013 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem

Tue May 28 15:04:40 2013 ERROR: Windows route add command failed [adaptive]: returned error code 1

Tue May 28 15:04:40 2013 C:\Windows\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 10.4.45.141

Tue May 28 15:04:40 2013 ROUTE: route addition failed using CreateIpForwardEntry: Access is denied. [status=5 if_index=19]

Tue May 28 15:04:40 2013 Route addition via IPAPI failed [adaptive]

Tue May 28 15:04:40 2013 Route addition fallback to route.exe

Tue May 28 15:04:40 2013 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem

Tue May 28 15:04:40 2013 ERROR: Windows route add command failed [adaptive]: returned error code 1

Tue May 28 15:04:40 2013 MANAGEMENT: >STATE:1369749880,ADD_ROUTES,,,

Tue May 28 15:04:40 2013 C:\Windows\system32\route.exe ADD 10.4.0.1 MASK 255.255.255.255 10.4.45.141

Tue May 28 15:04:40 2013 ROUTE: route addition failed using CreateIpForwardEntry: Access is denied. [status=5 if_index=19]

Tue May 28 15:04:40 2013 Route addition via IPAPI failed [adaptive]

Tue May 28 15:04:40 2013 Route addition fallback to route.exe

Tue May 28 15:04:40 2013 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem

Tue May 28 15:04:40 2013 ERROR: Windows route add command failed [adaptive]: returned error code 1

Tue May 28 15:04:40 2013 Initialization Sequence Completed

Tue May 28 15:04:40 2013 MANAGEMENT: >STATE:1369749880,CONNECTED,SUCCESS,10.4.45.142,31.193.12.98

Share this post


Link to post

Hello,

 

the problem is here:

 

 

Tue May 28 15:04:30 2013 NOTE: FlushIpNetTable failed on interface [19] {B2DEBB6E-282F-4981-8ADF-8A22A6F8BD93} (status=5) : Access is denied.

 

Try to run OpenVPN (or OpenVPN GUI) with administrator privileges.

 

Kind regards

Share this post


Link to post

Please mark as solved. That worked. Bearing in mind that I am an idiot, please explain why. Thank you.

Share this post


Link to post

Oh FFS! One of the PCs running Win7 64bit will connect and tunnel as long as I run OpenVPN as Administrator. The other repeatedly fails to connect when I run OpenVPN as Administrator and this is the log of the failure. Thanks for any help.

 

Tue May 28 18:09:29 2013 OpenVPN 2.3.1 x86_64-w64-mingw32 [sSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [iPv6] built on Mar 28 2013
Enter Management Password:
Tue May 28 18:09:29 2013 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Tue May 28 18:09:29 2013 Need hold release from management interface, waiting...
Tue May 28 18:09:29 2013 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Tue May 28 18:09:30 2013 MANAGEMENT: CMD 'state on'
Tue May 28 18:09:30 2013 MANAGEMENT: CMD 'log all on'
Tue May 28 18:09:30 2013 MANAGEMENT: CMD 'hold off'
Tue May 28 18:09:30 2013 MANAGEMENT: CMD 'hold release'
Tue May 28 18:09:30 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue May 28 18:09:30 2013 Socket Buffers: R=[8192->8192] S=[64512->64512]
Tue May 28 18:09:30 2013 UDPv4 link local: [undef]
Tue May 28 18:09:30 2013 UDPv4 link remote: [AF_INET]84.39.116.179:443
Tue May 28 18:09:30 2013 MANAGEMENT: >STATE:1369760970,WAIT,,,
Tue May 28 18:09:30 2013 MANAGEMENT: >STATE:1369760970,AUTH,,,
Tue May 28 18:09:30 2013 TLS: Initial packet from [AF_INET]84.39.116.179:443, sid=b0dbf671 21d8f139
Tue May 28 18:09:30 2013 VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
Tue May 28 18:09:30 2013 VERIFY OK: nsCertType=SERVER
Tue May 28 18:09:30 2013 VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=server, emailAddress=info@airvpn.org
Tue May 28 18:09:31 2013 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Tue May 28 18:09:31 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue May 28 18:09:31 2013 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Tue May 28 18:09:31 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue May 28 18:09:31 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Tue May 28 18:09:31 2013 [server] Peer Connection Initiated with [AF_INET]84.39.116.179:443
Tue May 28 18:09:32 2013 MANAGEMENT: >STATE:1369760972,GET_CONFIG,,,
Tue May 28 18:09:33 2013 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue May 28 18:09:33 2013 AUTH: Received control message: AUTH_FAILED
Tue May 28 18:09:33 2013 SIGUSR1[soft,auth-failure] received, process restarting
Tue May 28 18:09:33 2013 MANAGEMENT: >STATE:1369760973,RECONNECTING,auth-failure,,
Tue May 28 18:09:33 2013 Restart pause, 2 second(s)
Tue May 28 18:09:35 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue May 28 18:09:35 2013 Socket Buffers: R=[8192->8192] S=[64512->64512]
Tue May 28 18:09:35 2013 UDPv4 link local: [undef]
Tue May 28 18:09:35 2013 UDPv4 link remote: [AF_INET]84.39.116.179:443
Tue May 28 18:09:35 2013 MANAGEMENT: >STATE:1369760975,WAIT,,,
Tue May 28 18:09:35 2013 MANAGEMENT: >STATE:1369760975,AUTH,,,
Tue May 28 18:09:35 2013 TLS: Initial packet from [AF_INET]84.39.116.179:443, sid=efe440df 0c69eb77
Tue May 28 18:09:35 2013 VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
Tue May 28 18:09:35 2013 VERIFY OK: nsCertType=SERVER
Tue May 28 18:09:35 2013 VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=server, emailAddress=info@airvpn.org
Tue May 28 18:09:36 2013 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Tue May 28 18:09:36 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue May 28 18:09:36 2013 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Tue May 28 18:09:36 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue May 28 18:09:36 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Tue May 28 18:09:36 2013 [server] Peer Connection Initiated with [AF_INET]84.39.116.179:443
Tue May 28 18:09:38 2013 MANAGEMENT: >STATE:1369760978,GET_CONFIG,,,
Tue May 28 18:09:39 2013 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue May 28 18:09:39 2013 AUTH: Received control message: AUTH_FAILED
Tue May 28 18:09:39 2013 SIGUSR1[soft,auth-failure] received, process restarting
Tue May 28 18:09:39 2013 MANAGEMENT: >STATE:1369760979,RECONNECTING,auth-failure,,
Tue May 28 18:09:39 2013 Restart pause, 2 second(s)
Tue May 28 18:09:39 2013 MANAGEMENT: CMD 'auth-retry none'
Tue May 28 18:09:41 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue May 28 18:09:41 2013 Socket Buffers: R=[8192->8192] S=[64512->64512]
Tue May 28 18:09:41 2013 UDPv4 link local: [undef]
Tue May 28 18:09:41 2013 UDPv4 link remote: [AF_INET]84.39.116.179:443
Tue May 28 18:09:41 2013 MANAGEMENT: >STATE:1369760981,WAIT,,,
Tue May 28 18:09:41 2013 MANAGEMENT: >STATE:1369760981,AUTH,,,
Tue May 28 18:09:41 2013 TLS: Initial packet from [AF_INET]84.39.116.179:443, sid=5e7afc89 31669ed1
Tue May 28 18:09:41 2013 VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
Tue May 28 18:09:41 2013 VERIFY OK: nsCertType=SERVER
Tue May 28 18:09:41 2013 VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=server, emailAddress=info@airvpn.org
Tue May 28 18:09:41 2013 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Tue May 28 18:09:41 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue May 28 18:09:41 2013 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Tue May 28 18:09:41 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue May 28 18:09:41 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Tue May 28 18:09:41 2013 [server] Peer Connection Initiated with [AF_INET]84.39.116.179:443
Tue May 28 18:09:43 2013 MANAGEMENT: >STATE:1369760983,GET_CONFIG,,,
Tue May 28 18:09:44 2013 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue May 28 18:09:44 2013 AUTH: Received control message: AUTH_FAILED
Tue May 28 18:09:44 2013 SIGTERM received, sending exit notification to peer
Tue May 28 18:09:49 2013 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue May 28 18:09:49 2013 SIGTERM[soft,exit-with-notification] received, process exiting
Tue May 28 18:09:49 2013 MANAGEMENT: >STATE:1369760989,EXITING,exit-with-notification,,
 

Share this post


Link to post

Please mark as solved. That worked. Bearing in mind that I am an idiot, please explain why. Thank you.

 

Hello!

 

It's because OpenVPN client needs to access directly network cards settings, modify routing table and default gateway.

 

Kind regards

Share this post


Link to post

Hello!

 

 

Oh FFS! One of the PCs running Win7 64bit will connect and tunnel as long as I run OpenVPN as Administrator. The other repeatedly fails to connect when I run OpenVPN as Administrator and this is the log of the failure. Thanks for any help.

 

Only one concurrent connection per account is allowed.

 

Kind regards

 

Share this post


Link to post

Connections were not concurrent. It is now fixed. Both PCs pass my tests of connecting to Hulu and thepiratebay.sx. The PC that was a problem started to connect to Hulu without revealing my location but still gave me the "Site blocked" ISP message when I tried to visit thepiratebay.sx. I went to "Delete browsing history" and deleted "Temporary Internet files and website files". This appears to have worked. It looks like the browser had cached the "Site blocked" web page and I had to force it re-find the page by emptying the cache. Or perhaps I'm talking rubbish. Anyway, thanks very much for your assistance.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...