Browse Source

Update README.md

pull/98/head
Neptunespace 5 years ago
committed by GitHub
parent
commit
129ec0587d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 23
      README.md

23
README.md

@ -29,7 +29,7 @@ You have found the easiest way to install & manage WireGuard on any Linux host!
## Installation
### 1. Install Docker
### 1. Simple Docker Installation
If you haven't installed Docker yet, install it by running:
@ -41,7 +41,26 @@ $ exit
And log in again.
You might need to install docker-compose separately. For example, on a Raspberry Pi:
```
docker run -d \
--name=wg-easy \
--cap-add=NET_ADMIN \
--cap-add=SYS_MODULE \
-e WG_HOST=51.159.67.58 \
-e PASSWORD=passwordforthewebuiHERE \
-e WG_PORT=51820 \
-e WG_DEFAULT_ADDRESS=10.8.0.x \
-e WG_DEFAULT_DNS=1.1.1.1 \
-e WG_ALLOWED_IPS=0.0.0.0/0,::/0 \
-v /path/to/appdata/config:/etc/wireguard \
-p 51820:51820/udp \
-p 51821:51821/tcp \
--sysctl="net.ipv4.conf.all.src_valid_mark=1" \
--sysctl="net.ipv4.ip_forward=1" \
--restart unless-stopped \
weejewel/wg-easy
```
If you prefer a docker-compose install. For example, on a Raspberry Pi:
```bash
sudo apt-get install docker-compose

Loading…
Cancel
Save