Lito Kusnadi wrote:> Hi,
>
> I have a rule:
> DNAT net dmz:a.b.c.d tcp 25 - k.l.m.n
>
> The problem:
> I want to DNAT port 25, 143, 110
> k.l.m.n is alternate public ip (using vrrp, just like alias)
>
> Can I abridge the above line using macro, instead of writing 3 separate
lines?
You don''t need a macro -- see
http://www.shorewall.net/configuration_file_basics.htm#Portlists
-Tom
--
Tom Eastep \ When I die, I want to go like my Grandfather who
Shoreline, \ died peacefully in his sleep. Not screaming like
Washington, USA \ all of the passengers in his car
http://shorewall.net \________________________________________________
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference