diff options
author | binary <me@rgoncalves.se> | 2021-01-18 08:53:16 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-01-18 08:53:16 +0100 |
commit | e1532b4ad2135487557f344514dff87325d26424 (patch) | |
tree | 2f087feff192df461ba790d317950f046e3fdb6b /templates/host | |
parent | 3d2f89b3bdda212c57975cc261ea8c9040aee159 (diff) | |
download | infrastructure-e1532b4ad2135487557f344514dff87325d26424.tar.gz |
Move host templates in host subdir
Diffstat (limited to 'templates/host')
-rw-r--r-- | templates/host/dcontroller/etc/pf.conf.j2 | 4 | ||||
-rw-r--r-- | templates/host/stack0/etc/pf.conf. | 1 |
2 files changed, 5 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) + diff --git a/templates/host/stack0/etc/pf.conf. b/templates/host/stack0/etc/pf.conf. new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/templates/host/stack0/etc/pf.conf. @@ -0,0 +1 @@ + |