summaryrefslogtreecommitdiff
path: root/templates-cfg/system/conntrack/modules/ftp/disable/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates-cfg/system/conntrack/modules/ftp/disable/node.def')
-rw-r--r--templates-cfg/system/conntrack/modules/ftp/disable/node.def7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates-cfg/system/conntrack/modules/ftp/disable/node.def b/templates-cfg/system/conntrack/modules/ftp/disable/node.def
new file mode 100644
index 0000000..40a64d5
--- /dev/null
+++ b/templates-cfg/system/conntrack/modules/ftp/disable/node.def
@@ -0,0 +1,7 @@
+help: Disable FTP connection tracking
+
+create: sudo rmmod nf_nat_ftp
+ sudo rmmod nf_conntrack_ftp
+
+delete: sudo modprobe nf_conntrack_ftp
+ sudo modprobe nf_nat_ftp \ No newline at end of file