You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
16
7
-e VPN_SERVICE_PROVIDER=mullvad \
17
8
-e VPN_TYPE=wireguard \
@@ -37,6 +28,8 @@ services:
37
28
- SERVER_CITIES=Amsterdam
38
29
```
39
30
31
+
⚠️ [Openvpn will be removed by Mullvad in 2026](https://mullvad.net/en/blog/removing-openvpn-15th-january-2026) hence the openvpn example has been removed from here.
32
+
40
33
## Required environment variables
41
34
42
35
- `VPN_SERVICE_PROVIDER=mullvad`
@@ -57,11 +50,17 @@ services:
57
50
- `SERVER_HOSTNAMES`: Comma separated list of server hostnames
58
51
- `ISP`: Comma separated list of ISPs
59
52
- `OWNED_ONLY`: If the VPN server is owned by Mullvad. It defaults to `no`, meaning it includes all servers. It can be set to `yes`.
60
-
- For OpenVPN, `OPENVPN_ENDPOINT_PORT` which can be:
53
+
54
+
### OpenVPN only
55
+
56
+
- `OPENVPN_ENDPOINT_PORT` which can be:
61
57
- TCP: it can only be `80`, `443` or `1401`
62
58
- UDP: it can only be `53`, `1194`, `1195`, `1196`, `1197`, `1300`, `1301`, `1302`, `1303` or `1400`
63
59
- It defaults to `443` for TCP and `1194` for UDP
64
-
- For Wireguard, `WIREGUARD_ENDPOINT_PORT` which can be any value and defaults to `51820`
60
+
61
+
### WireGuard only
62
+
63
+
- `WIREGUARD_ENDPOINT_PORT`which can be any value and defaults to `51820`
0 commit comments