diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-04-24 16:52:18 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-04-25 09:32:05 +0200 |
commit | 92d0262d8d204189ba4ad4cfb93747fdc1b445e0 (patch) | |
tree | 16ab1f72ed1df849043e60299b328149316635ea /src/op_mode/show_users.py | |
parent | 78f647485d337e63a4664c89481e03c2a15b35e9 (diff) | |
download | vyos-1x-92d0262d8d204189ba4ad4cfb93747fdc1b445e0.tar.gz vyos-1x-92d0262d8d204189ba4ad4cfb93747fdc1b445e0.zip |
wireguard: T1802: generate QR code for clients on CLI
generate wireguard mobile-config wg0 server wg.vyos.net address 1.2.2.2/24
WireGuard client configuration for interface: wg0
[Interface]
PrivateKey = AEXrZ4b3xFVLg1lql3hy/93+d43q3+3vPdSMUGI6/Fo=
Address = 1.2.2.2/24
[Peer]
PublicKey = h1HkYlSuHdJN6Qv4Hz4bBzjGg5WUty+U1L7DJsZy1iE=
Endpoint = wg.vyos.net:41751
AllowedIPs = 0.0.0.0/0, ::/0
The servers public key and port are automatically extracter from the running
config.
(cherry picked from commit 92d62740a1dd84d27ed3006cdc8d2560673f6bca)
Diffstat (limited to 'src/op_mode/show_users.py')
0 files changed, 0 insertions, 0 deletions