Comments (3)
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.
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.
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.
from vpn_client_gateway.
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)
- 2 Clients connecting HOT 2
- Can't run the vpncgw service HOT 6
- 'Gateway status' section of the management web page does not update HOT 1
- Service unavailable Attempting to contact server... HOT 4
- VPN Client Gateway Stuck on Requesting HOT 23
- nordvpn update HOT 2
- [SUGGESTION] Alternative to "sudo pip install lxml" HOT 1
- Get IP address geolocation - All fields undefined HOT 1
- vpncgw_monitor.py spams Pi-Hole with DNS queries for www.example.com HOT 3
- Gateway Status Stuck on Loading After Pihole Update HOT 1
- Have to "sudo service nginx restart" on every reset HOT 5
- Private Internet Access migration to Next Generation Network servers: patch your installations before October 31st 2020
- can not start vpncgw service (Debian 10) HOT 2
- migration of newshosting VPN to privado / new config-files HOT 2
- Requesting data... issue HOT 3
- TORGUARD?? HOT 1
- write UDP: Operation not permitted (code=1) HOT 1
- Stuck on Requesting Data (2022) HOT 6
- SOCKS5 Proxy and Iptables.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vpn_client_gateway.