tmknight / docker-nordvpn

NordVPN for Docker
Other
27 stars 8 forks source link

Container stuck in Starting when added CONNECT env #104

Closed Ansem93 closed 3 months ago

Ansem93 commented 3 months ago

Hi, I can't figure out how should I compile the CONNECT env so that I could connect to a specific group of server in a specific contry. For example I would prefer to connect to Onion Over VPN server in France, but if I write "group Onion Over VPNFrance" it doesn't work. I also tried "--group Onion Over VPN France".

Do you know how should I write it? Or should I use CONNECTION_FILTERS ? From the readme it's not clear which one should be the correct one

Can I suggest those two things? 1)can you add those links to the readme? https://api.nordvpn.com/v1/servers/countries https://api.nordvpn.com/v1/servers/groups It's list of countries and groups. I think it would help new users :) 2) Also more examples, the .yaml is great, but I would add an example for every env and an example in case someone needs more filters.

tmknight commented 3 months ago

Use the CONNECTION_FILTERS for more robust connection criteria. Here is the help from the nordvpn binary:



Use this command to connect to NordVPN. Adding no arguments to the command will connect you to the recommended server.
Provide a <country> argument to connect to a specific country. For example: 'nordvpn connect Australia'
Provide a <server> argument to connect to a specific server. For example: 'nordvpn connect jp35'
Provide a <country_code> argument to connect to a specific country. For example: 'nordvpn connect us'
Provide a <city> argument to connect to a specific city. For example: 'nordvpn connect Hungary Budapest'
Provide a <group> argument to connect to a specific servers group. For example: 'nordvpn connect Onion_Over_VPN'

Press the Tab key to see auto-suggestions for countries and cities.