From f2fc5a193743e2a66f748c8baefee949a747ea7f Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 11 Jan 2021 15:26:06 +0100 Subject: Figured out a way to not need WgNetworkAllocation. --- out/acme/wireguard.yaml | 90 ++++++------------------------------------------- 1 file changed, 10 insertions(+), 80 deletions(-) (limited to 'out/acme') diff --git a/out/acme/wireguard.yaml b/out/acme/wireguard.yaml index 2a3ff80..de882c3 100644 --- a/out/acme/wireguard.yaml +++ b/out/acme/wireguard.yaml @@ -114,75 +114,40 @@ data: name: "acme-1" net: "vpn0" publicName: "acme-1.machine.acme.com" - netToNetIp: null - networkIp: null + ip: "192.168.10.3" + networkCidr: "10.55.255.0/24" --- type: "io.trygvis.rules.wireguard.WgHost" data: name: "acme-2" net: "vpn0" publicName: "acme-2.machine.acme.com" - netToNetIp: null - networkIp: null + ip: "192.168.10.4" + networkCidr: "10.55.254.0/24" --- type: "io.trygvis.rules.wireguard.WgHost" data: name: "acme-3" net: "vpn0" publicName: "acme-3.machine.acme.com" - netToNetIp: null - networkIp: null + ip: "192.168.10.5" + networkCidr: "10.55.253.0/24" --- type: "io.trygvis.rules.wireguard.WgHost" data: name: "ws-1" net: "vpn0" publicName: null - netToNetIp: null - networkIp: null + ip: "192.168.10.6" + networkCidr: "10.55.252.0/24" --- type: "io.trygvis.rules.wireguard.WgHost" data: name: "ws-2" net: "vpn0" publicName: null - netToNetIp: null - networkIp: null ---- -type: "io.trygvis.rules.wireguard.WgIpAllocation" -data: - host: "acme-1" - role: "link" - ip: - value: "192.168.10.4" ---- -type: "io.trygvis.rules.wireguard.WgIpAllocation" -data: - host: "acme-2" - role: "link" - ip: - value: "192.168.10.3" ---- -type: "io.trygvis.rules.wireguard.WgIpAllocation" -data: - host: "acme-3" - role: "link" - ip: - value: "192.168.10.2" ---- -type: "io.trygvis.rules.wireguard.WgIpAllocation" -data: - host: "ws-1" - role: "link" - ip: - value: "192.168.10.1" ---- -type: "io.trygvis.rules.wireguard.WgIpAllocation" -data: - host: "ws-2" - role: "link" - ip: - value: "192.168.10.0" + ip: "192.168.10.7" + networkCidr: "10.55.251.0/24" --- type: "io.trygvis.rules.wireguard.WgIpPool" data: @@ -205,38 +170,3 @@ data: linkCidr: "192.168.10.0/29" networkCidr: "10.55.0.0/16" networkBits: 24 ---- -type: "io.trygvis.rules.wireguard.WgNetworkAllocation" -data: - host: "acme-1" - role: "network" - cidr: - value: "10.55.251.0/24" ---- -type: "io.trygvis.rules.wireguard.WgNetworkAllocation" -data: - host: "acme-2" - role: "network" - cidr: - value: "10.55.252.0/24" ---- -type: "io.trygvis.rules.wireguard.WgNetworkAllocation" -data: - host: "acme-3" - role: "network" - cidr: - value: "10.55.253.0/24" ---- -type: "io.trygvis.rules.wireguard.WgNetworkAllocation" -data: - host: "ws-1" - role: "network" - cidr: - value: "10.55.254.0/24" ---- -type: "io.trygvis.rules.wireguard.WgNetworkAllocation" -data: - host: "ws-2" - role: "network" - cidr: - value: "10.55.255.0/24" -- cgit v1.2.3