openpyn-nordvpn icon indicating copy to clipboard operation
openpyn-nordvpn copied to clipboard

Manual whitelist IP-ranges who are to be allowed to host

Open Kipjr opened this issue 6 years ago • 2 comments

According to the manual only 192.168.1.x can be allowed to access port 22 via -allow 22, however I use a VPN to connect to my firewall (and I get 10.0.8.x) so I don't fall in this range. (This is also the case if someone hosts the server in the cloud) Is it possible to allow a list or range of IP-addresses?

Perhaps an alternative or addition to get_network_interfaces():

Kipjr avatar Dec 02 '17 20:12 Kipjr

192.168.1.x is just an example. the script automatically selects the interface/s on the system and grabs that range. so yes. It should work fine on your network

jotyGill avatar Dec 03 '17 07:12 jotyGill

Unfortunately the VM's (including the system) are in the 192.168.1.x subnet but my physical devices and VPN devices are each in an other subnet due to security reasons.

Kipjr avatar Dec 03 '17 10:12 Kipjr