Skip to content

Commit

Permalink
Update configure-openvpn.sh (#2707)
Browse files Browse the repository at this point in the history
Using "upd" as a value for NORDVPN_PROTOCOL results in an error.

Co-authored-by: Patrick Kishino <patrick.a.kishino@gmail.com>
  • Loading branch information
IanMoroney and pkishino committed Sep 5, 2023
1 parent 8bae335 commit 52d432d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openvpn/nordvpn/configure-openvpn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# NORDVPN_COUNTRY: code or name
# curl -s "https://api.nordvpn.com/v1/servers/countries" | jq --raw-output '.[] | [.code, .name] | @tsv'
# NORDVPN_PROTOCOL: tcp or upd, tcp if none or unknown. Many technologies are not used as only openvpn_udp and openvpn_tcp are tested.
# NORDVPN_PROTOCOL: tcp or udp, tcp if none or unknown. Many technologies are not used as only openvpn_udp and openvpn_tcp are tested.
# Will request api with openvpn_<NORDVPN_PROTOCOL>.
# curl -s "https://api.nordvpn.com/v1/technologies" | jq --raw-output '.[] | [.identifier, .name ] | @tsv' | grep openvpn
# NORDVPN_CATEGORY: default p2p. not all countries have all combination of NORDVPN_PROTOCOL(technologies) and NORDVPN_CATEGORY(groups),
Expand Down Expand Up @@ -390,4 +390,4 @@ fi

export OPENVPN_CONFIG=${selected}

cd "${0%/*}"
cd "${0%/*}"

0 comments on commit 52d432d

Please sign in to comment.