aboutsummaryrefslogtreecommitdiffstats
path: root/templates/dcontroller/etc
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-07 20:40:29 +0100
committerbinary <me@rgoncalves.se>2020-11-07 20:40:29 +0100
commit33237796544775a622e31dc86df3c9da6c737902 (patch)
tree1d8ecb3eb99679c70a52195e550e70258262ead3 /templates/dcontroller/etc
parentda408b3a7a16c6465c9c502e58b9c98509f4313d (diff)
downloadinfrastructure-33237796544775a622e31dc86df3c9da6c737902.tar.gz
Cleanup unused and old configurations
Diffstat (limited to 'templates/dcontroller/etc')
-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.