From owner-freebsd-questions Wed Nov 15 9:36: 0 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.dbitech.bc.ca (i.caniserv.com [139.142.95.1]) by hub.freebsd.org (Postfix) with SMTP id 2C18837B4C5 for ; Wed, 15 Nov 2000 09:35:57 -0800 (PST) Received: (qmail 11135 invoked from network); 15 Nov 2000 17:36:37 -0000 Received: from swen.wavefire.com (139.142.167.220) by 139.142.95.81 with SMTP; 15 Nov 2000 17:36:37 -0000 Message-Id: <4.3.2.7.2.20001115092935.00b93c20@mail.wavefire.com> X-Sender: swen@mail.wavefire.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 15 Nov 2000 09:29:47 -0800 To: freebsd-questions@FreeBSD.ORG From: Chameleon Subject: Natd port forwarding Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi All... This is an extremely stupid question, but i've been banging my head against it for the last little while... Got myself a amd k5 as a gateway/firewall running 4.1.1-RELEASE, ipfw and natd. I have a bsd box and a nt machine behind this using 10.xx.xx.xx ip assignment. what i want to do is forward http to the bsd box and forward ftp from port 6669 on the gateway to defaults on the nt box. i know this can be done... but for some reason i'm doing it all wrong. my rc.conf has: natd_flags="-l -dynamic -n xl0 -f /etc/rc.natd" my rc.natd has: ---- verbose yes use_sockets yes redirect_port tcp 10.13.13.68:http 0:0 http #redirect_port tcp 10.13.13.68:80 #redirect_port tcp 10.13.13.68:80 80 ---- i've tried different redirect_port lines in the rc.natd file, but to no avail... if anyone can tell the correct way to forward, i'd really appreciate it... Thanks, Swen -------------------------------------------------------------------- I tried an internal modem, swen@wavefire.com but it hurt when I walked. Swen Kabis -------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message