summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2024-04-04 12:49:39 +0200
committerPatrick Spek <p.spek@tyil.nl>2024-04-04 12:49:39 +0200
commitcccdec9fba182a53b9510d7e072e4bfeb9255e66 (patch)
treec33c31ce2695d6b3371946be51c2f6e9acba1c0c
parent34eb5a7d5623d3ac5411572976372a1760d356a1 (diff)
Remove allowedIP additions from generated peers
wg-quick tries to add routes for each of these blocks as well, which means there's overlap in the routing, which in turn breaks things again. I could not find a way to make wg-quick only _accept_ traffic through these IPs, without adding routes for them.
-rw-r--r--playbooks.d/vpn-wireguard/share/peer2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks.d/vpn-wireguard/share/peer b/playbooks.d/vpn-wireguard/share/peer
index 3092aac..9a95e38 100644
--- a/playbooks.d/vpn-wireguard/share/peer
+++ b/playbooks.d/vpn-wireguard/share/peer
@@ -1,5 +1,5 @@
[Peer]
-AllowedIPs = ${ipv6}/128,${ipv4}/32,,fd00:8::0/48,172.28.0.0/16,fd00:5::0/108,172.25.0.0/16
+AllowedIPs = ${ipv6}/128,${ipv4}/32
Endpoint = [${endpoint}]:${port}
PublicKey = ${pubkey}
PersistentKeepalive = ${keepalive}