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

multiple subnets

Open twistedpolitiks opened this issue 4 years ago • 1 comments

First off, thank you for this awesome script/service! I was about to look for another VPN provider since NordVPN on linux is so broken.

Currently I am running a VM using openpyn on a 192.168.30.0/24 subnet and all is going well. I would like to be able to access the VM from a separate 192.168.1.0/24 subnet via ssh using port 22 but am unable to. I have tried setting up a json config with the --allow-config option with the following schema:

[
    {
        "port": 22,
        "protocol": "both",
        "allowed_ip_range": "192.168.1.0/24"
    }
]

This is the openpyn command I am using to set up the connection using the json file

sudo openpyn nl -f --allow-config /home/user/subnet-allow.json --p2p -t 40 -d

Is there anything I am missing to allow access from then second subnet?

twistedpolitiks avatar Jun 12 '20 22:06 twistedpolitiks

Why not add the 1.0/24 as a static route?

norey avatar Jul 06 '20 20:07 norey