Jump to content


Photo

AirVPN won't work with custom DNS on router

DNS router

  • Please log in to reply
6 replies to this topic

#1 pawderypatty

pawderypatty

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 22 April 2018 - 07:25 AM

Hello,

 

I set up airVPN on my mini router using a custom build of openWRT from GL.inet but when I run ipleak and whoer it comes back with a ton of DNS leaks (50+). 

 

When I changed the DNS from "Keep blank to use default DNS" to Custom DNS of 10.4.0.1 and 10.5.0.1 then airVPN can no longer connect at all!

 

I've also tried checking the box that says: "Force all clients to use: [  ] Override Clients' DNS setting" but it doesn't solve the issue. 

 

After setting the Custom DNS, airVPN disconnects and says the following over and over:

 

RESOLVE: Cannot resolve host address: America.vpn.airdns.org:1194 (try again)

Could not determine IPv4/IPv6 Protocol

SIGUSR1 [soft,init_instance] received, process restarting

 

Thoughts?

 

NOTE: When NOT connecting through the router, and just firing up Eddie on my mac, I get no leaks.



#2 corrado

corrado

    Advanced Member

  • Members2
  • PipPipPip
  • 211 posts

Posted 22 April 2018 - 07:45 AM

The problem is that you router cannot resolve America.vpn.airdns.org:1194 if you set your DNS servers to 10.4.0.1 and 10.5.0.1 before you have successfully established an OpenVPN connection to an OpenVPN servers. So etiher you use AirVPN servers with resolved ips or you have to dynamically change your DNS server after your router has connected to AirVPN.



#3 pawderypatty

pawderypatty

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 22 April 2018 - 08:14 AM

I'm currently connected to an AirVPN server in Canada (enif), and currently my DNS is essentially the same as my IP (only the last digit is different), but I just ran ipleak and got 72 DNS leaks from the USA. At this point how do I fix the DNS leaks? 



#4 Flex

Flex

    Member

  • Members
  • PipPip
  • 22 posts

Posted 22 April 2018 - 10:20 AM

For DD-WRT router firewall set?

Use this for Scripts-Firewall

_____________________________

iptables -I FORWARD -i br0 -o tun0 -j ACCEPT
iptables -I FORWARD -i tun0 -o br0 -j ACCEPT
iptables -I FORWARD -i br0 -o vlan2 -j DROP
iptables -I FORWARD -i br0 -o ppp0 -j DROP
iptables -I INPUT -i tun0 -j REJECT
iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE

________________________

Regards,

Flex
 



#5 Flx

Flx

    Advanced Member

  • Members2
  • PipPipPip
  • 176 posts

Posted 26 April 2018 - 07:46 AM

When I changed the DNS from "Keep blank to use default DNS" to Custom DNS of 10.4.0.1 and 10.5.0.1 then airVPN can no longer connect at all!

For DNS3 after airvpn dns in the list Use a DNS such as https://blog.uncensoreddns.org/

Forget about OpenDNS/Google DNS.



#6 LZ1

LZ1

    It's nice to be nice to nice people

  • Moderators
  • 1953 posts

Posted 26 April 2018 - 11:49 AM

When I changed the DNS from "Keep blank to use default DNS" to Custom DNS of 10.4.0.1 and 10.5.0.1 then airVPN can no longer connect at all!

For DNS3 after airvpn dns in the list Use a DNS such as https://blog.uncensoreddns.org/

Forget about OpenDNS/Google DNS.

Hello!

 

It's worth mentioning OpenNIC, which Air officially supports.


Hi there, are you new to AirVPN? Many of your questions are already answered in this guide. Its Guides Section has guides on Linux/Torrenting/Blocked sites & many other topics too.
Moderators do not speak on behalf of AirVPN. Only the Official Staff account does. Please read the First Questions section in the link above for more details, 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.

Tired of Windows? Why Linux Is Better.

#7 Flx

Flx

    Advanced Member

  • Members2
  • PipPipPip
  • 176 posts

Posted 27 April 2018 - 04:59 AM

It's worth mentioning OpenNIC, which Air officially supports.

That would work just as well.







Similar Topics Collapse


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Servers online. Online Sessions: 13989 - BW: 49353 Mbit/sYour IP: 54.197.24.206Guest Access.