To the point of Network Address Translation (NAT), allow me to take away some confusion and unneeded complexity here.
There are two types of NAT. The first one is known as Destination NAT (DNAT) and what it does is forward whatever is received to a specific other address. The second one is known as Source NAT (SNAT) and this changes the address where the reply should go to. There are a lot of crazy things you can do with SNAT and most will not work but the most common usage of SNAT is where a router replaces the reply address with its own address, a method that is generally referred to as Masquerading and every firewall application accepts this as shorthand for SNAT <my internal|external|whatever IP> which also prevents misconfiguration. So my tip is that you forget about (S)NAT and just remember MASQ which offers a visual interpretation of what it does - pretty cool that it happens to be carnival as I write this.
There are two types of NAT. The first one is known as Destination NAT (DNAT) and what it does is forward whatever is received to a specific other address. The second one is known as Source NAT (SNAT) and this changes the address where the reply should go to. There are a lot of crazy things you can do with SNAT and most will not work but the most common usage of SNAT is where a router replaces the reply address with its own address, a method that is generally referred to as Masquerading and every firewall application accepts this as shorthand for SNAT <my internal|external|whatever IP> which also prevents misconfiguration. So my tip is that you forget about (S)NAT and just remember MASQ which offers a visual interpretation of what it does - pretty cool that it happens to be carnival as I write this.
Comment