在 ubuntu 中哪裡可以找到 config_ip_nf_nat_local ?

在 ubuntu 中哪裡可以找到 config_ip_nf_nat_local ?

誰能告訴我在 ubuntu 中哪裡可以找到 config_ip_nf_nat_local 和其他 netfilter 計數器?

我使用的是 Ubuntu 12.04.3 LTS 版本。

問候,-蘇雷什

答案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.

相關內容