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/host/dcontroller/etc/pf.conf.j2 | 4 ++++ templates/host/stack0/etc/pf.conf. | 1 + 2 files changed, 5 insertions(+) create mode 100644 templates/host/dcontroller/etc/pf.conf.j2 create mode 100644 templates/host/stack0/etc/pf.conf. (limited to 'templates/host') 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 @@ + -- cgit v1.2.3