aboutsummaryrefslogtreecommitdiff
path: root/src/iptables/iptables.conf.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/iptables/iptables.conf.d')
-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