emanuelegori revised this gist . Go to revision
No changes
emanuelegori revised this gist . Go to revision
No changes
emanuelegori revised this gist . Go to revision
1 file changed, 10 insertions
wg0.conf(file created)
@@ -0,0 +1,10 @@ | |||
1 | + | [Interface] | |
2 | + | Address = 10.13.13.1/31 | |
3 | + | PostUp = wg set %i private-key /etc/wireguard/%i.key | |
4 | + | ListenPort = 51820 | |
5 | + | DNS = 192.168.178.1 | |
6 | + | ||
7 | + | [Peer] | |
8 | + | # alpha site | |
9 | + | PublicKey = qnYZ6e+nPo8AY0yhmv6SJPBFdJkvrQCHiXygoExK2zY= | |
10 | + | AllowedIPs = 192.168.178.0/24,10.13.13.2/31 |
Newer
Older