[Firehol-support] 4 NIC 2 NAT with firehol
Carlos Rodrigues
carlos.efr at mail.telepac.pt
Sat Jan 26 15:54:45 GMT 2008
On Jan 26, 2008 3:51 PM, Carlos Rodrigues <carlos.efr at mail.telepac.pt> wrote:
> For the NAT part, you only have to specify that all traffic going out
> from each one outside interface gets that interface's address:
>
> snat to "${world1_nat_address}" outface "${world1_iface}"
> snat to "${world2_nat_address}" outface "${world2_iface}"
>
BTW, this should have the same behaviour but is nicer looking (as it
doesn't match the firewall itself -- most useful when you are doing
NAT to an address meant just for that, and aren't using the firewall's
address itself):
snat to "${world1_nat_address}" outface "${world1_iface}" src "${lan1_address}"
snat to "${world2_nat_address}" outface "${world2_iface}" src "${lan2_address}"
--
Carlos Rodrigues
More information about the Firehol-support
mailing list