谁能告诉我在 ubuntu 中哪里可以找到 config_ip_nf_nat_local 和其他 netfilter 计数器?
我正在使用 Ubuntu 12.04.3 LTS 版本。
问候,-Suresh
答案1
显而易见的问题是为什么需要这个弃用的内核选项?
该选项CONFIG_IP_NF_NAT_LOCAL
支持本地发起连接的 NAT,适用于 Linux 内核2.6.0–2.6.10
。由于违反了 TCP/IP 标准,因此已被删除。
在RFC 5735定义网络 127.0.0.0/8 不能路由到主机外部:
127.0.0.0/8 - This block is assigned for use as the Internet host loopback
address. A datagram sent by a higher-level protocol to an address anywhere
within this block loops back inside the host. This is ordinarily implemented
using only 127.0.0.1/32 for loopback. As described in [RFC1122], Section
3.2.1.3, addresses within the entire 127.0.0.0/8 block do not legitimately
appear on any network anywhere.