summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2013-08-25 21:14:22 +0200
committerRobert Gerus <arachnist@i.am-a.cat>2013-08-25 21:14:22 +0200
commit606010063f756282f385bd41c3001a3125031961 (patch)
tree7da8c958aa6c0a2bf25b922a9e9db2cc0e6df7cf
parent64840033ff0b0e439fca9acd3d077d7ceffa9053 (diff)
downloadhs-fw-606010063f756282f385bd41c3001a3125031961.tar.gz
hs-fw-606010063f756282f385bd41c3001a3125031961.tar.bz2
hs-fw-606010063f756282f385bd41c3001a3125031961.tar.xz
hs-fw-606010063f756282f385bd41c3001a3125031961.zip
Test rules?
-rw-r--r--pf.conf4
-rw-r--r--rules.d/00-log.rules4
2 files changed, 8 insertions, 0 deletions
diff --git a/pf.conf b/pf.conf
new file mode 100644
index 0000000..048bc8c
--- /dev/null
+++ b/pf.conf
@@ -0,0 +1,4 @@
+lan_if="lan0"
+wan_if="bge2"
+
+include "/etc/firewall/rules.d/*.rules"
diff --git a/rules.d/00-log.rules b/rules.d/00-log.rules
new file mode 100644
index 0000000..b5ae3f2
--- /dev/null
+++ b/rules.d/00-log.rules
@@ -0,0 +1,4 @@
+table <loghosts> persist
+
+pass all log from <loghosts>
+pass all log to <loghosts>