From owner-freebsd-net@FreeBSD.ORG Sun Aug 24 10:42:23 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8601316A4BF for ; Sun, 24 Aug 2003 10:42:23 -0700 (PDT) Received: from smtp.netcabo.pt (smtp.netcabo.pt [212.113.174.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23C4943FD7 for ; Sun, 24 Aug 2003 10:42:22 -0700 (PDT) (envelope-from sub_0@netcabo.pt) Received: from [192.168.1.2] ([213.22.54.110]) by smtp.netcabo.pt with Microsoft SMTPSVC(5.0.2195.5329); Sun, 24 Aug 2003 18:40:45 +0100 From: Mario Freitas To: jarthel@excite.com In-Reply-To: <20030824163109.77577BF88@xmxpita.excite.com> References: <20030824163109.77577BF88@xmxpita.excite.com> Content-Type: text/plain; charset=iso-8859-15 Message-Id: <1061746950.809.15.camel@suzy.unbreakable.homeunix.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Sun, 24 Aug 2003 18:42:30 +0100 Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 24 Aug 2003 17:40:45.0067 (UTC) FILETIME=[D8A905B0:01C36A66] cc: freebsd-net@freebsd.org Subject: Re: DCC send/receive and FBSD 5.1 using IPF/IPNAT X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: sub_0@netcabo.pt List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2003 17:42:23 -0000 On Sun, 2003-08-24 at 17:31, Jayel wrote: > well I searched google and several messages came up with the suggestion o= f using tircproxy. I then installed tircproxy from ports and ran the config= ure my setup to use transparent proxy. >=20 > as a test I ran the script (tircproxy -d9 -s 7666 -MILHR -i 10.10.10.254)= as suggested by the online manual. The problem with this is that it keeps = on saying "CDIR or UDB is not configure in tircproxy.h". I then modified th= e tircproxy.h to use UDB but I can't compile it. >=20 > any ideas or maybe suggestions that doesn't involve tircproxy. Thanks >=20 > jayel >=20 > _______________________________________________ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" Well, you don't need tircproxy at all. You can DCC receive with no problems since you have NAT enabled. What you can do for DCC send is: 1) force your irc clients (such as xchat, irssi, mirc, others) to=20 auto-detect (some clients may not support detect option) or choose yourself your internet address. 2) set a range of DCC ports (some irc clients only support one DCC port). Note: that range will be your maximum DCC send connections. 3) redirect connections from the external interface on your DCC ports (those you've chosen on step 2) to the internal address where the client is running. Something like (pseudo-rule): protocol tcp from any to on port redirect-to on port =20 Hope that works, it works for me :) --=20 M=E1rio Freitas (sub_0@netcabo.pt) N=FAcleo Portugu=EAs de FreeBSD (NPF)