mirror of
https://github.com/pi-hole/docs.git
synced 2024-12-06 19:27:12 +01:00
Fix Inconsistency of IPv6 Addresses
Signed-off-by: Max Steele <max@amaxsteele.com>
This commit is contained in:
@@ -112,7 +112,7 @@ After a restart, the server file should look like:
|
||||
|
||||
```plain
|
||||
[Interface]
|
||||
Address = 10.100.0.1/24, fd08::1/128
|
||||
Address = 10.100.0.1/24, fd08:4711::1/128
|
||||
ListenPort = 47111
|
||||
PrivateKey = XYZ123456ABC= # PrivateKey will be different
|
||||
|
||||
@@ -140,7 +140,7 @@ interface: wg0
|
||||
|
||||
peer: F+80gbmHVlOrU+es13S18oMEX2g= ⬅ Your peer's public key will be different
|
||||
preshared key: (hidden)
|
||||
allowed ips: 10.100.0.2/32, fd08::2/128
|
||||
allowed ips: 10.100.0.2/32, fd08:4711::2/128
|
||||
```
|
||||
|
||||
## Create client configuration
|
||||
@@ -163,7 +163,7 @@ Next, add your server as peer for this client:
|
||||
|
||||
```plain
|
||||
[Peer]
|
||||
AllowedIPs = 10.100.0.1/32, fd08::1/128
|
||||
AllowedIPs = 10.100.0.1/32, fd08:4711::1/128
|
||||
Endpoint = [your public IP or domain]:47111
|
||||
PersistentKeepalive = 25
|
||||
```
|
||||
|
||||
@@ -100,7 +100,7 @@ It is possible to add this only for a few clients, leaving the others isolated t
|
||||
DNS = 10.100.0.1
|
||||
|
||||
[Peer]
|
||||
AllowedIPs = 10.100.0.0/24, fd08::/64, 192.168.2.0/24
|
||||
AllowedIPs = 10.100.0.0/24, fd08:4711::/64, 192.168.2.0/24
|
||||
Endpoint = [your server's public IP or domain]:47111
|
||||
PublicKey = [public key of the server]
|
||||
PresharedKey = [pre-shared key of this client]
|
||||
|
||||
Reference in New Issue
Block a user