aboutsummaryrefslogtreecommitdiffstats
path: root/templates/host
diff options
context:
space:
mode:
Diffstat (limited to 'templates/host')
-rw-r--r--templates/host/dcontroller/etc/pf.conf.j24
-rw-r--r--templates/host/stack0/etc/pf.conf.1
2 files changed, 5 insertions, 0 deletions
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 @@
+
remember that computers suck.