Tech Support > Operating Systems > Linux / Variants > TCP/IP Port Redirector?
TCP/IP Port Redirector?
Posted by Paul Hutchings on January 10th, 2004


Not sure if I'm barking up the wrong tree, but I'd like to be able to have
a RH9 box in our DMZ listen on a specified port and redirect incoming
connections to an SMTP server that's not accessible on port 25 from the
internet.

Basically I'm trying to offer smtp-auth to our users without opening our
Exchange server to the internet on port 25, or having to change the port
the Exchange box listens to.

regards
Paul
--
paul <at> spamcop.net

Posted by Davide Bianchi on January 10th, 2004


In comp.os.linux.misc Paul Hutchings <paul@spamcop.net> wrote:
You can use iptables to perform NAT on specific ports, see the
iptables-howto .

Davide

--
| IBM's vision is apparently to make IBM hardware "scream with Microsoft
| software" -- The Register I have visions of screaming with (at and
| about) Microsoft software, too. -- Joe Moore on alt.sysadmin.recovery

Posted by Anonymous on January 11th, 2004


"PH" == Paul Hutchings <paul@spamcop.net>:
PH> Not sure if I'm barking up the wrong tree, but I'd like to be able to have
PH> a RH9 box in our DMZ listen on a specified port and redirect incoming
PH> connections to an SMTP server that's not accessible on port 25 from the
PH> internet.

'redir' and 'socat' can both do what you described.

-=-
This message was posted via two or more anonymous remailing services.




Posted by Leon. on January 11th, 2004



"Anonymous" <BigappleRemailer@Optonline.Net> wrote in message
news:9WJXFK3U37997.3314814815@anonymous...
These are applications ...

They do work, but you could use more ram and cpu power than if you do it
with the port forwarding ( the reverse direction process similar to network
address translation) of the kernels firewall capabilities.





Posted by hutuworm on January 17th, 2004


Simply try rinetd.(http://www.boutell.com/rinetd/)
More easy than iptables rules.

"Paul Hutchings" <paul@spamcop.net> дÈëÓʼþ
news:Xns946CB0AD59BECpaulhutchingsspamcop@130.133. 1.4...



Similar Posts