Jafner.net/docker_config/wireguard/config/wg0.conf
2021-08-02 23:20:43 -07:00

33 lines
818 B
Plaintext

[Interface]
Address = 10.13.13.1
ListenPort = 51820
PrivateKey = ***REMOVED***
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
[Peer]
# peer_phone
PublicKey = ***REMOVED***
AllowedIPs = 10.13.13.2/32
[Peer]
# peer_laptop
PublicKey = 35/DseDdMM+q/Qm/u/Gj/20m1/WpF3u6kuKT1XauXWc=
AllowedIPs = 10.13.13.3/32
[Peer]
# peer_temp1
PublicKey = 2KSKPCj1BTS4GxAsPr56+0xQfr/i4zZW2vpw6oNahXs=
AllowedIPs = 10.13.13.4/32
[Peer]
# peer_temp2
PublicKey = ***REMOVED***
AllowedIPs = 10.13.13.5/32
[Peer]
# peer_temp3
PublicKey = GSTaCfmieKCgayi6Ky3UD2sRCZS+RtsOi370MUHUCkk=
AllowedIPs = 10.13.13.6/32