aboutsummaryrefslogtreecommitdiffstats
path: root/templates/host/dcontroller/etc
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-01-18 08:53:16 +0100
committerbinary <me@rgoncalves.se>2021-01-18 08:53:16 +0100
commite1532b4ad2135487557f344514dff87325d26424 (patch)
tree2f087feff192df461ba790d317950f046e3fdb6b /templates/host/dcontroller/etc
parent3d2f89b3bdda212c57975cc261ea8c9040aee159 (diff)
downloadinfrastructure-e1532b4ad2135487557f344514dff87325d26424.tar.gz
Move host templates in host subdir
Diffstat (limited to 'templates/host/dcontroller/etc')
-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.