aboutsummaryrefslogtreecommitdiff
path: root/src/iptables
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2013-05-25 21:02:35 (GMT)
committerAdrian C. (anrxc) <anrxc@sysphere.org>2013-05-25 21:02:35 (GMT)
commiteeda5d3cf7da337119e257fa99ac77542514350f (patch)
treea510caa2e1fc6f5b35db20681931e9b51f5d405b /src/iptables
parent57cd084ff2f96f001045a8849b68877e9db2f6d0 (diff)
downloadrcdscripts-eeda5d3cf7da337119e257fa99ac77542514350f.tar.xz
rcdscripts: import conf.d files sourced by init scripts2013.05.25
Unfortunately this import is not perfect, it's harder to detect and make a distinction between regular service configuration files, and conf.d configuration files used by old Arch Linux init scripts only. But we have a good number of them, around 70 now.
Diffstat (limited to 'src/iptables')
-rw-r--r--src/iptables/iptables.conf.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/iptables/iptables.conf.d b/src/iptables/iptables.conf.d
new file mode 100644
index 0000000..1c6cc7b
--- /dev/null
+++ b/src/iptables/iptables.conf.d
@@ -0,0 +1,12 @@
+# Configuration for iptables rules
+IPTABLES_CONF=/etc/iptables/iptables.rules
+IP6TABLES_CONF=/etc/iptables/ip6tables.rules
+
+# Enable IP forwarding (both IPv4 and IPv6)
+# NOTE: this is not the recommended way to do this, and is supported only for
+# backward compatibility. Instead, use /etc/sysctl.conf and set the following
+# options:
+# * net.ipv4.ip_forward=1
+# * net.ipv6.conf.default.forwarding=1
+# * net.ipv6.conf.all.forwarding=1
+#IPTABLES_FORWARD=0