local.m4: Load connection tracking modules as standard.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 29 Jun 2014 18:47:22 +0000 (19:47 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 29 Jun 2014 18:47:22 +0000 (19:47 +0100)
This will make FTP work properly, at least.

local.m4

index e486605..ab8249f 100644 (file)
--- a/local.m4
+++ b/local.m4
@@ -267,6 +267,14 @@ defhost mango
 
 m4_divert(80)m4_dnl
 ###--------------------------------------------------------------------------
+### Connection tracking helper modules.
+
+for i in ftp; do
+  modprobe nf_conntrack_$i
+done
+
+m4_divert(80)m4_dnl
+###--------------------------------------------------------------------------
 ### Special forwarding exemptions.
 
 case $forward in