Jafner.net/archive/docker_config/wireguard/config/wg0.conf

23 lines
655 B
Plaintext
Raw Normal View History

2021-03-01 11:45:53 -08:00
[Interface]
2021-07-11 15:52:02 -07:00
Address = 10.13.13.1
2021-03-01 11:45:53 -08:00
ListenPort = 51820
2021-07-11 15:52:02 -07:00
PrivateKey = ***REMOVED***
2021-03-01 11:45:53 -08:00
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]
2021-12-20 22:54:13 -08:00
# peer_joey-phone
PublicKey = +jGu2Iz7Wy7m3bfxcE3IXAo6bnUGtKVWUtD+yH7vc2M=
AllowedIPs = 10.13.13.7/32
2021-08-02 23:20:43 -07:00
[Peer]
2021-12-20 22:54:13 -08:00
# peer_joey-xps13
2021-08-02 23:20:43 -07:00
PublicKey = ***REMOVED***
2021-12-20 22:54:13 -08:00
AllowedIPs = 10.13.13.8/32
2021-08-02 23:20:43 -07:00
[Peer]
2021-12-20 22:54:13 -08:00
# peer_maddie-phone
PublicKey = qh5czZ7MHzjNgUqxZ/fsAlMnaVHoUU8mxcJCXwb0Pxs=
AllowedIPs = 10.13.13.9/32
2021-08-02 23:20:43 -07:00