aboutsummaryrefslogtreecommitdiffstats
path: root/roles/pf/templates
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-07-29 17:00:20 +0200
committerRomain Gonçalves <me@rgoncalves.se>2021-07-29 17:00:20 +0200
commitb232b894c3cbe087c8d504e91637dcf62199eed1 (patch)
treeea72a7d1a7f63c6425ee46785e1cec924351b2c3 /roles/pf/templates
parent22126073344e60c405d086df37b64da0c6d3c086 (diff)
downloadinfrastructure-b232b894c3cbe087c8d504e91637dcf62199eed1.tar.gz
Bump to third revision of homelab
Diffstat (limited to 'roles/pf/templates')
-rw-r--r--roles/pf/templates/pf.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/pf/templates/pf.conf.j2 b/roles/pf/templates/pf.conf.j2
index 154098e..199d9ca 100644
--- a/roles/pf/templates/pf.conf.j2
+++ b/roles/pf/templates/pf.conf.j2
@@ -6,7 +6,7 @@
# common configuration
set block-policy drop
set loginterface egress
-set skip on { lo tun0 }
+set skip on { lo wg0 }
block all
# host services
@@ -34,7 +34,7 @@ set skip on tap{{ i }}
# 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)
+pass out quick on egress inet from (wg0:network) nat-to (egress:0)
# output network
pass out quick inet
remember that computers suck.