diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-01-23 22:17:02 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-01-23 22:17:02 +0100 |
commit | aefa7a4f57f91ed62ca166ecf5fdfc2eacc04f6a (patch) | |
tree | f7bb813720bc5198cbd2c172ae6136f2927eab3e /roles/wireguard/gateway/templates/systemd.network.j2 | |
parent | add etherwake and wakeonlan to ch-equinox-(ws|t450s) (diff) |
move wireguard to network sub-dir
Diffstat (limited to 'roles/wireguard/gateway/templates/systemd.network.j2')
-rw-r--r-- | roles/wireguard/gateway/templates/systemd.network.j2 | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/roles/wireguard/gateway/templates/systemd.network.j2 b/roles/wireguard/gateway/templates/systemd.network.j2 deleted file mode 100644 index 6847aa6a..00000000 --- a/roles/wireguard/gateway/templates/systemd.network.j2 +++ /dev/null @@ -1,20 +0,0 @@ -[Match] -Name={{ item.key }} - -[Network] -{% for addr in item.value.addresses %} -Address={{ addr }} -{% endfor %} -{% if 'ip_masq' in item.value and item.value.ip_masq %} -IPMasquerade=yes -{% endif %} -{% if 'default_gateway' in item.value %} - -[Route] -Destination=0.0.0.0/1 -Gateway={{ item.value.default_gateway.inner }} - -[Route] -Destination=128.0.0.0/1 -Gateway={{ item.value.default_gateway.inner }} -{% endif %} |