Skip to content

Commit

Permalink
Added Fedora section to README and added colon to make protocol promp…
Browse files Browse the repository at this point in the history
…t pretty. (#45)
  • Loading branch information
Pysis868 authored and MattSurabian committed Nov 1, 2016
1 parent 47101da commit d85ec51
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,15 @@ 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?
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
Expand All @@ -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
Expand All @@ -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!
Expand Down
2 changes: 1 addition & 1 deletion proxpn
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d85ec51

Please sign in to comment.