From 0212300f126c2ffd2184441f2404d8b7ac7d19a3 Mon Sep 17 00:00:00 2001 From: Nils Olof Paulsson <nils.olof.paulsson@liu.se> Date: Mon, 16 Oct 2023 10:28:12 +0200 Subject: [PATCH] addnet --- manifests/init.pp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/manifests/init.pp b/manifests/init.pp index 1a83497..f8d3bd0 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -45,4 +45,17 @@ class egg ( family => 'ipv4', zone => 'liu', } + server_firewall::address_set { 'liu_itn_vpn': + addresses => [ + '10.8.0.0/16', + ], + } + + firewalld_rich_rule { 'allow ssh via itn vpn': + action => 'accept', + service => 'ssh', + source => { 'ipset' => 'liu_itn_vpn_v4', }, + family => 'ipv4', + zone => 'liu', + } } -- GitLab