This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| advanced-firewall [2026/11/10 19:48] – [NAT] -Formatting, clarity, condense. grammar hogwild | advanced-firewall [2026/11/10 22:42] (current) – [NAT] -Condense, format NAT loopback table contents hogwild | ||
|---|---|---|---|
| Line 54: | Line 54: | ||
| ===== NAT ===== | ===== NAT ===== | ||
| - | **NAT loopback: | + | **NAT loopback:** NAT Loopback (Hairpinning) logic is implemented in the firewall subsystem using iptables rules. These rules are applied to the PREROUTING and POSTROUTING NAT table chains. |
| - | \\ | + | This table explains the options availabe for NAT loopback: |
| - | - All\\ Under the Hood, in iptables, FreshTomato inserts a blanket PREROUTING NAT rule matching all traffic from the LAN interface aimed at the WAN IP address. This happens whether or not a port forwarding rule exists.\\ Behavior: Any LAN connection | + | \\ |
| - | | + | |
| - | | + | ^ Mode ^ |
| + | | **All** | Any LAN traffic | ||
| + | | **Forwarded Only** (default) | ||
| + | | **Disabled** | No loopback | ||
| \\ | \\ | ||
| - | Cons: - LAN devices cannot access local servers using public domain names or public IP addresses nor the router admin interface on the WAN.\\ | + | * < |
| + | |||
| + | * < | ||
| + | * Performance: | ||
| + | * < | ||
| {{:: | {{:: | ||