aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-02 13:28:27 +0100
committerbinary <me@rgoncalves.se>2020-11-02 13:28:27 +0100
commit4ff357865fecd2aaad9d9c197e8ee46e2bab8711 (patch)
tree3366ab640fb8a387f35aa18bafddae7e41dab4f2 /templates
parent17d12e89469c32d9f30d406d83e98fc06f2dd7ff (diff)
downloadinfrastructure-4ff357865fecd2aaad9d9c197e8ee46e2bab8711.tar.gz
Per host templates
Diffstat (limited to 'templates')
-rw-r--r--templates/CHV-DC-rainbow/etc/pf.conf.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/CHV-DC-rainbow/etc/pf.conf.j2 b/templates/CHV-DC-rainbow/etc/pf.conf.j2
new file mode 100644
index 0000000..0269bda
--- /dev/null
+++ b/templates/CHV-DC-rainbow/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.