aboutsummaryrefslogtreecommitdiffstats
path: root/templates/ingress
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-11-30 11:50:29 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-11-30 11:50:29 +0200
commit5c1f0e17b8b0e9ebba6078854c1224e7f5d93ac2 (patch)
tree00412c3090e0fb48cccc074d02f0afffee9bbcc5 /templates/ingress
parent28379e016d4ab80a0d0529d6ca08083c75a0be4d (diff)
pf changes
Diffstat (limited to 'templates/ingress')
-rw-r--r--templates/ingress/etc_pf.conf.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/ingress/etc_pf.conf.j2 b/templates/ingress/etc_pf.conf.j2
index 3cdad6e..feb35d5 100644
--- a/templates/ingress/etc_pf.conf.j2
+++ b/templates/ingress/etc_pf.conf.j2
@@ -16,5 +16,7 @@ nat on $wan from $lan_net to any -> ($wan)
# NAT will be applied automatically when source is in $lan_net and going out $wan
pass out on $wan all keep state
pass out on $lan all keep state
+
+pass in on $wan inet proto {tcp, udp} from any to any port {80, 443} keep state
{% endif %}
{% endfor %}