Set up the cloak jail to run wireguard.

This commit is contained in:
Tom Alexander
2022-10-29 21:29:00 -04:00
parent 464d873b31
commit 016ed08440
5 changed files with 19 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ ext_if = "{ igb0 igb1 ix0 ix1 wlan0 }"
jail_net_v4 = "10.193.223.0/24"
dhcp = "{ bootpc, bootps }"
allow = "{ nat_uplink0 }"
# allow = "{ nat_uplink0 }"
tcp_pass_in = "{ 22 }"
udp_pass_in = "{ 53 51820 }"
@@ -27,7 +27,7 @@ pass out on $ext_if
# `service pf reload` but interfaces that we `skip` will not update (I
# forget if its from adding, removing, or both. TODO: test to figure
# it out)
pass quick on $allow
# pass quick on $allow
pass on $ext_if proto icmp all
pass on $ext_if proto icmp6 all
@@ -36,3 +36,5 @@ pass in on $ext_if proto tcp to any port $tcp_pass_in
pass in on $ext_if proto udp to any port $udp_pass_in
pass quick on $ext_if proto udp from any port $dhcp to any port $dhcp
pass in on nat_uplink0 proto udp from any to any port { 53 51820 }