Giter Site home page Giter Site logo

Comments (3)

Tobias-Pe avatar Tobias-Pe commented on August 17, 2024

I saw that the nordvpn.sh created a vpncgw.conf in the same directory the nordvpn.sh is. It's not copied to /etc/openvpn/client like mentioned in the documentation, so that would be nice if you would change it in the script or the docu.

[Edit] Same thing with vpnservers.xml. Had to manually move it to /opt/vpncgw/

To make the vpncgw.conf work i had to change the server, certificate and tls-auth file because the provided standard one wasn't available anymore.

Also in the docu under NordVPN i should use my email and password in the auth.txt, but thats wrong.
image

https://support.nordvpn.com/Connectivity/Linux/1047409422/How-can-I-connect-to-NordVPN-using-Linux-Terminal.htm

But NordVPN wants the service username and service password. So that would also be nice to update in the documentation.

Here my vpncgw.conf:

client
dev tun
proto udp
remote de860.nordvpn.com 1194
resolv-retry infinite
remote-random
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
ping 15
ping-restart 0
ping-timer-rem
reneg-sec 0
comp-lzo

remote-cert-tls server

#mute 10000
auth-user-pass auth.txt

verb 3
pull
fast-io
cipher AES-256-CBC
auth SHA512

ca nordvpn/de860_nordvpn_com_ca.crt
key-direction 1
tls-auth nordvpn/de860_nordvpn_com_tls.key

from vpn_client_gateway.

Tobias-Pe avatar Tobias-Pe commented on August 17, 2024

So now i can connect to the VPN, but it breaks when i switch.
The Vpn servers i switch to should be valid and have the same format in vpnservers.xml like the initial i connect to.

image

image

from vpn_client_gateway.

Tobias-Pe avatar Tobias-Pe commented on August 17, 2024

After looking into the /opt/vpncgw/vpncgw.py i realised that the script wasn't able to write to the /etc/openvpn/client/vpncgw.conf

I forgot to change the owner of this config file, after manually moving it.
So after nordvpn.sh created the script. Move the vpncgw.conf /etc/openvpn/client/vpncgw.conf and then

sudo chown www-data:www-data /etc/openvpn/client/vpncgw.conf

Like in the install instruction mentioned.

Now it works! Looks really great guys. Good work! :D

from vpn_client_gateway.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.