Skip to content

Commit

Permalink
fix(all): typo /dev/net/run to /dev/net/tun
Browse files Browse the repository at this point in the history
Credits to @aidan-gibson in #118 for finding this.
  • Loading branch information
qdm12 committed Dec 18, 2024
1 parent 7d5bec0 commit bb23197
Show file tree
Hide file tree
Showing 25 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion contributing/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ You can also do this through IDE such as [VS Code source control](https://code.v
1. Run it with:
```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=someprovider \
-e VPN_TYPE=openvpn \
-e OPENVPN_USER=test -e OPENVPN_PASSWORD=test \
Expand Down
2 changes: 1 addition & 1 deletion setup/openvpn-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ In the following we assume your custom openvpn configuration file is named `cust
1. Run the container for example with:

```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run -e VPN_SERVICE_PROVIDER=custom -e OPENVPN_CUSTOM_CONFIG=/gluetun/custom.conf -v /yourpath/custom.conf:/gluetun/custom.conf:ro -e OPENVPN_USER="youruser" -e OPENVPN_PASSWORD="yourpassword" qmcgaw/gluetun
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun -e VPN_SERVICE_PROVIDER=custom -e OPENVPN_CUSTOM_CONFIG=/gluetun/custom.conf -v /yourpath/custom.conf:/gluetun/custom.conf:ro -e OPENVPN_USER="youruser" -e OPENVPN_PASSWORD="yourpassword" qmcgaw/gluetun
```

## Implicit behavior
Expand Down
4 changes: 2 additions & 2 deletions setup/providers/airvpn.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
### Wireguard

```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=airvpn \
-e VPN_TYPE=wireguard \
-e WIREGUARD_PRIVATE_KEY=yCbHtKAgJASnJs2S/aZsjag9Fy04csmR4qDUDkJgX2c= \
Expand Down Expand Up @@ -40,7 +40,7 @@ services:
1. [Setup your client certificate](../advanced/openvpn-client-certificate.md)

```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=airvpn \
-v /yourpath:/gluetun \
-e SERVER_COUNTRIES=Netherlands \
Expand Down
2 changes: 1 addition & 1 deletion setup/providers/cyberghost.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
1. [Setup your client certificate](../advanced/openvpn-client-certificate.md)

```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=cyberghost \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-v /yourpath:/gluetun \
Expand Down
2 changes: 1 addition & 1 deletion setup/providers/expressvpn.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## TLDR

```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=expressvpn \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-e SERVER_COUNTRIES=Netherlands qmcgaw/gluetun
Expand Down
4 changes: 2 additions & 2 deletions setup/providers/fastestvpn.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

```sh
# OpenVPN
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=fastestvpn \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-e SERVER_COUNTRIES=Netherlands qmcgaw/gluetun
```

```sh
# Wireguard
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=fastestvpn \
-e VPN_TYPE=wireguard \
-e WIREGUARD_PRIVATE_KEY=wOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU= \
Expand Down
2 changes: 1 addition & 1 deletion setup/providers/hidemyass.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## TLDR

```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=hidemyass \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-e SERVER_COUNTRIES=Netherlands qmcgaw/gluetun
Expand Down
2 changes: 1 addition & 1 deletion setup/providers/ipvanish.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## TLDR

```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=ipvanish \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-e SERVER_COUNTRIES=Netherlands qmcgaw/gluetun
Expand Down
4 changes: 2 additions & 2 deletions setup/providers/ivpn.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

```sh
# OpenVPN
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=ivpn \
-e VPN_TYPE=openvpn -e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-e SERVER_CITIES=amsterdam qmcgaw/gluetun
```

```sh
# Wireguard
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=ivpn \
-e VPN_TYPE=wireguard \
-e WIREGUARD_PRIVATE_KEY=wOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU= \
Expand Down
4 changes: 2 additions & 2 deletions setup/providers/mullvad.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

```sh
# OpenVPN
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=mullvad \
-e VPN_TYPE=openvpn -e OPENVPN_USER=1355131650462193 \
-e SERVER_CITIES=amsterdam qmcgaw/gluetun
```

```sh
# Wireguard
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=mullvad \
-e VPN_TYPE=wireguard \
-e WIREGUARD_PRIVATE_KEY=wOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU= \
Expand Down
4 changes: 2 additions & 2 deletions setup/providers/nordvpn.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

```sh
# OpenVPN
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=nordvpn \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-e SERVER_COUNTRIES=Netherlands qmcgaw/gluetun
Expand All @@ -14,7 +14,7 @@ docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \

```sh
# Wireguard
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=nordvpn \
-e VPN_TYPE=wireguard \
-e WIREGUARD_PRIVATE_KEY=wOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU= \
Expand Down
2 changes: 1 addition & 1 deletion setup/providers/perfect-privacy.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## TLDR

```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER="perfect privacy" \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-e SERVER_CITIES=Amsterdam qmcgaw/gluetun
Expand Down
2 changes: 1 addition & 1 deletion setup/providers/privado.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## TLDR

```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=privado \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-e SERVER_COUNTRIES=Netherlands qmcgaw/gluetun
Expand Down
2 changes: 1 addition & 1 deletion setup/providers/private-internet-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## OpenVPN

```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER="private internet access" \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-v /yourpath/gluetun:/gluetun \
Expand Down
2 changes: 1 addition & 1 deletion setup/providers/privatevpn.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
For OpenVPN:

```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=privatevpn \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-e SERVER_COUNTRIES=Netherlands qmcgaw/gluetun
Expand Down
4 changes: 2 additions & 2 deletions setup/providers/protonvpn.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

```sh
# OpenVPN
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=protonvpn \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-e SERVER_COUNTRIES=Netherlands qmcgaw/gluetun
```

```sh
# Wireguard
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=protonvpn \
-e VPN_TYPE=wireguard \
-e WIREGUARD_PRIVATE_KEY=wOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU= \
Expand Down
2 changes: 1 addition & 1 deletion setup/providers/purevpn.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## TLDR

```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=purevpn \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-e SERVER_COUNTRIES=Netherlands qmcgaw/gluetun
Expand Down
2 changes: 1 addition & 1 deletion setup/providers/slickvpn.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
1. [Setup your client certificate](../advanced/openvpn-client-certificate.md)

```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=slickvpn \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-e SERVER_COUNTRIES=Netherlands qmcgaw/gluetun
Expand Down
4 changes: 2 additions & 2 deletions setup/providers/surfshark.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

```sh
# OpenVPN
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=surfshark \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-e SERVER_COUNTRIES=Netherlands qmcgaw/gluetun
```

```sh
# Wireguard
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=surfshark \
-e VPN_TYPE=wireguard \
-e WIREGUARD_PRIVATE_KEY=wOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU= \
Expand Down
2 changes: 1 addition & 1 deletion setup/providers/torguard.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
For OpenVPN:

```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=torguard \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-e SERVER_COUNTRIES=Netherlands qmcgaw/gluetun
Expand Down
2 changes: 1 addition & 1 deletion setup/providers/vpn-secure.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
1. [Setup your client certificate](../advanced/openvpn-client-certificate.md)

```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=vpnsecure \
-v /yourpath/gluetun:/gluetun \
-e OPENVPN_KEY_PASSPHRASE=abc \
Expand Down
2 changes: 1 addition & 1 deletion setup/providers/vpn-unlimited.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ For OpenVPN:
1. [Setup your client certificate](../advanced/openvpn-client-certificate.md)

```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER="vpn unlimited" \
-v /yourpath/gluetun:/gluetun \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
Expand Down
2 changes: 1 addition & 1 deletion setup/providers/vyprvpn.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## TLDR

```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=vyprvpn \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-e SERVER_REGIONS=Netherlands qmcgaw/gluetun
Expand Down
2 changes: 1 addition & 1 deletion setup/providers/wevpn.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
First, [setup your client key](../advanced/openvpn-client-key.md). Then you can use:

```sh
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=wevpn \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-e SERVER_CITIES=Amsterdam qmcgaw/gluetun
Expand Down
4 changes: 2 additions & 2 deletions setup/providers/windscribe.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

```sh
# OpenVPN
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=windscribe \
-e VPN_TYPE=openvpn \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
Expand All @@ -13,7 +13,7 @@ docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \

```sh
# Wireguard
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/run \
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=windscribe \
-e VPN_TYPE=wireguard \
-e WIREGUARD_PRIVATE_KEY=wOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU= \
Expand Down

0 comments on commit bb23197

Please sign in to comment.