Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3790

Troubleshooting • Re: Raspberry as Wifi Hotspot with NordVPN

$
0
0
Hi AndersG,

Just want to make sure I understand: you need to enable your hotspot BEFORE you run "nordvpn connect", right? Or do you need your wifi devices (mobile, laptop) to connect to your hotspot BEFORE you run "nordvpn connect"

Not sure this will help, but I have a slightly different way to achieve my wifi hotspot with nordvpn:

First I had to whitelist my local network (before connecting to nordvpn) with

Code:

nordvpn whitelist add subnet 192.168.1.0/24
then I create the hotspot with the single line

Code:

nmcli device wifi hotspot ssid <SSID> password <password>
This automatically create the hotspot with connection name "Hotspot" on the network 10.42.0.1/24 by default
Finally, I need to whitelist this subnet too:

Code:

nordvpn whitelist add subnet 10.42.0.1/24
I also issue this command to auto-restart my hotspot, i.e. when the pi is restarted

Code:

nmcli con mod Hotspot connection.autoconnect yes
Now, the only issue I seem to have, which I suspect is the same than you, is that I need to start the hotspot before I connect VPN. But once it's done, any device connecting to the wifi works as expected. The only problem is that if the raspberry pi restart, I need to manually start nordvpn (instead of using (nordvpn set autoconnect on)

Anyway, hope this contribution helps in some way.

Statistics: Posted by cofcof — Sat Mar 15, 2025 11:32 am



Viewing all articles
Browse latest Browse all 3790

Trending Articles