[Shorewall-users] port redirect and dnat

cpickering at its-linux.co.uk cpickering at its-linux.co.uk
Wed Dec 10 14:53:57 PST 2003


Yes this can be done, it is part of the FAQ on the shorewall hompage 

Edit your rules file with

DNAT            net      loc:       tcp     8181 # Comment 

Edit the above to work with your setup..

'net' specifies anyone from the Internet going to port '8181' on the host 
ip is redirected to 'loc: on port 80'

- Carl

"Thad Marsh" <thad at marshtek.com> 
Sent by: shorewall-users-bounces at lists.shorewall.net
10/12/2003 13:41
Please respond to
Mailing List for Experienced Shorewall Users 
<shorewall-users at lists.shorewall.net>

<Shorewall-users at lists.shorewall.net>

[Shorewall-users] port redirect and dnat

Can you port redirect using DNAT?


Here's what I need to do, I have a server with an app using port 443 for
internal work.  On the same server is an internal webmail server running
on port 444.


How do we redirect the external 443 to 444 within DNAT so web users can
https to the 444 with out having to specify the port on their end?


Thad Marsh
Marsh Technology Group, LLC.
15 East 21st Street
Huntington Station, New York 11746
Phone: (631) 385-7250
Fax: (631) 673-3951
thad at marshtek.com
visit us at marshtek.com <BLOCKED::http://www.marshtek.com/> 



Shorewall-users mailing list
Post: Shorewall-users at lists.shorewall.net
Support: http://www.shorewall.net/support.htm
FAQ: http://www.shorewall.net/FAQ.htm

More information about the Shorewall-users mailing list