From d85ec51d83793c5eaea44d67fb4dd57ab66751f8 Mon Sep 17 00:00:00 2001 From: Pysis868 Date: Mon, 31 Oct 2016 20:37:20 -0400 Subject: [PATCH] Added Fedora section to README and added colon to make protocol prompt pretty. (#45) --- README.md | 14 ++++++++++---- proxpn | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index dea8342..d4e437f 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,7 @@ The problem with ProXPN, is that until recently they didn't provide or maintain $ proxpn Welcome to the ProXPN OpenVPN Bash Client! -This script must be run as root in order to successfully apply network route configurati -on. - +This script must be run as root in order to successfully apply network route configuration. Elevated permissions not detected, falling back to dry-run mode... What protocol would you like to connect with? @@ -18,7 +16,7 @@ Generally, TCP is the best choice on networks prone to packet loss. Be advised if you don't have a paid account, you can only use the FREE UDP exit node. 1) tcp 2) udp -Select a protocol to use for this connection (1-2)2 +Select a protocol to use for this connection (1-2): 2 Which exit node would you like to use? 1) Chicago 8) HongKong3 15) LA 22) Sydney @@ -28,12 +26,14 @@ Which exit node would you like to use? 5) Bucharest 12) Frankfurt2 19) Seattle 26) Seattle2 6) Paris 13) London 20) Stockholm 27) SanJose 7) Singapore 14) Miami2 21) Miami 28) FREE + Select an exit node (1-28): 8 Dry run complete! Use following OpenVPN command to connect to ProXPN: /usr/sbin/openvpn --config /home/matt/.config/proxpn/proxpn.ovpn --remote 103.194.43.26 443 udp --auth-nocache --auth-user-pass /home/matt/.config/proxpn/login.conf + ``` ### Prerequisites @@ -50,6 +50,12 @@ The official repositories have OpenVPN available so install it! apt-get install openvpn ``` +**Fedora** + +``` +sudo dnf install openvpn +``` + **RPM** The official repositories have OpenVPN available so install it! diff --git a/proxpn b/proxpn index 719c5d0..6453b66 100755 --- a/proxpn +++ b/proxpn @@ -164,7 +164,7 @@ UDP_EXIT_NODES[Zurich]=178.209.52.135 if [ ! ${proto} ]; then echo -e "\nWhat protocol would you like to connect with? \nGenerally, TCP is the best choice on networks prone to packet loss.\nBe advised if you don't have a paid account, you can only use the FREE UDP exit node." - PS3="Select a protocol to use for this connection (1-${#PROTOCOLS[@]})" + PS3="Select a protocol to use for this connection (1-${#PROTOCOLS[@]}): " select PROTOCOL in ${PROTOCOLS[@]}; do proto=$PROTOCOL