From owner-freebsd-security Sun Aug 19 16:36:29 2001 Delivered-To: freebsd-security@freebsd.org Received: from oksala.org (modemcable048.156-201-24.mtl.mc.videotron.ca [24.201.156.48]) by hub.freebsd.org (Postfix) with ESMTP id 8958337B413 for ; Sun, 19 Aug 2001 16:36:21 -0700 (PDT) (envelope-from silence@oksala.org) Received: from oksala.org (silence@silence [24.201.156.48]) by oksala.org (8.11.5/8.11.1) with ESMTP id f7JNGTR31371 for ; Sun, 19 Aug 2001 19:16:36 -0400 (EDT) (envelope-from silence@oksala.org) Message-ID: <3B8048CD.DCCF51A4@oksala.org> Date: Sun, 19 Aug 2001 19:16:29 -0400 From: Pierre-Luc =?iso-8859-1?Q?Lesp=E9rance?= X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.4-PRERELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-security@freebsd.org Subject: Re: getting DCC fully functioning with ipnat/ipf References: <20010820004115.B80382@heresy.xs4nobody.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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