aboutsummaryrefslogtreecommitdiff
path: root/etc/npf.conf
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-13 16:54:09 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-13 16:54:09 +0200
commit4fe708bab20346eb866fb70d566c0aff8f6688e7 (patch)
treefde39e1559822edce3c641c9e54c3a15a529c2bf /etc/npf.conf
parent396422475f61a989d11acc81f17449d5057d7207 (diff)
downloadrbsd-4fe708bab20346eb866fb70d566c0aff8f6688e7.tar.gz
Add /etc/npf.conf
I have to use NPF instead of IPF (which is what I am used to) because apparently the ipf module wasn't included with the system. Seems to work, though.
Diffstat (limited to 'etc/npf.conf')
-rw-r--r--etc/npf.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/npf.conf b/etc/npf.conf
new file mode 100644
index 0000000..18289a5
--- /dev/null
+++ b/etc/npf.conf
@@ -0,0 +1,9 @@
+group default {
+ block in all
+ pass stateful on lo0 all
+ pass stateful out all
+ pass stateful in proto icmp all
+ pass stateful in from any to any port 22
+ pass stateful in from any to any port 80
+ pass stateful in from any to any port 443
+}