I thought DNAT rules was also required to pass the port and protocol.
I will test tomorrow.
Thank Tom.
2010/1/27 Tom Eastep <[email protected]>
> Orlandinei Vujanski wrote:
> > Sorry.
> > I need to make all Internet requests on IP 172.25.5.1 is redirected to
> > the IP 10.120.7.1 port indifferent. How do the shorewall?
> >
> > Sorry for my bad english.
>
> In /etc/shorewall/rules, the following rule will redirect all requests
> from the 'net' zone addressed to 172.25.5.1 to host 10.120.7.1 in the
> 'loc' zone.
>
> DNAT net loc:10.120.7.1 - - - 172.25.5.1
>
> -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 \________________________________________________
>
>
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Shorewall-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/shorewall-users
>
>
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users