Wireguard interface template

This commit is contained in:
famfo 2022-01-31 17:09:20 +00:00
parent 180f30a7c9
commit 660e82bd67
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,2 @@
### Wireguard config
The config is made for the use with `wg-quick`.

View file

@ -0,0 +1,12 @@
[Interface]
PrivateKey = <Wireguard private key>
ListenPort = 20103
Adress = <link-local>
PostUp = /sbin/ip a add dev %i <Our dn42 IP> peer <Peer dn42 IP>
Table = off
[Peer]
Endpoint = <Peer IP:Port>
PublicKey = <Peer public Wireguard key>
AllowedIPs = 172.16.0.0/12, 10.0.0.0/8, fd00::/8. fe80::/10