This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| nrsw:1to1_napt [2015/04/14 10:13] – [Basic Napt Rules] juraschek | nrsw:1to1_napt [2026/10/20 12:35] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== 1:1 Network Napt ====== | ||
| - | |||
| - | With 1:1 NAPT you can Map a whole network IP-range into another. This can be handy if you want to maintain a common local ip range like 192.168.1.0/ | ||
| - | |||
| - | Common Example: A Tram installed with a lot of devices like: ticketmachines, | ||
| - | * to the ticketmachine via **192.168.1.13**, | ||
| - | * to the videocamera via **192.168.1.14** | ||
| - | * and the WLAN accesspoint via **192.168.1.15**. | ||
| - | |||
| - | But in the same moment you want to have a remote connection via WLAN and connect to each tram and device idividually. So would you want to have IPs like: | ||
| - | |||
| - | * to the ticketmachine via **10.10.123.13**, | ||
| - | * to the videocamera via **10.10.123.14** | ||
| - | * and the WLAN accesspoint **via 10.10.123.15**. | ||
| - | |||
| - | Where 123 would be your vehicle/ | ||
| - | |||
| - | To avoid creating 3 or even more NAPT rules you can use the network based rules and do this with only 2 Rules. | ||
| - | |||
| - | ===== Basic Napt Rules ===== | ||
| - | |||
| - | * Inbound: Map 10.10.**123**.0/ | ||
| - | * Outbount: Map 192.168.**1**.0/ | ||
| - | |||
| - | ===== Configuration ===== | ||
| - | |||
| - | To Configure this scenario all you need are two rules | ||
| - | |||
| - | * Inbound NAPT Rule | ||
| - | {{ : | ||
| - | |||
| - | * Outbound NAPT Rule | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||