Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Oct 1998 17:40:30 -0600 (CST)
From:      Mike Jenkins <mjenkins@carp.gbr.epa.gov>
To:        chadth@atvideo.com
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: FW: firewall + internal mail server
Message-ID:  <199810262340.RAA08360@carp.gbr.epa.gov>
In-Reply-To: <01BE00E3.2EDE9D70@chadth.atvideo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Thank you for your response but I am unable to get this below to work.  It appears that natd is not listening to that port.  Do I need to do anything to make natd monitor the port?  Sendmail is disabled on the firewalling machine, making port 25 available to be bound too.  I also tried redirect_port tcp ip.of.mail.server:25 25 as well as redirct_port tcp ip.of.mail.server:25 ip.of.public.interface:25  Any more input would be great.

So you're starting natd sort of like (minus the pop3):

  /usr/sbin/natd -interface ed0 -redirect_port tcp internalhost:smtp smtp

and you've got IPFIREWALL in the kernel and you're diverting packets to natd:

  /sbin/ipfw add 100 divert natd all from any to any via ed0

And it doesn't work?    Maybe read the natd manual page to make sure
you got it set up correctly.  Also maybe add the -log option to see
if natd is having problems.

Mike

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810262340.RAA08360>