From owner-freebsd-stable Mon Oct 22 12:54: 1 2001 Delivered-To: freebsd-stable@freebsd.org Received: from leviathan.inethouston.net (leviathan.inethouston.net [66.64.12.249]) by hub.freebsd.org (Postfix) with ESMTP id BE9EA37B401 for ; Mon, 22 Oct 2001 12:53:55 -0700 (PDT) Received: by leviathan.inethouston.net (Postfix, from userid 1001) id D885110F440; Mon, 22 Oct 2001 14:53:53 -0500 (CDT) Date: Mon, 22 Oct 2001 14:53:53 -0500 From: "David W. Chapman Jr." To: Andreas Ntaflos Cc: Allen Landsidel , freebsd-stable@freebsd.org Subject: Re: ICQ with NAT problems Message-ID: <20011022145353.H33943@leviathan.inethouston.net> Reply-To: "David W. Chapman Jr." Mail-Followup-To: Andreas Ntaflos , Allen Landsidel , freebsd-stable@freebsd.org References: <3BD21435.4060605@quake.com.au> <3BD2538D.80604@quake.com.au> <5.1.0.14.0.20011021012339.00b2b3a8@rfnj.org> <20011022193710.A1442@Deadcell.ANT> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011022193710.A1442@Deadcell.ANT> User-Agent: Mutt/1.3.23i X-Operating-System: FreeBSD 4.4-RC i386 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Oct 22, 2001 at 07:37:10PM +0200, Andreas Ntaflos wrote: > Example with ipf/ipnat: > > This is taken from my ipnat.rules file: > > rdr xl0 x.x.x.x/32 port 30000-30009 -> 192.168.0.1 port 30000 tcp/udp > rdr xl0 x.x.x.x/32 port 30011-30019 -> 192.168.0.2 port 30011 tcp/udp > > where x.x.x.x is the external if-addr and 192.168.0.1 the internal address > of the nat machine. 192.168.0.2 is the first box on the internal network. > > The filter rules allow in tcp/udp connections on ports 30000 - 30019: > > pass in log first quick on xl0 proto tcp from any to any port 29999 >< 30020 flags S keep state keep > frags > pass in log first quick on xl0 proto udp from any to any port 29999 >< 30020 keep state > > Any comments? Not unless you can check the logs and see if they are being blocked. It does work though when you have it setup right, I have it setup for aim and icq -- David W. Chapman Jr. dwcjr@inethouston.net Raintree Network Services, Inc. dwcjr@freebsd.org FreeBSD Committer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message