On Mon, 2003-08-11 at 12:42, P Hennessy wrote:> I am using shorewall 1.4.6a on redhat 9
>
> Two interface.
>
> Using NAT
>
> 10.10.1.7 213.94.193.94
> ----------------------------------------------------
>
> Firewall gateway eth0: 213.94.193.89
> eth1: 10.10.1.3
> ----------------------------------------------------------
> www server internal IP: 10.10.1.7 External IP: 213.94.193.94
>
---------------------------------------------------------------------------------------------
>
> I what any mail that is sent to the 213.94.193.94 from the net to go to the
> firewall gateway port 25.
>
> I tried
>
> DNAT net loc:10.10.1.3 tcp 25 -
213.94.193.94
>
> But didn''t work.
>
> Can someone help with this please.
Hint: NAT_BEFORE_RULES in shorewall.conf
-Tom
--
Tom Eastep \ Shorewall - iptables made easy
Shoreline, \ http://shorewall.net
Washington USA \ teastep@shorewall.net