When I execute the command: iptables -a FORWARD -m state - the state ESTABLISHED, RELATED -j ACCEP
Prompt error: iptables v1.4.19: Couldn 't load match ` state' : No to the file or directory
Find A replacement order online: iptables -a FORWARD -m conntrack - ctstate ESTABLISHED, RELATED -j ACCEP
But prompt almost the same error: iptables v1.4.19: Couldn 't load match ` conntrack' : No to the file or directory
Please remind how to solve the great god, thank you!
CodePudding user response:
State module is required for the kernel, need make choose the state of netfilter kernel_menuconfig