summaryrefslogtreecommitdiff
path: root/src/op_mode/wireguard_client.py
diff options
context:
space:
mode:
authorBoris Manojlovic <boris@steki.net>2021-08-15 12:20:43 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-15 12:32:30 +0200
commit69ec102365ee60a476ba750b7ca7d4c26e2e72fa (patch)
treef33fa84455d872c772995730fd844b6b0f649437 /src/op_mode/wireguard_client.py
parentceb623bbd6583cf290b57a223851f178abb23d6f (diff)
downloadvyos-1x-69ec102365ee60a476ba750b7ca7d4c26e2e72fa.tar.gz
vyos-1x-69ec102365ee60a476ba750b7ca7d4c26e2e72fa.zip
wireguard: T3756: fix generated qr code header
(cherry picked from commit d3ae6304a3eabcddba36452e9519ca7b56bb38af)
Diffstat (limited to 'src/op_mode/wireguard_client.py')
-rwxr-xr-xsrc/op_mode/wireguard_client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/op_mode/wireguard_client.py b/src/op_mode/wireguard_client.py
index 7a620a01e..8f5fe2e9a 100755
--- a/src/op_mode/wireguard_client.py
+++ b/src/op_mode/wireguard_client.py
@@ -39,10 +39,11 @@ To enable this configuration on a VyOS router you can use the following commands
set interfaces wireguard {{ interface }} peer {{ name }} allowed-ips '{{ addr }}'
{% endfor %}
set interfaces wireguard {{ interface }} peer {{ name }} pubkey '{{ pubkey }}'
+
+=== RoadWarrior (client) configuration ===
"""
client_config = """
-=== RoadWarrior (client) configuration ===
[Interface]
PrivateKey = {{ privkey }}