[SOLVED] Nordvpn disabling UFW

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
radovic

[SOLVED] Nordvpn disabling UFW

Post by radovic »

Why does nordvpn have to disable UFW to function? This actually is annoying as hell as i don't use the vpn all the time and i have to keep running a command to re-enable it every time nordvpn is not used.

Is this something linux specific? Do all VPN services that have linux apps require UFW to be disabled?
If not, which ones would you suggest?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
gittiest personITW
Level 12
Level 12
Posts: 4289
Joined: Tue May 28, 2019 4:27 pm

Re: Nordvpn disabling UFW

Post by gittiest personITW »

Hi,
On a personal level, I hate installing 3rd party non open-source software.
So, you could try this (in Cinnamon):
Download some ovpn files from Nord here:
https://nordvpn.com/tutorials/linux/openvpn/

Go to network manager - bottom right of screen with 3 networked little boxes, (left-click)
Network connections
+
Import saved vpn configuration
Navigate to a .ovpn file you just downloaded.
Click it.
Go to the settings for that connection you just added. (cogs)
Click VPN tab

Make sure the following is set:
General - all users can connect to network

Authentication = password
Username
Password - click the icon at the end of that box and make sure it says all users can connect to network
Save

Now - when you want to try it, make sure your firewall is on, go to Network Connection, and select the connection you just created.
All ok?
When you want to stop the VPN, just fo back to the Network Connection and slide the vpn slider button 'off' and it should switch back to normal connection.
Let us know how it goes.

I know you were looking for a solution to a slightly different question, but this way saves using their proprietary software which hasn't been inspected by outside developers for bugs/backdoors/vulnerabilities and also you don't have to rely on OpenVPN being run as/from/with Sudo.
Last edited by gittiest personITW on Mon Sep 21, 2020 10:20 am, edited 2 times in total.
radovic

Re: Nordvpn disabling UFW

Post by radovic »

gittiest personITW wrote: Mon May 18, 2020 4:03 am
Let us know how it goes.
Cheers for this. I will try this tonight and report back.
radovic

Re: Nordvpn disabling UFW

Post by radovic »

gittiest personITW wrote: Mon May 18, 2020 4:03 am Hi,
On a personal level, I hate installing 3rd party non open-source software.
So, you could try this (in Cinnamon):
Download some ovpn files from Nord here:
https://nordvpn.com/tutorials/linux/openvpn/

Go to network manager - bottom right of screen with 3 networked little boxes, (left-click)
Network connections
+
Import saved vpn configuration
Navigate to a .ovpn file you just downloaded.
Click it.
Go to the settings for that connection you just added. (cogs)
Click VPN tab

Make sure the following is set:
General - all users can connect to network

Authentication = password
Username
Password - click the icon at the end of that box and make sure it says all users can connect to network
Save

Now - when you want to try it, make sure your firewall is on, go to Network Connection, and select the connection you just created.
All ok?
When you want to stop the VPN, just slide the vpn slider button 'off' and it should switch back to normal connection.
Let us know how it goes.

I know you were looking for a solution to a slightly different question, but this way saves using their proprietary software which hasn't been inspected by outside developers for bugs/backdoors/vulnerabilities and also you don't have to rely on OpenVPN being run as Sudo.
This worked like a charm.
Got the vpn working without having to switch off the firewall.

Thanks a ton!
Issue is solved.
gittiest personITW
Level 12
Level 12
Posts: 4289
Joined: Tue May 28, 2019 4:27 pm

Re: [SOLVED] Nordvpn disabling UFW

Post by gittiest personITW »

Glad to hear it.
Cheers for posting back.
KIMW
Level 3
Level 3
Posts: 198
Joined: Sat Nov 12, 2016 1:43 pm
Location: Italy

Re: Nordvpn disabling UFW

Post by KIMW »

gittiest personITW wrote: Mon May 18, 2020 4:03 am Download some ovpn files from Nord here:
https://nordvpn.com/tutorials/linux/openvpn/
Location has changed.
For those interested to follow this method, ovpn file can be downloaded here:
https://nordvpn.com/ovpn/
Distro: Linux Mint 20.3 Cinnamon 5.2.7
Laptop: Dell Latitude-9410. RAM 16GB. Dual core: Intel Core i7-6600U. Graphic Card: Intel Sky Lake..
Locked

Return to “Networking”