summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ele-router.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-02-29 04:55:38 +0100
committerChristian Pointner <equinox@spreadspace.org>2020-02-29 04:55:38 +0100
commitb399a54c2363ff717b1a92732e42e82f73cd958d (patch)
tree74bbcc77e0e14277f3bcbfe6ee6a5bb4413df8a0 /inventory/host_vars/ele-router.yml
parentele-media fix firewall rules (ssh port) (diff)
prepare wireguard tunnel for emc
Diffstat (limited to 'inventory/host_vars/ele-router.yml')
-rw-r--r--inventory/host_vars/ele-router.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/inventory/host_vars/ele-router.yml b/inventory/host_vars/ele-router.yml
index 4a552d7f..72cb2b14 100644
--- a/inventory/host_vars/ele-router.yml
+++ b/inventory/host_vars/ele-router.yml
@@ -1,4 +1,10 @@
---
+wireguard_keys:
+ gwhetzner:
+ pub: "fqaKDJbSj6V0H98d78d/lnFLolefgp6zDPH9bN4+zUY="
+ priv: "{{ vault_wireguard_priv_keys.gwhetzner }}"
+
+
network_mgmt_zone: "{{ network_zones.mgmt }}"
network_internal_zone_names:
- lan
@@ -12,7 +18,7 @@ openwrt_network_external:
options:
device: 'switch0'
## for some reason vlan-id 502 does not work. why??
- vlan: '{{ network_zones.forum_a1.vlan }}'
+ #vlan: '{{ network_zones.forum_a1.vlan }}'
vlan: '1'
ports: '4 6t'
@@ -49,7 +55,7 @@ openwrt_network_external:
- name: interface 'wanff'
options:
## for some reason vlan-id 502 does not work. why??
- #fname: 'eth0.{{ network_zones.funkfeuer.vlan }}'
+ #ifname: 'eth0.{{ network_zones.funkfeuer.vlan }}'
ifname: 'eth0.2'
proto: static
ipaddr: "{{ network_zones.funkfeuer.prefix | ipaddr(network_zones.funkfeuer.offsets[inventory_hostname]) | ipaddr('address') }}"