Thursday, April 25, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 15154  / 3 Years ago, thu, july 1, 2021, 12:59:24

How would I go about disabling the nf_conntrack module in Ubuntu 12.04? I am trying to run an HAProxy on an Ubuntu server, and nf_conntrack is giving me problems when it is running. I haven't been able to find any documentation on disabling it.



Thank you


More From » 12.04

 Answers
5

nf_conntrack is built into the kernel... You cant disable it:



# lsmod | grep con



nf_conntrack_ipv4      14487  2 
nf_defrag_ipv4 12729 1 nf_conntrack_ipv4
nf_conntrack 83275 6 ipt_MASQUERADE,nf_nat,xt_state,nf_nat_ipv4,iptable_nat,nf_conntrack_ipv4


nf_conntrack is the kernel's modules for handling network communication:



# rmmod nf_conntrack



Error: Module nf_conntrack is in use by: ipt_MASQUERADE nf_nat xt_state nf_nat_ipv4 iptable_nat nf_conntrack_ipv4


If you need it disabled you can try and disable all the modules that depend on it; but you may find that's not possible. I, for one like a networked system so I'm not even going to try it ;)


[#29122] Friday, July 2, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nguai

Total Points: 216
Total Questions: 108
Total Answers: 116

Location: Hong Kong
Member since Thu, Dec 16, 2021
2 Years ago
;