From owner-freebsd-security Wed May 6 17:40:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA28288 for freebsd-security-outgoing; Wed, 6 May 1998 17:40:15 -0700 (PDT) (envelope-from owner-freebsd-security@FreeBSD.ORG) Received: from thuule.pair.com (thuule.pair.com [209.68.1.107]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA28171; Wed, 6 May 1998 17:39:42 -0700 (PDT) (envelope-from asr@millburn.net) Received: from localhost (asr@localhost) by thuule.pair.com (8.8.8/8.6.12) with SMTP id UAA29041; Wed, 6 May 1998 20:39:39 -0400 (EDT) X-Envelope-To: freebsd-security@freebsd.org Date: Wed, 6 May 1998 20:39:39 -0400 (EDT) From: Adam Rothschild X-Sender: asr@thuule.pair.com To: freebsd-net@FreeBSD.ORG, freebsd-security@FreeBSD.ORG Subject: NAT woes! Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk Hey everyone... I'm trying to setup the following, and I'm failing miserably. Internal network -[ed0]- FreeBSD (2.2.5) box -[ex0]- public IP 192.168.0.0/24 1.2.3.4 - FreeBSD box blocks all incoming connections, except on TCP port 25 Here's what I have. Note that the NAT for internal machines accessing the 'net works nicely. However, I can't figure out how to allow tcp port 25 into the box on it's public interface [ex0]. o FreeBSD box is assigned 192.168.0.1 on the ed0 interface, and 1.2.3.4 on the ex0 interface. o The following script is executed to initiate things: natd -log -redirect_address 192.168.0.0 0.0.0.0 -n ex0 -u ipfw -f flush ipfw add divert natd all from any to any ipfw add pass all from any to any Any help would be GREATLY appreciated!!! Thanks, Adam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe security" in the body of the message