aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/npf.conf9
-rw-r--r--etc/rc.conf1
2 files changed, 10 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
+}
diff --git a/etc/rc.conf b/etc/rc.conf
index 4372917..87d7c4e 100644
--- a/etc/rc.conf
+++ b/etc/rc.conf
@@ -22,6 +22,7 @@ rc_configured=YES
#
dhcpcd=YES
dhcpcd_flags="-qM xennet0"
+npf=YES
sshd=YES
ntpd=YES
ntpdate=YES