Marcelo Leão Caffaro/Sigma
2003-Feb-15 11:35 UTC
[Shorewall-users] Redirect from internet to internal
Hi, I''m trying to redirect all inbound conections from internet port 5555 to my internal network ip 10.0.0.78 port 7777. how can I to do this? thanks
> -----Original Message----- > From: Marcelo Le?o Caffaro/Sigma > Sent: Saturday, February 15, 2003 10:18 AM > Subject: [Shorewall-users] Redirect from internet to internal > > > Hi, > I''m trying to redirect all inbound conections from internet > port 5555 to my internal network ip 10.0.0.78 port 7777. > how can I to do this? > thanksAdd the following to your /etc/shorewall/rules file. DNAT net loc:10.0.0.78:7777 tcp 5555 BTW: Your question is answered in shorewall FAQ #1. Plus, there is an example of this in the header portion of the shorewall rules file. The key is the source port field. Steve Cowles