From 9eac79348242b5dc33f4cccdd86beda2a4ed4746 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 6 Jan 2021 10:16:51 +0100 Subject: Implementing VPN connections. --- out/vpn0.yaml | 120 ++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 84 insertions(+), 36 deletions(-) (limited to 'out/vpn0.yaml') diff --git a/out/vpn0.yaml b/out/vpn0.yaml index bf5aee6..fb8c684 100644 --- a/out/vpn0.yaml +++ b/out/vpn0.yaml @@ -99,6 +99,90 @@ data: netToNetIp: null networkIp: null --- +type: "io.trygvis.rules.acme.WgIpAllocation" +data: + host: "acme-1" + role: "link" + ip: + value: "192.168.10.4" +--- +type: "io.trygvis.rules.acme.WgIpAllocation" +data: + host: "acme-1" + role: "network" + ip: + value: "10.55.55.4" +--- +type: "io.trygvis.rules.acme.WgIpAllocation" +data: + host: "acme-2" + role: "link" + ip: + value: "192.168.10.3" +--- +type: "io.trygvis.rules.acme.WgIpAllocation" +data: + host: "acme-2" + role: "network" + ip: + value: "10.55.55.3" +--- +type: "io.trygvis.rules.acme.WgIpAllocation" +data: + host: "acme-3" + role: "link" + ip: + value: "192.168.10.2" +--- +type: "io.trygvis.rules.acme.WgIpAllocation" +data: + host: "acme-3" + role: "network" + ip: + value: "10.55.55.2" +--- +type: "io.trygvis.rules.acme.WgIpAllocation" +data: + host: "ws-1" + role: "link" + ip: + value: "192.168.10.1" +--- +type: "io.trygvis.rules.acme.WgIpAllocation" +data: + host: "ws-1" + role: "network" + ip: + value: "10.55.55.1" +--- +type: "io.trygvis.rules.acme.WgIpAllocation" +data: + host: "ws-2" + role: "link" + ip: + value: "192.168.10.0" +--- +type: "io.trygvis.rules.acme.WgIpAllocation" +data: + host: "ws-2" + role: "network" + ip: + value: "10.55.55.0" +--- +type: "io.trygvis.rules.acme.WgIpPool" +data: + net: "vpn0" + role: "link" + cidr: + value: "192.168.10.0/29" +--- +type: "io.trygvis.rules.acme.WgIpPool" +data: + net: "vpn0" + role: "network" + cidr: + value: "10.55.55.0/24" +--- type: "io.trygvis.rules.acme.WgNet" data: name: "vpn0" @@ -170,39 +254,3 @@ type: "io.trygvis.rules.machine.Machine" data: name: "ws-2" fqdn: null ---- -type: "io.trygvis.rules.network.Ipv4Address" -data: - value: "192.168.10.7" ---- -type: "io.trygvis.rules.network.Ipv4Address" -data: - value: "192.168.10.6" ---- -type: "io.trygvis.rules.network.Ipv4Address" -data: - value: "192.168.10.5" ---- -type: "io.trygvis.rules.network.Ipv4Address" -data: - value: "192.168.10.4" ---- -type: "io.trygvis.rules.network.Ipv4Address" -data: - value: "192.168.10.3" ---- -type: "io.trygvis.rules.network.Ipv4Address" -data: - value: "192.168.10.2" ---- -type: "io.trygvis.rules.network.Ipv4Address" -data: - value: "192.168.10.1" ---- -type: "io.trygvis.rules.network.Ipv4Address" -data: - value: "192.168.10.0" ---- -type: "io.trygvis.rules.network.Ipv4Cidr" -data: - value: "192.168.10.0/29" -- cgit v1.2.3