wg0.conf
· 250 B · Text
Неформатований
[Interface]
Address = 10.13.13.1/31
PostUp = wg set %i private-key /etc/wireguard/%i.key
ListenPort = 51820
DNS = 192.168.178.1
[Peer]
# alpha site
PublicKey = qnYZ6e+nPo8AY0yhmv6SJPBFdJkvrQCHiXygoExK2zY=
AllowedIPs = 192.168.178.0/24,10.13.13.2/31
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 |
11 |