From owner-freebsd-questions Tue Sep 22 11:40:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA29575 for freebsd-questions-outgoing; Tue, 22 Sep 1998 11:40:12 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA29464 for ; Tue, 22 Sep 1998 11:40:02 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id TAA19614; Tue, 22 Sep 1998 19:38:13 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id LAA21367; Tue, 22 Sep 1998 11:24:11 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199809221024.LAA21367@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "James Johnson" cc: freebsd-questions@FreeBSD.ORG Subject: Re: Natd In-reply-to: Your message of "Sat, 19 Sep 1998 17:11:38 PDT." <003801bde42b$b5bf4620$0101a8c0@flashpoint> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 22 Sep 1998 11:24:07 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hello, > I have a FreeBSD 2.2.6 machine setup as a gateway for my lan. my ISP > gives me a dynamic IP which makes things a little tricky for me. I have > natd setup and configured to do 'aliasing' for all the machines on the > lan... I was wondering how to redirect incoming traffic to a different > machine.. > > Let's say someone hits my ip at port 80 > > I want to redirect it to 192.168.1.2's web server > > Is it possible to do this with dynamic IP's? Yes. Use the -dynamic and -redirect_port switches. > -- > James Johnson > jjohnson@spry.com -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message