From owner-freebsd-questions Sun May 9 14: 8:19 1999 Delivered-To: freebsd-questions@freebsd.org Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (Postfix) with ESMTP id 6374015851 for ; Sun, 9 May 1999 14:07:52 -0700 (PDT) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.2/8.9.2) with ESMTP id VAA13244; Sun, 9 May 1999 21:45:53 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id VAA08530; Sun, 9 May 1999 21:45:31 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199905092045.VAA08530@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: alantrulock@erols.com (Alan Trulock) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Questions about aliasing In-reply-to: Your message of "Sat, 08 May 1999 21:06:15 GMT." <3737a53a.48103365@smtp.erols.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 09 May 1999 21:45:31 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I am running FreeBSD box as my connection to my ISP with ppp -auto > -alias. > > I know how to redirect incomming packets on specific ports to internal > addresses. > > What I am wondering is if I can redirect traffic from a specific port > or external address to an internal address? You can, but you have to fix the code first :-) The alias_RedirectPort() function in alias_cmd.c doesn't accept all the arguments that the PacketAliasRedirectPort() function can handle.... it's missing the ability to specify an optional source address. Patches welcomed :-) I've put it on my TODO list. -- 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