aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrumeet <yuuta@yuuta.moe>2021-05-05 15:53:33 -0700
committerTrumeet <yuuta@yuuta.moe>2021-05-05 15:53:33 -0700
commit2c29da7c5d2b7050b302cb5b4b5fcd31d820fade (patch)
tree36850fccf4f6c41daffdc30a5e6ca19c6e034642
parent28ac13f5a7ffde6873d49aced6e877697c7aff27 (diff)
downloaddn42peering-dev.tar
dn42peering-dev.tar.gz
dn42peering-dev.tar.bz2
dn42peering-dev.zip
fix(agent): restrict allowed IPsHEADv1.13.2masterdev
-rw-r--r--agent/src/main/resources/wg.conf.ftlh2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/src/main/resources/wg.conf.ftlh b/agent/src/main/resources/wg.conf.ftlh
index cc51ede..4928bab 100644
--- a/agent/src/main/resources/wg.conf.ftlh
+++ b/agent/src/main/resources/wg.conf.ftlh
@@ -8,4 +8,4 @@ PresharedKey = ${preshared_key}
<#if endpoint??>
Endpoint = ${endpoint}
</#if>
-AllowedIPs = 0.0.0.0/0, ::/0
+AllowedIPs = 10.127.0.0/16, 172.20.0.0/14, 172.31.0.0/16, fc00::/7, fe80::/64