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