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

ANSWERED AirVPN Config Not Connecting

Recommended Posts

I'm using Arch Linux with i3 window manager. I generated an America config file and cd the directory. I did

sudo openvpn thenameofthefile.ovpn and a bunch of text goes across my screen then it says "Sequence Complete" I go to the internet and it cannot connect. I downloaded another config file and it did the same thing. I have openvpn installed aswell.

Share this post


Link to post

Hello!

 

It could be a DNS problem. Maybe the nameservers you have in /etc/resolv.conf can't be accessed through the VPN servers. If so, this is a very minor problem: your traffic is tunneled but your system can't resolve names. Check for names resolution and connectivity to discern the case, for example (from a command line interface):

ping -c 4 8.8.8.8

ping -c 4 10.4.0.1

ping -c 4 google.com

 

(if in doubt copy and paste the output of those commands).

 

resolvconf is available for Arch Linux, right? If so, please see here:

https://airvpn.org/topic/9608-how-to-accept-dns-push-on-linux-systems-with-resolvconf

 

For a quick test, please edit (as root) the /etc/resolv.conf file while the system is connected to a VPN server, and add the following line:

nameserver 10.4.0.1

 

then check whether names are resolved.

 

Kind regards

Share this post


Link to post

Hello!

 

It could be a DNS problem. Maybe the nameservers you have in /etc/resolv.conf can't be accessed through the VPN servers. If so, this is a very minor problem: your traffic is tunneled but your system can't resolve names. Check for names resolution and connectivity to discern the case, for example (from a command line interface):

ping -c 4 8.8.8.8

ping -c 4 10.4.0.1

ping -c 4 google.com

 

(if in doubt copy and paste the output of those commands).

 

resolvconf is available for Arch Linux, right? If so, please see here:

https://airvpn.org/topic/9608-how-to-accept-dns-push-on-linux-systems-with-resolvconf

 

For a quick test, please edit (as root) the /etc/resolv.conf file while the system is connected to a VPN server, and add the following line:

nameserver 10.4.0.1

 

then check whether names are resolved.

 

Kind regards

It seems to be working (as I'm making this post using the VPN) after setting up another config in Canada but sometimes stops connecting. I was wondering if I do a whole country like Canada and one of the servers stops working will it switch to another server or do I need to set up a new config for Canada again? One more question, if I use the vpn server with tor (set up for arch, not tor browser just using 127.0.0.1 in proxy firefox) will my connection go to the vpn server then through tor or will one of them not work?

Share this post


Link to post

APPROVE THIS POST FORGET THE OTHERS

 

I made the update-resolv-conf.sh file in /usr/share/openvpn and put

 

script-security 2

up /usr/share/openvpn/update-resolv-conf

down /usr/share/openvpn/update-resolv-conf

 

ran sudo openvpn nameoffile.ovnp

 

and nothing worked

 

I then went in /etc/resolv.conf and added nameserver 10.4.0.1 (like ou said) ran openvpn and it worked!

Share this post


Link to post

Hello,

 

good that the main problem is solved. Probably OpenVPN logs can explain what goes wrong when trying to execute update-resolv-conf script.

 

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
Sign in to follow this  

×
×
  • Create New...