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) withthen I create the hotspot with the single line
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:I also issue this command to auto-restart my hotspot, i.e. when the pi is restartedNow, 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.
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
Code:
nmcli device wifi hotspot ssid <SSID> password <password>
Finally, I need to whitelist this subnet too:
Code:
nordvpn whitelist add subnet 10.42.0.1/24
Code:
nmcli con mod Hotspot connection.autoconnect yes
Anyway, hope this contribution helps in some way.
Statistics: Posted by cofcof — Sat Mar 15, 2025 11:32 am