summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-geneve.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-23 16:27:29 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-23 16:27:29 +0200
commit289f513c3babca73f2ab8504b6b235ca0afa1ae5 (patch)
tree35aadf7d58ac09686c53fa2b9b94c7bff92a6a84 /interface-definitions/interfaces-geneve.xml.in
parent70d45cdec4263a0eff1146656ae8e8012ab125b6 (diff)
downloadvyos-1x-289f513c3babca73f2ab8504b6b235ca0afa1ae5.tar.gz
vyos-1x-289f513c3babca73f2ab8504b6b235ca0afa1ae5.zip
wireguard: T2632: support PSK on multiple peers
It was not possible to configure two WG peers with both utilized a pre-shared key. This has been corrected. WG psk can only be read from a file when starting the interface. The code for creating this temporary file has been moved into the ifconfig.WireGuardIf() class. Tested with: ============ set interfaces wireguard wg0 address '192.0.2.0/31' set interfaces wireguard wg0 peer one allowed-ips '0.0.0.0/0' set interfaces wireguard wg0 peer one preshared-key 'e+SIIUcrnrSDHhbTtpjwKhSlSdUALA5ZvoCjfQXcvmA=' set interfaces wireguard wg0 peer one pubkey '/qQGAQ2HfLSZBSCpdgps04r9wRlK7bSFraCH9+MScmw=' set interfaces wireguard wg0 peer two allowed-ips '0.0.0.0/0' set interfaces wireguard wg0 peer two pubkey '/qQGAQ2HfLSZBSCpdgfooor9wRlK7bSFraCH9+MScmw='
Diffstat (limited to 'interface-definitions/interfaces-geneve.xml.in')
0 files changed, 0 insertions, 0 deletions