Dikshant Adhikari
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
1 deletions
-
README.md
|
|
@ -37,6 +37,9 @@ services: |
|
|
|
cap_add: |
|
|
|
- NET_ADMIN |
|
|
|
- SYS_MODULE |
|
|
|
environment: |
|
|
|
- PORT_FORWARD_DEST=23423 |
|
|
|
- PORT_FORWARD_TO=23421 |
|
|
|
sysctls: |
|
|
|
net.ipv4.conf.all.src_valid_mark: 1 |
|
|
|
volumes: |
|
|
@ -62,6 +65,8 @@ docker run --name wireguard \ |
|
|
|
--sysctl net.ipv4.conf.all.src_valid_mark=1 \ |
|
|
|
-v /path/to/conf/mullvad.conf:/etc/wireguard/mullvad.conf \ |
|
|
|
-e LOCAL_SUBNETS=10.1.0.0/16,10.2.0.0/16,10.3.0.0/16 \ |
|
|
|
-e PORT_FORWARD_TO=12132 \ |
|
|
|
-e PORT_FORWARD_DEST=12131 \ |
|
|
|
jordanpotter/wireguard |
|
|
|
``` |
|
|
|
|
|
|
|