Wireguard
I'm using the linuxserver/wireguard docker, and trying to get a vyos 1.4 appliance to connect to it, I have no problem with other implementations (android / ubuntu / windows) connecting to it.
I am having a problem setting the public-key, I only see instructions to generate, and the config allows me to set private-key but not public, I can set the peer's public-key without issue.
I read in the forums on an older version of VyOS that people were able to use a folder that contained the keys, but that doesn't seem to work on vyos 1.4 https://forum.vyos.io/t/convert-wireguard-config-from-rolling-to-1-2-5-lts/5345
vyos@wgtest# show interfaces wireguard wg01
address 127.0.0.1/30 description VPN-to-test mtu 1420 peer to-test { address dockeripaddresshere allowed-ips 0.0.0.0/0 persistent-keepalive 15 port 51820 public-key 44charkeyhere } private-key 44charkeyhere
The only thing I've seen in the log is this.
Oct 18 17:49:26 wgtest vyos-configd[692]: Received message: {"type": "node", "data": "VYOS_TAGNODE_VALUE=wg01/usr/libexec/vyos/conf_mode/interfaces-wireguard.py"}
Oct 18 17:49:26 wgtest vyos-configd[692]: module 'interfaces_wireguard' has no attribute 'generate' Oct 18 17:49:26 wgtest vyos-configd[692]: Sending response 4
It would also be nice if I could import the wireguard server generated config.
Posted Oct 18, 2021, 6:21 PM UTC
I apologize for reddit destroying the code block that looked fine until after the post took.