IP Masquerading
How to masquerade multiple internal networks
Overview
Note: The v4.40 or 4.30 Service Pack 681 allows masquerading VLAN interfaces
Masquerading more than one internal network is fairly simple. You need to first make sure that all of your networks are running correctly (both internal and external). You then need to enable traffic to pass to both the other internal interfaces and to be Masqueraded to the Internet.
Next, you need to enable Masquerading on the INTERNAL interfaces.
The example uses a total of three interfaces:
- ETH0 stands for the eth0 interface which is the EXTERNAL connection to the Internet.
- LAN_172 stands for the eth1 interface and is the 172.16.1.0 network.
- LAN_100 stands for the eth2 interface and is the 192.168.100 network.
Both LAN_172 and, LAN_100 will be Masqueraded out of interface eth0.

Configure Firewall Interfaces Connectors
- On the left menu, choose “Your Firewall” and “Interfaces connectors”
- In the “New connector” button create a rule in order to link interfaces.
- You can enable the “Join interfaces only” option that just make Interfaces linking but did not create any Firewall rules on the forward TCP packets.

Masquerade Interfaces
- Click on Masquerade left menu and enable the checkbox for the Interface that act as WAN in order to masquerade outgoing packets.
Please note that it is CORRECT to have "eth0". The reason for this is the kernel needs to know which interface is used for OUTGOING traffic. Since eth0 in the above examples is the Internet connection, it is must be listed for each internal interface.

- Finally, click on “Apply Firewall rules”