this post was submitted on 21 Feb 2025
12 points (100.0% liked)
Asklemmy
45245 readers
846 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
NordVPN can be set to allow LAN traffic through. So, if you setup port forwarding on your router, which it sounds like you already did, it will then allow that LAN traffic in.
It would be cool if I can get the bash to do this
Linux instructions:
Relevant commands:
nordvpn settings
- lists out settingsnordvpn set [SettingName] [NewValue]
- sets the relavent settingnordvpn whitelist add subnet [Mask]
- whitelists the specified subnet to allow in traffic originating therenordvpn d
andnordvpn c
- to disconnect and connectifconfig
- gets your current IPBringing it all together:
Run
ifconfig
to get your current IP. It's most likely 192.168.1.xxxRun
nordvpn whitelist add subnet 192.168.1.0/24
to add your subnet to the whitelist (change the first three sections of the subnet to match what your IP is in the first command if it is different)Run
nordvpn settings
to view all settings and verify they look right, you should see your subnet in the whitelist section nowRun
nordvpn c
to reconnect and apply your new settingsNow LAN connections can reach your computer, even while it is connected to the VPN. For incomming WAN connections, verify port forwarding is setup on your router to point to the computer.
Optional:
nordvpn set analytics disabled
to disable analytics