Jump to content
Not connected, Your IP: 35.175.172.94

Recommended Posts

Hi everybody!

I'm new here, thanks for the service and thanks in advance for your help 

I live in a student dorm and they gave us an internet connection working through a VPN using PPTP dual access.

I'd live to connect to an AirVPN server so that they can't see my traffic. But it is not working! I just payed a trial of 3 days and using it through a wifi hotspot of my smarthphone it works, while being in the offered network it doesn't.

 

The error it gives me is this one:

RTNETLINK answers: No such device

ERROR: Linux route add command failed: external program exited with error status: 2

and then it stays there..

 

Ask me if you need some logs or what else! 

Thank you 

 

Share this post


Link to post

Hello!

 

AirVPN doesn't use PPTP, only OpenVPN, so that may be the issue .

 

Sent to you from me with datalove


Moderators do not speak on behalf of AirVPN. Only the Official Staff account does. Please also do not run Tor Exit Servers behind AirVPN, thank you.
Did you make a guide or how-to for something? Then contact me to get it listed in my new user guide's Guides Section, so that the community can find it more easily.

Share this post


Link to post

Hi everybody!

I'm new here, thanks for the service and thanks in advance for your help 

I live in a student dorm and they gave us an internet connection working through a VPN using PPTP dual access.

I'd live to connect to an AirVPN server so that they can't see my traffic. But it is not working! I just payed a trial of 3 days and using it through a wifi hotspot of my smarthphone it works, while being in the offered network it doesn't.

 

The error it gives me is this one:

and then it stays there..

RTNETLINK answers: No such device

ERROR: Linux route add command failed: external program exited with error status: 2

 

Ask me if you need some logs or what else! 

Thank you 

 

This is probably much like running an OpenVPN connection over another OpenVPN connection. This comes up here from time to time. So this may help:

 

https://airvpn.org/topic/11277-its-possible-connect-two-vpn-at-the-same-time/?p=16345

https://airvpn.org/topic/15854-airvpn-must-offer-multi-hop-double-vpn-and-tor-overvpn-in-openvpn-config/?p=42417

 

If you are familiar with virtual machines (e.g. Linux under VirtualBox), that is what some others here do in order to nest VPN connections.

 

If you want to do this without separate machines (physical or virtual), then you have to manage your routing table yourself, rather than using OpenVPN's default set up. If that is what you want to do, then what is in your routing table with your PPTP connection running?

Share this post


Link to post

Yes NaDre you perfectly got the point!

I wanna create this OpenVPN tunnel over the PPTP one without creating a virtual machine. This is the routing table I have being in the PPTP tunnel. Thanks if you can help me 

 

Anyway soon I'll set up the PPTP (first tunnel) in a router, will it remove the problem being the router a different machine? then my pc will have an "easy" routing table and the default OpenVPN will work. Or not?

Share this post


Link to post

That routing table is quite unusual. Particularly the fact that the gateway address for the ppp0 interface is left as 0.0.0.0.

This suggests that the actual gateway address is available from another source. And all addresses in the 10.0.0.0/8 private range. So I guess with the PPTP connection down you only have access to your school's (or dorm's) LAN?

 

Perhaps at this point you should check that the link will come up OK if the routing table is left untouched. If that works, then we can see what needs to be done with routing later. In order to start the OpenVPN connection while keeping OpenVPN from trying to make routing table changes, you can add this to the OpenVPN config file:

route-nopull
redirect-private
UPDATE: I realized later that you should leave out the "redirect-private" too.

 

You are using Linux of some form, right? Then if the OpenVPN connection comes up with that change, more information than what is shown by "route -n" might be helpful. So please also do:

ip rule show
ip route show table all
/sbin/ifconfig

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...