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/phase-1.yaml | 120 ++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 84 insertions(+), 36 deletions(-) (limited to 'out/phase-1.yaml') diff --git a/out/phase-1.yaml b/out/phase-1.yaml index c9974d0..c0d093a 100644 --- a/out/phase-1.yaml +++ b/out/phase-1.yaml @@ -130,6 +130,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" @@ -347,42 +431,6 @@ 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" ---- type: "io.trygvis.rules.terraform.ScalewayMachine" data: machine: -- cgit v1.2.3