This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
forward-basic [2025/08/23 14:59] – [NAT] -Condense hogwild | forward-basic [2025/08/23 16:57] (current) – [PAT] -Resize Gateway option screenshot to 281 hogwild | ||
---|---|---|---|
Line 23: | Line 23: | ||
==== PAT ==== | ==== PAT ==== | ||
- | There are several types of NAT. The most common | + | There are several types of NAT. The most common/relevant |
Note that there' | Note that there' | ||
Line 29: | Line 29: | ||
\\ | \\ | ||
- | [[https:// | + | [[https:// |
\\ | \\ | ||
Line 45: | Line 45: | ||
\\ | \\ | ||
- | [[https:// | + | [[https:// |
\\ | \\ | ||
Line 61: | Line 61: | ||
\\ | \\ | ||
- | **Int Port:** this option | + | **Int Port:** this lets you specify a different (internal) port for the target LAN IP address. |
Leaving this empty uses the same port as the Ext Port setting (Default: empty). | Leaving this empty uses the same port as the Ext Port setting (Default: empty). | ||
Line 78: | Line 78: | ||
\\ | \\ | ||
+ | |||
==== Advanced Scenarios ==== | ==== Advanced Scenarios ==== | ||
Line 85: | Line 86: | ||
=== Reverse Proxy === | === Reverse Proxy === | ||
- | To do its job, a proxy must speak the protocol used by the application. For example, an HTTP proxy cannot serve SMTP. If you need to redirect, say, HTTP to multiple internal hosts from the same external port, a reverse proxy is a good solution. According to HTTP v1.1, the target hostname must be included in the HTTP client request. This allows a proxy to fetch such information, | + | To do its job, a proxy must speak the protocol used by the application. For example, an HTTP proxy cannot serve SMTP. If you need to redirect, say, HTTP to multiple internal hosts from the same external port, a reverse proxy is a good solution. According to HTTP v1.1, the target hostname must be included in the HTTP client request. This allows a proxy to fetch such information, |
=== Source Bound Redirection === | === Source Bound Redirection === | ||
- | If the source IP and/or FQDN is well-known, you can create multiple port mapping references on the same port: | + | If the source IP and/or FQDN is well-known, you can create multiple port mapping references on the same port: |
\\ | \\ | ||
- | {{:pasted:20231026-084901.png?750}} | + | {{::port_forwarding-basic-multiple_port_mappings-2024.3.png?800}}\\ |
- | + | ||
- | \\ | + | |
- | The above settings would cause traffic from the IP address(es) | + | The above settings would cause traffic from the IP addresses |
\\ | \\ | ||
- | Please note the "Src. Address" | + | Note that the "Src. Address" |
\\ | \\ | ||
- | ^ On ^ Protocol | + | ^ On ^ Protocol |
- | | ⭐ | TCP | | 80,443 | | 192.168.1.5 | Main webserver | | + | | ⭐ | TCP | |
- | | ⭐ | TCP | source1.example.com | 80,443 | | 192.168.1.6 | Secondary | + | | ⭐ | TCP | source1.example.com | 80,443 | |
- | | ⭐ | TCP | source2.example.com | 80,443 | | 192.168.1.6 | Secondary | + | | ⭐ | TCP | source2.example.com | 80,443 | |
\\ \\ | \\ \\ | ||