-
Notifications
You must be signed in to change notification settings - Fork 45
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
How to do fully disable nordvpn firewall? #158
Comments
Hello, |
Hi, I have a similar issue. nordvpn settings
Technology: NORDLYNX
Firewall: enabled
Firewall Mark: 0xe1f1
Routing: enabled
Analytics: enabled
Kill Switch: disabled
Threat Protection Lite: disabled
Notify: disabled
Tray: enabled
Auto-connect: disabled
IPv6: disabled
Meshnet: disabled
DNS: disabled
LAN Discovery: disabled
Virtual Location: enabled
Allowlisted ports:
22 (UDP|TCP)
67 (UDP|TCP)
Allowlisted subnets:
10.42.0.0/24 And I have working my hotspot in this subnet, I mean that my clients have these IPs. Also the hotspot works fine without nordvpn connection. When I try to enable any nordvpn connection, my clients still connected to the hotspot but without internet. Maybe is missing some port forwarding? or something? or a rule in the nordvpn firewall for that? |
Hi @hpsaturn, This doesn't seam to be the same issue like the original. Because you are using the firewall Thank you |
Ok, thanks for your quick answer. But I already also tested the firewall 0 set, and nothing. But is true, let me try to configure the Raspbian firewall.. The weird thing, is that I remember that my development before was working well with the firewall disabled, without any firewall config in Raspian, with the Hotspot using nmcli, and all together.. but now not. That is my development, with a little demo of one year ago: |
Hi, Normally there should not be any firewall rules added to the system if firewall option is off, but just to be safe. In case you're using meshnet, see #659 not be in the same situation. |
Is strange but nothing changes. The iptables rules are the same in the both cases. When I enabled a NordVPN connection in my RaspberryPi that is my Hotspot, the client lost the connection, for instance an Android phone, show in the wifi "no internet". When I disabled the NordVPN, the connection in the client instantly changes a "connected" I have the next outputs: (Note: are the same in the both cases, when the Nordvpn connection is enable or disable. Whatever. I did a vimdiff to compare the outputs) pi@pimain:~ $ sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- anywhere anywhere udp dpt:bootps
ACCEPT tcp -- anywhere anywhere tcp dpt:67
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere 10.42.0.0/24 state RELATED,ESTABLISHED
ACCEPT all -- 10.42.0.0/24 anywhere
ACCEPT all -- anywhere anywhere
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
# Warning: iptables-legacy tables present, use iptables-legacy to see them pi@pimain:~ $ sudo iptables -L FORWARD -vn
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
4396K 5924M ACCEPT all -- * wlan0 0.0.0.0/0 10.42.0.0/24 state RELATED,ESTABLISHED
1137K 271M ACCEPT all -- wlan0 * 10.42.0.0/24 0.0.0.0/0
0 0 ACCEPT all -- wlan0 wlan0 0.0.0.0/0 0.0.0.0/0
0 0 REJECT all -- * wlan0 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
0 0 REJECT all -- wlan0 * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
# Warning: iptables-legacy tables present, use iptables-legacy to see them And my NordVPN settings: pi@pimain:~ $ nordvpn settings
Technology: NORDLYNX
Firewall: disabled
Firewall Mark: 0xe1f1
Routing: enabled
Analytics: enabled
Kill Switch: disabled
Threat Protection Lite: disabled
Notify: disabled
Tray: enabled
Auto-connect: disabled
IPv6: disabled
Meshnet: disabled
DNS: disabled
LAN Discovery: disabled
Virtual Location: enabled
Allowlisted ports:
22 (UDP|TCP)
67 (UDP|TCP)
80 (UDP|TCP)
Allowlisted subnets:
10.42.0.0/24 |
How to do fully disable nordvpn firewall?
If I use "nordvpn set firewall 0" nordvpn iptables nordvpn rules not using in filter iptables table, but Firewall Mark using in mangle iptables table and I still must add adresses and ports to nordvpn whitelist for allow them.
I want use only system firewall (ufw) and not use nordvpn firewall
my env:
NordVPN Version 3.16.7
Ubuntu 22.04.3 LTS
Linux 5.15.0-88-generic
nordvpn settings
Technology: NORDLYNX
Firewall: disabled
Firewall Mark: 0xe1f1
Routing: enabled
Analytics: disabled
Kill Switch: disabled
Threat Protection Lite: disabled
Notify: disabled
Auto-connect: disabled
IPv6: disabled
Meshnet: disabled
DNS: disabled
LAN Discovery: disabled
Allowlisted ports:
80 (TCP)
443 (TCP)
Allowlisted subnets:
ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
To Action From
80/tcp on ens3 ALLOW IN Anywhere
443/tcp on ens3 ALLOW IN Anywhere
The text was updated successfully, but these errors were encountered: