From owner-freebsd-security Sun Aug 19 16:40:19 2001 Delivered-To: freebsd-security@freebsd.org Received: from mail.redshells.net (cs26198-116.hot.rr.com [24.26.198.116]) by hub.freebsd.org (Postfix) with SMTP id DDAEF37B40A for ; Sun, 19 Aug 2001 16:40:03 -0700 (PDT) (envelope-from admin@redshells.net) Received: (qmail 37421 invoked from network); 19 Aug 2001 23:41:19 -0000 Received: from unknown (HELO redshells.net) (192.168.0.2) by cs26198-116.hot.rr.com with SMTP; 19 Aug 2001 23:41:19 -0000 Message-ID: <3B804D4D.16BEE19E@redshells.net> Date: Sun, 19 Aug 2001 18:35:41 -0500 From: Chris X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Pierre-Luc =?iso-8859-1?Q?Lesp=E9rance?= Cc: freebsd-security@freebsd.org Subject: Re: getting DCC fully functioning with ipnat/ipf References: <20010820004115.B80382@heresy.xs4nobody.nl> <3B8048CD.DCCF51A4@oksala.org> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Actually, dcc send uses a random port. Just use tircproxy which can be found in the ports collection. /usr/ports/irc/tircproxy It works fine with ipf. Good luck, Chris Pierre-Luc Lespérance wrote: > Bart Matthaei wrote: > > > > Pass the arguments -same_ports -use_sockets to natd > > He is using ipf/ipnat so it's not a good idea tu run natd > > You sould use the "rdr" rules in /etc/ipnat.rules : it looks > > rdr xl0 your_ip_address/32 port 1234 -> subnet_ip_address port 1234 > > *This is an example. Actually I don't which port irc client use > so you gonna have to change "1234" for the real port > > It could be a good idea to read the IPFilter HOWTO > http://coombs.anu.edu.au/~avalon/ip-filter.html > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-security" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message