summaryrefslogtreecommitdiff
path: root/nonsystemd/iptables-openrc/iptables.confd
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd/iptables-openrc/iptables.confd')
-rw-r--r--nonsystemd/iptables-openrc/iptables.confd19
1 files changed, 19 insertions, 0 deletions
diff --git a/nonsystemd/iptables-openrc/iptables.confd b/nonsystemd/iptables-openrc/iptables.confd
new file mode 100644
index 000000000..7225374c3
--- /dev/null
+++ b/nonsystemd/iptables-openrc/iptables.confd
@@ -0,0 +1,19 @@
+# /etc/conf.d/iptables
+
+# Location in which iptables initscript will save set rules on
+# service shutdown
+IPTABLES_SAVE="/var/lib/iptables/rules-save"
+
+# Options to pass to iptables-save and iptables-restore
+SAVE_RESTORE_OPTIONS="-c"
+
+# Save state on stopping iptables
+SAVE_ON_STOP="yes"
+
+# If you need to log iptables messages as soon as iptables starts,
+# AND your logger does NOT depend on the network, then you may wish
+# to uncomment the next line.
+# If your logger depends on the network, and you uncomment this line
+# you will create an unresolvable circular dependency during startup.
+# After commenting or uncommenting this line, you must run 'rc-update -u'.
+#rc_use="logger"