Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme #12

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add sudo to commands
USG needs root to download files to /config/scripts folder
  • Loading branch information
HLeithner authored May 24, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 604bb8190cbfac2d31aca18067e5da14da9e2033
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -15,12 +15,12 @@ This script installs and maintaince the wireguard vpn solution on a ubiquiti rou

# Download and install WireGuard on Ubiquiti edge devices

This script will reference [WireGuard/wireguard-vyatta-ubnt](https://github.com/WireGuard/wireguard-vyatta-ubnt) repo for WireGuard releases. It will download, install, and setup the package to install post firmware upgrade. Rebooting the device is **not** required after running this script as long as the script did not generate any errors. Grab the script by running the following commands from the web CLI or SSH as root.
This script will reference [WireGuard/wireguard-vyatta-ubnt](https://github.com/WireGuard/wireguard-vyatta-ubnt) repo for WireGuard releases. It will download, install, and setup the package to install post firmware upgrade. Rebooting the device is **not** required after running this script as long as the script did not generate any errors. Grab the script by running the following commands from the web CLI or SSH.

```
cd /config/scripts
curl -LO --silent https://github.com/whiskerz007/ubnt_get_wireguard/raw/master/get_wireguard.sh
chmod +x get_wireguard.sh
sudo curl -LO --silent https://github.com/whiskerz007/ubnt_get_wireguard/raw/master/get_wireguard.sh
sudo chmod +x get_wireguard.sh
```

***Note:*** _Best practice is to save scripts into `/config/scripts` directory._
@@ -30,13 +30,13 @@ chmod +x get_wireguard.sh
To download and install the latest release of WireGuard, run the following command.

```
./get_wireguard.sh
sudo ./get_wireguard.sh
```

To download and install a specific release of WireGuard, run the following command with the desired release as a parameter.

```
./get_wireguard.sh 0.0.20190913-1
sudo ./get_wireguard.sh 0.0.20190913-1
```

## Log