aboutsummaryrefslogtreecommitdiffstats
path: root/templates/dcontroller
diff options
context:
space:
mode:
Diffstat (limited to 'templates/dcontroller')
-rw-r--r--templates/dcontroller/etc/pf.conf.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/dcontroller/etc/pf.conf.j2 b/templates/dcontroller/etc/pf.conf.j2
new file mode 100644
index 0000000..0269bda
--- /dev/null
+++ b/templates/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.