[Shorewall-newbies] 2 external addresses mapped to one internal

Tom Eastep teastep at shorewall.net
Tue Mar 9 10:11:14 PST 2004


On Tuesday 09 March 2004 09:46 am, Eugene Ventimiglia wrote:
> Is it possible using shorewall to configure 2 external IP addresses on one
> internal? I'm getting additional external IP addresses, but I have to
> return my previous addresses, and I'd like to make all the changes on the
> firewall.
>
> Like this:
>
> OLD 68.167.117.18 \
>
>                    > 192.168.2.18
>
> NEW  67.101.75.18 /
>
> I just can't get my head around how it would be mapped in the other
> direction

You can use one-to-one NAT on one of the addresses and DNAT rules for the 
other. Be sure that you have NAT_BEFORE_RULES=No in shorewall.conf.

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ teastep at shorewall.net




More information about the Shorewall-newbies mailing list