add missing pubkey
This commit is contained in:
parent
fceddc55dd
commit
ce9091e8bc
4
add.go
4
add.go
@ -33,8 +33,8 @@ set interfaces wireguard wg0 preshared-key {{ .Peer.PresharedKey.Key }}
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
set interfaces wireguard wg0 peer {{ .DsnetConfig.PrivateKey.PublicKey.Key }} endpoint {{ .DsnetConfig.ExternalIP }}:{{ .DsnetConfig.ListenPort }}
|
set interfaces wireguard wg0 peer {{ .DsnetConfig.PrivateKey.PublicKey.Key }} endpoint {{ .DsnetConfig.ExternalIP }}:{{ .DsnetConfig.ListenPort }}
|
||||||
set interfaces wireguard wg0 peer allowed-ips {{ .AllowedIPs }}
|
set interfaces wireguard wg0 peer {{ .DsnetConfig.PrivateKey.PublicKey.Key }} allowed-ips {{ .AllowedIPs }}
|
||||||
set interfaces wireguard wg0 peer persistent-keepalive {{ .Keepalive }}
|
set interfaces wireguard wg0 peer {{ .DsnetConfig.PrivateKey.PublicKey.Key }} persistent-keepalive {{ .Keepalive }}
|
||||||
commit; save
|
commit; save
|
||||||
`
|
`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user