Jump to content
Not connected, Your IP: 3.145.47.253
waterfall

Ubuntu netbook: VPN connects but no server found

Recommended Posts

Hi there,

 

I have been trying to fix this for awhile. I have gone through the Forums and figure it might be an DNS problem but am unsure how to 'sudo connect AirVPN' in Terminal (I have it in a folder on my desktop.) I am on a Netbook using Ubuntu 12.04 LTS.

 

In any event, I can connect to Air VPN fine using the drop down menu for my Wifi, in upper right, but when I open Firefox I get a 'cannot find server' message. Same with Thunderbird mail. 

 

When I ping google.com with AirVPN connected I receive a message 'ping: unknown host google.com'.

When I ping 10.4.0.1 I get a message 'ping: sendmsg: operation not permitted' which then goes into a loop until I Control-C. The same happens with 'ping: 8.8.8.8'

 

When I ping without AirVPN, connections are established and everything looks fine.

 

Any suggestions? I am new to this, so trying to learn as I go forward. 

 

Share this post


Link to post

can you add the following lines at the beginning of your .ovpn file ?

 

script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf

Share this post


Link to post

I tried that, still the same 'no server found' response, this after disabling the firewalls again. Again, connection is established, wifi signal indicator is padlocked, but no servers are found. Here are the first few lines of my .ovpn, which I reinstalled after edits as a new connection:

 

 

 

 

# --------------------------------------------------------

# Air VPN | https://airvpn.org | Thursday 5th of September 2013 02:43:30 AM

# OpenVPN Client Configuration

# AirVPN_America_UDP-443

# --------------------------------------------------------

 

script-security 2

up /etc/openvpn/update-resolv-conf

down /etc/openvpn/update-resolv-conf

client

dev tun

proto udp

remote america.vpn.airdns.org 443

resolv-retry infinite

nobind

ns-cert-type server

cipher AES-256-CBC

comp-lzo

Share this post


Link to post

Could you try connecting from command line  and pasting the connection log ?

 

$ sudo openvpn --config AirVPN_America_UDP-443.ovpn

Share this post


Link to post

Thanks for your help. Here is the log:

 

 

xx@xx-TOSHIBA-NB305:~$ sudo ufw disable

[sudo] password for xx:

Firewall stopped and disabled on system startup

xx@xx-TOSHIBA-NB305:~$ sudo openvpn --config AirVPN_America_UDP-443.ovpn

Options error: In [CMD-LINE]:1: Error opening configuration file: AirVPN_America_UDP-443.ovpn

Use --help for more information.

xx@xx-TOSHIBA-NB305:~$ ^C

xx@xx-TOSHIBA-NB305:~$

Share this post


Link to post

Hello!

 

xx@xx-TOSHIBA-NB305:~$ sudo openvpn --config AirVPN_America_UDP-443.ovpn

Options error: In [CMD-LINE]:1: Error opening configuration file: AirVPN_America_UDP-443.ovpn

OpenVPN does not start because it can't find or open the file AirVPN_America-UDP-443.ovpn. Please make sure that the root shell current directory includes the file.

 

Kind regards

Share this post


Link to post

So, just to be clear. i should drop down to the root (E.g. on startup via recover) and enter: 

 

$ sudo openvpn --config AirVPN_America_UDP-443.ovpn

 

or should i do something else, such as reinstall OpenVPN?

Share this post


Link to post

So, just to be clear. i should drop down to the root (E.g. on startup via recover) and enter: 

 

Hello,

 

we don't understand.

 

 

$ sudo openvpn --config AirVPN_America_UDP-443.ovpn

 

or should i do something else, such as reinstall OpenVPN?

 

First try to insert the correct full path to the .ovpn file or make that path your shell current directory

 

Kind regards

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

×
×
  • Create New...