chiark / gitweb /
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 e486605c3e80f190b2fd28bdcca5c4bbba05356f..ab8249fcf0ddb3fdb82c3b29b5879da5185412d3 100644 (file)
--- a/local.m4
+++ b/local.m4
@@ -265,6 +265,14 @@ defhost mango
        iface eth0 binswood default
        iface vpn-precision colo
 
+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.