initial commit

This commit is contained in:
datadunia
2026-04-29 07:52:29 +07:00
commit e1154c49a4
11 changed files with 2173 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
[Interface]
Address = 10.172.20.1/24
SaveConfig = true
PreUp =
PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE;
PreDown =
PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -D FORWARD -o wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE;
ListenPort = 51820
PrivateKey = 8IUqNz0TMSXJDaczi4sLXoaWTaSysql+K+bEC6V7iFo=
[Peer]
PublicKey = 6pMcvsgQm6PgffzhIR9do0hODaivajPBwNWB5MP1hm8=
PresharedKey = gsEfrgTfq95jjUIP5KlnapDkCA6APilTWlIWCn6Fp9Q=
AllowedIPs = 10.172.20.2/32