Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIRVPN #1298

Closed
G-i-o opened this issue Aug 25, 2023 · 7 comments
Closed

AIRVPN #1298

G-i-o opened this issue Aug 25, 2023 · 7 comments
Labels
in/compatibility TYPE: a report about in/compatibility

Comments

@G-i-o
Copy link

G-i-o commented Aug 25, 2023

===SINCE OCT 2023 THIS METHOD SEEMS NOT TO BE WORKING ANY LONGER===

What worked?
Portmaster on LInux (Fedora) set with own DNS servers with AirVPN client (Eddie) set to use the Wireguard protocol.

Initially I had DNS leaks issue. DNS was really leaking (not protected by Portmaster contrary to what is stated in the Portmaster docs (VPN help pages).

However, I managed to tap the leak and have Portmaster work as it should, with full DNS protection, by following the below steps (also reported here):

  • Starting with Portmaster service running, initiate Eddie without connecting to any server.
  • Eddie Internet Lock set to disabled. Also uncheck the "SETTINGS > Activate Network Lock at Startup"
  • Eddie DNS Switch Mode set to disabled.
  • Eddie Check Air VPN DNS unchecked.
  • Portmaster option "GLOBAL SETTINGS > SECURE DNS > Ignore System/Network Servers" must be on.
  • Initiate a connection to a VPN server with Eddie.
  • Portmaster may need restarting once the connection to a VPN server with Eddie is initiated. In Linux with Systemd, you can type:
    sudo systemctl restart portmaster

Hope it helps.

P.S. The docs (here) may need updated, in particular where it says that Portmaster does protect the DNS request in any case. For me that was not the case as the AirVPN client, without the above modifications, would try to modify the resolv.conf (and other config files?) causing a DNS request leak. Please mind that the leak was real, not just a check if the request was through the VPN server.

-->

@G-i-o G-i-o added the in/compatibility TYPE: a report about in/compatibility label Aug 25, 2023
@Raphty
Copy link
Member

Raphty commented Aug 25, 2023

Thanks I updated the compatibility list

what DNS leak test did you use?

Did it give you your home ip address or what did you mean by "DNS was really leaking"?

P.S. the docs you linked to have a big yellow banner on top saying that "This site is migrating..."

@G-i-o
Copy link
Author

G-i-o commented Aug 28, 2023 via email

@Raphty
Copy link
Member

Raphty commented Aug 29, 2023

In the mean time because of another issue where someone did mention the Ignore System/Network Servers, I marked that setting extra in the wiki, so people see it better. It usually is not an issue, because when the DNS on top of the list is a fast and reliable one (like cf which is the default) then Portmaster will not have to go down the list until hitting the system/network configured server.
For all who are confused, why this setting is enabled by default, because when you have a name space for your LAN then this is only on your network server... and so Portmaster needs to use that. but all public domains will be found in the upstream dns anyway, so your local server does not see it.

If you find your Portmaster falling back to the system DNS to often, consider putting in multiple DNS option in Portmaster.
I understand that Cloudflare has its issues, but using them as a backup is a good idea.

@G-i-o
Copy link
Author

G-i-o commented Aug 29, 2023 via email

@G-i-o
Copy link
Author

G-i-o commented Oct 27, 2023

Not sure what has changed but after upgrading to v1.5.1 in particular (might be after the previous upgrade too but I'm not sure) e when running it with AirVPN some webpages do not load.

There seems to be a conflict. I haven't changed any settings compared to the above guide and yet I can only load some pages if I either use only Portmaster or only AirVPN but not together.

Also, it seems that if I restart Portmaster, I need to disconnect the vpn and reconnect to have any page showing up.

@Raphty
Copy link
Member

Raphty commented Oct 30, 2023

As with most VPNs my assumption is that the VPN changed something... We did updates but none of them changed how we Integration into the system. So there should not be a change in behavior

@G-i-o
Copy link
Author

G-i-o commented Nov 8, 2023

I guess it could be. I have to say, though, that it's also not working with IVPN any longer (it was last Summer).

I wished the SPN was working for all sites and all this would become redundant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in/compatibility TYPE: a report about in/compatibility
Projects
None yet
Development

No branches or pull requests

2 participants