From e1532b4ad2135487557f344514dff87325d26424 Mon Sep 17 00:00:00 2001 From: binary Date: Mon, 18 Jan 2021 08:53:16 +0100 Subject: Move host templates in host subdir --- templates/dcontroller/etc/pf.conf.j2 | 4 ---- templates/host/dcontroller/etc/pf.conf.j2 | 4 ++++ templates/host/stack0/etc/pf.conf. | 1 + templates/stack0/etc/pf.conf. | 1 - 4 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 templates/dcontroller/etc/pf.conf.j2 create mode 100644 templates/host/dcontroller/etc/pf.conf.j2 create mode 100644 templates/host/stack0/etc/pf.conf. delete mode 100644 templates/stack0/etc/pf.conf. diff --git a/templates/dcontroller/etc/pf.conf.j2 b/templates/dcontroller/etc/pf.conf.j2 deleted file mode 100644 index 0269bda..0000000 --- a/templates/dcontroller/etc/pf.conf.j2 +++ /dev/null @@ -1,4 +0,0 @@ -# wireguard -pass in on egress inet proto udp from any to any port 50000 -pass out quick on egress inet from (tun0:network) nat-to (egress:0) - diff --git a/templates/host/dcontroller/etc/pf.conf.j2 b/templates/host/dcontroller/etc/pf.conf.j2 new file mode 100644 index 0000000..0269bda --- /dev/null +++ b/templates/host/dcontroller/etc/pf.conf.j2 @@ -0,0 +1,4 @@ +# wireguard +pass in on egress inet proto udp from any to any port 50000 +pass out quick on egress inet from (tun0:network) nat-to (egress:0) + diff --git a/templates/host/stack0/etc/pf.conf. b/templates/host/stack0/etc/pf.conf. new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/templates/host/stack0/etc/pf.conf. @@ -0,0 +1 @@ + diff --git a/templates/stack0/etc/pf.conf. b/templates/stack0/etc/pf.conf. deleted file mode 100644 index 8b13789..0000000 --- a/templates/stack0/etc/pf.conf. +++ /dev/null @@ -1 +0,0 @@ - -- cgit v1.2.3