Add peer add and delete support
This commit is contained in:
parent
8dde47dfe3
commit
99b6b1577b
5 changed files with 838 additions and 148 deletions
|
@ -47,7 +47,7 @@ PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -D POSTROUTING -
|
|||
{{end}}
|
||||
|
||||
{{range $peer := .Peers -}}
|
||||
# {{$peer.Comment}}
|
||||
# {{$peer.ID}}
|
||||
[Peer]
|
||||
PublicKey = {{$peer.PublicKey}}
|
||||
AllowedIPs = {{joinIPs $peer.AllowedIPs}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue