bundles/wireguard: support s2s connection to other services
This commit is contained in:
parent
ae14265abc
commit
104d1f11bf
3 changed files with 7 additions and 3 deletions
|
@ -25,7 +25,7 @@ for peer, config in sorted(node.metadata.get('wireguard/peers', {}).items()):
|
|||
'peer': peer,
|
||||
'port': config['my_port'],
|
||||
'privatekey': node.metadata.get('wireguard/privatekey'),
|
||||
'psk': config['psk'],
|
||||
'psk': config.get('psk'),
|
||||
'pubkey': config['pubkey'],
|
||||
'specials': repo.libs.s2s.WG_AUTOGEN_SETTINGS.get(peer, {}),
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue