You are not logged in.
Hi,
I installed nordvpn on my archlinux and now, when i'm not connected to the vpn I can't resolve any dns
For example, when I'm not connected to vpn I can ping 8.8.8.8 but not google.com. But when I'm connected to nordvpn all is ok.
Thanks
Offline
There is no NordVPN package in the Arch repos.
Look at whatever you installed and see what files were written/overwritten.
Moving to AUR Issues...
Offline
I downloaded NordVPN from AUR (pakku)
Last edited by Dynnasty (2019-04-27 09:18:01)
Offline
Well, read the PKGBUILD and see what it did.
Offline
Thank you for answer
The package build doesn't edit anything about previous network files :
# Maintainer: metiis <aur at metiis dot com>
# Maintainer: bubuntux
# Maintainer: Martoko <mbastholm at gmail dot com>
pkgname=nordvpn-bin
pkgver=3.0.0_4
pkgrel=1
pkgdesc="NordVPN CLI tool for Linux"
arch=('x86_64')
url="https://nordvpn.com/download/linux/"
license=('custom')
depends=('net-tools' 'libxslt' 'iptables' 'procps' 'iproute2')
provides=('nordvpn')
conflicts=('openvpn-nordvpn')
install=nordvpn-bin.install
source=("https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${pkgver//_/-}_amd64.deb")
sha256sums=('a4a9602a9ecc1b29eb4ef9667993bd68999f42fc1962588951845a797d31ecfa')
package() {
bsdtar -O -xf "nordvpn_${pkgver//_/-}_amd64.deb" data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
mv "${pkgdir}/usr/sbin/nordvpnsd" "${pkgdir}/usr/bin"
mv "${pkgdir}/usr/sbin/nordvpnud" "${pkgdir}/usr/bin"
rm -r "${pkgdir}/usr/sbin"
}
Last edited by Dynnasty (2019-04-29 10:14:40)
Offline
What manages your resolv.conf usually? NordVPN presumably manages it while you're connected to it, but when you disconnect, I suspect it either returns the file to the state it was in before you connected, or else it leaves it configured to use the NordVPN nameservers (which you no longer have access to).
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
My resolv.conf is re-generated whenever I connect or disconnect from NordVPN, when I'm disconnected it generates a resolv.conf that I think would work but only on the network where I originally installed NordVPN meaning that I don't have the right "search" and "nameservers" for the network I'm currently connected to...
The resolv.conf I get when I disconect from NordVpn :
# Generated by NetworkManager
search int.ionis-it.com
nameserver 163.5.42.40
nameserver 163.5.42.41
The resolv.conf I think I sould get :
# Generated by NetworkManager
search lan
nameserver 192.168.1.254
Offline
Nobody have an idea for solve this problem ?
Offline
Define your default gateway/nameserver in /etc/resolvconf.conf and restart NetworkManager service. This should do the trick.
/etc/resolvconf.conf
------------------------------
name_servers=192.168.1.254
Offline
No it's same, resolve.conf still this one (it's my school config so at my school all is OK):
# Generated by NetworkManager
search int.ionis-it.com
nameserver 163.5.42.40
nameserver 163.5.42.41
Offline
Nobody have an idea for solve this problem ?
Offline
I am experiencing the same problem.
It seems that NordVPN is setting /etc/resolv.conf as immutable.
This can be checked with
lsattr /etc/resolv.conf
If this is the case, you can make the file mutable with
chattr -i /etc/resolv.conf
Offline
The issue is caused by the NordVPN Kill Switch.
Restarting nordvpnd resolves the issue.
I wrote a systemd unit file to automate it all:
Offline
The issue is caused by the NordVPN Kill Switch.
Restarting nordvpnd resolves the issue.
Thanks, this helped me a lot. I just had this mentioned issue as well, but just now for the fitst time although I use NordVPN for quite some time.
Seems something did make NordVPN hickup? Restarting nordvpnd did help to make NordVPN not anymore interfereinv with /etc/resolv.conf when I am not connected to NordVPN.
Offline