Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
insmod nf_nat_ipv4.ko,但这会返回错误:
insmod nf_nat_ipv4.ko
insmod: ERROR: could not insert module: Protocol wrong type for socket
dmesg 中没有日志。操作系统没有安装 iptables。但是 insmod 适用于 nf_conntrack, nf_nat 。任何建议将不胜感激
好的 nf_nat_ipv4 取决于 iptables_nat 如果 insmod 给你问题试试这个。
modprobe nf_nat_ipv4