This shows you the differences between two versions of the page.
Last revision | |||
— | configuration:1to1_nat [2018/10/24 08:48] – created fachet | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== 1:1 Network NAT ====== | ||
+ | |||
+ | With 1:1 NAT 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 NAT Rule | ||
+ | {{ : | ||
+ | |||
+ | * Outbound NAT Rule | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||