mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-19 14:26:01 -04:00
change(lwip): Remove 'experimental' from NAPT in kconfig, update lwIP doc
This commit is contained in:
parent
bb1bc2afac
commit
35fe20da84
@ -248,14 +248,14 @@ menu "LWIP"
|
||||
Enabling this option allows packets forwarding across multiple interfaces.
|
||||
|
||||
config LWIP_IPV4_NAPT
|
||||
bool "Enable NAT (new/experimental)"
|
||||
bool "Enable NAT"
|
||||
depends on LWIP_IP_FORWARD
|
||||
default n
|
||||
help
|
||||
Enabling this option allows Network Address and Port Translation.
|
||||
|
||||
config LWIP_IPV4_NAPT_PORTMAP
|
||||
bool "Enable NAT Port Mapping (new/experimental)"
|
||||
bool "Enable NAT Port Mapping"
|
||||
depends on LWIP_IPV4_NAPT
|
||||
default y
|
||||
help
|
||||
|
@ -419,6 +419,14 @@ IP Layer Features
|
||||
|
||||
- IPV4-mapped IPV6 addresses are supported
|
||||
|
||||
NAPT and Port Forwarding
|
||||
++++++++++++++++++++++++
|
||||
|
||||
IPV4 network address port translation (NAPT) and port forwarding are supported. However, the enabling of NAPT is limited to a single interface.
|
||||
|
||||
- To use NAPT for forwarding packets between two interfaces, it needs to be enabled on the interface connecting to the target network. For example, to enable internet access for Ethernet traffic through the WiFi interface, NAPT must be enabled on the Ethernet interface.
|
||||
- Usage of NAPT is demonstrated in :example:`network/vlan_support`.
|
||||
|
||||
.. _lwip-custom-hooks:
|
||||
|
||||
Customized lwIP Hooks
|
||||
|
Loading…
Reference in New Issue
Block a user