From owner-freebsd-net Tue Mar 19 1:22:22 2002 Delivered-To: freebsd-net@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 336B237B400 for ; Tue, 19 Mar 2002 01:22:19 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020319092218.SURH1214.rwcrmhc54.attbi.com@blossom.cjclark.org>; Tue, 19 Mar 2002 09:22:18 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g2J9MIv65916; Tue, 19 Mar 2002 01:22:18 -0800 (PST) (envelope-from cjc) Date: Tue, 19 Mar 2002 01:22:18 -0800 From: "Crist J. Clark" To: Nerijus Bendziunas Cc: freebsd-net@FreeBSD.ORG Subject: Re: problems with games that use udp Message-ID: <20020319012218.L60554@blossom.cjclark.org> References: <20020319102334.A53618@migla.ktu.lt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020319102334.A53618@migla.ktu.lt>; from device@migla.ktu.lt on Tue, Mar 19, 2002 at 10:23:34AM +0200 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Mar 19, 2002 at 10:23:34AM +0200, Nerijus Bendziunas wrote: > hi, > I have problem: > LAN<->Server(FreeBSD 4.5 Stable ipnat)<->internet > Users want to play games like quake, counter strike, etc( games that use udp). > They can make only one conection per server. > for example: > if someone connects to quake.lt- the others can't connect there. > > #cat /etc/ipnat.rules > map rl0 10.10.0.0/16 -> 193.219.160.134/32 > > Default firewall rule is allow all. i don't deny any udp traffic. > > I've searched the web and found that under linux there are kernel modules, like > ip_masq_quake. > > How could i make it under freebsd? If it requires an application layer proxy, and you are using ipnat(8), you can go look for IPFilter resources like, ipfilter@coombs.anu.edu.au. If you want to change to natd(8), you can try to make your own alias_quake.c for src/lib/libalias. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message