Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2001 22:14:38 -0700 (PDT)
From:      Adam LaBarge <phinger@best.com>
To:        freebsd-newbies@FreeBSD.ORG
Subject:   port forwarding with natd
Message-ID:  <Pine.BSF.4.21.0108142206460.1190-100000@shell18.ba.best.com>

next in thread | raw e-mail | index | archive | help
Hi, I am trying to forward port 25 from a FreeBSD router, running natd
with an open firewall to an internal machine running FreeBSD set up as a
sendmail server.  So, I have tried two ways to forward this port, but can
not get it to work.  Way 1)  in /etc/natd.conf I added the line 
permanent_link tcp internalmachineaddress:25 0:0 25
way 2) was from the command line, and that just hung, this is what I could
figure best.
natd -redirect_port internalmachne:25 myIP:25 25
That would hang, not even a sintax error.  I know that natd runs great, i
have been using this router for about 8 month now, works great.  The only
open connection port to the router is 22.  all other tcp is passed to the
machines inside.  I know that sendmail is working ok on the internal
sendmail server, i telnet to port 25 and it give me the sendmail info.  I
just used the defualt sendmail set up.  I also know that the domain
information is set up coorectly.  So, i figure it is just the forwarding
of the port that is messing things up.  If anyones has done this, or knows
any way to get it working.  please help, it is driving me mad.  thanks
-adam


Software is just frozen thought.  Nothing more, nothing less.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0108142206460.1190-100000>