Skip to content

Commit 9b77709

Browse files
Bot Updating Templated Files
1 parent 10ec7af commit 9b77709

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ services:
8383
- PEERS=1 #optional
8484
- PEERDNS=auto #optional
8585
- INTERNAL_SUBNET=10.13.13.0 #optional
86-
- ALLOWEDIPS=192.168.1.0/24,192.168.2.0/24 #optional
86+
- ALLOWEDIPS=0.0.0.0/0 #optional
8787
volumes:
8888
- /path/to/appdata/config:/config
8989
- /lib/modules:/lib/modules
@@ -109,7 +109,7 @@ docker run -d \
109109
-e PEERS=1 `#optional` \
110110
-e PEERDNS=auto `#optional` \
111111
-e INTERNAL_SUBNET=10.13.13.0 `#optional` \
112-
-e ALLOWEDIPS=192.168.1.0/24,192.168.2.0/24 `#optional` \
112+
-e ALLOWEDIPS=0.0.0.0/0 `#optional` \
113113
-p 51820:51820/udp \
114114
-v /path/to/appdata/config:/config \
115115
-v /lib/modules:/lib/modules \
@@ -134,7 +134,7 @@ Container images are configured using parameters passed at runtime (such as thos
134134
| `-e PEERS=1` | Number of peers to create confs for. Required for server mode. Can be a list of names too: myPC,myPhone,myTablet... |
135135
| `-e PEERDNS=auto` | DNS server set in peer/client configs (can be set as `8.8.8.8`). Used in server mode. Defaults to `auto`, which uses wireguard docker host's DNS via included CoreDNS forward. |
136136
| `-e INTERNAL_SUBNET=10.13.13.0` | Internal subnet for the wireguard and server and peers (only change if it clashes). Used in server mode. |
137-
| `-e ALLOWEDIPS=192.168.1.0/24,192.168.2.0/24` | The IPs/Ranges that the peers will be able to reach using the VPN connection. If not specified the default value is: '0.0.0.0/0, ::0/0' |
137+
| `-e ALLOWEDIPS=0.0.0.0/0` | The IPs/Ranges that the peers will be able to reach using the VPN connection. If not specified the default value is: '0.0.0.0/0, ::0/0' This will cause ALL traffic to route through the VPN, if you want split tunneling, set this to only the IPs you would like to use the tunnel AND the ip of the server's WG ip, such as 10.13.13.1. |
138138
| `-v /config` | Contains all relevant configuration files. |
139139
| `-v /lib/modules` | Maps host's modules folder. |
140140
| `--sysctl=` | Required for client mode. |

0 commit comments

Comments
 (0)