From owner-freebsd-questions Wed Apr 9 02:06:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA07140 for questions-outgoing; Wed, 9 Apr 1997 02:06:56 -0700 (PDT) Received: from obiwan.aceonline.com.au (obiwan.aceonline.com.au [203.103.90.67]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA07127 for ; Wed, 9 Apr 1997 02:06:36 -0700 (PDT) Received: from localhost (adrian@localhost) by obiwan.aceonline.com.au (8.8.5/8.8.5) with SMTP id QAA00536; Wed, 9 Apr 1997 16:55:03 +0800 (WST) Date: Wed, 9 Apr 1997 16:55:03 +0800 (WST) From: Adrian Chadd To: Gianmarco Giovannelli cc: questions@FreeBSD.ORG Subject: Re: Monitoring accesses on a quake server... In-Reply-To: <3.0.1.32.19970410102611.00744f34@scotty.masternet.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Yes. Setup IP firewalling on the quake server and simply allow connections to the quake port (I can't remember what it is) from your own IP ranges.. ie: add in the kernel config file: options IPFIREWALL Then edit sysconfig and change firewall=NO to firewall=YES Then move the existing rc.firewall over to rc.firewall.back and put this into your /etc/rc.firewall : ############ # Flush out the list before we begin. /sbin/ipfw -f flush # By default pass traffic /sbin/ipfw add 65000 pass all from any to any # You should have this in :) /sbin/ipfw add 1000 pass all from 127.0.0.1 to 127.0.0.1 # Quake server allow #1 /sbin/ipfw add 1010 pass udp from 203.19.29.128/25 to 203.19.29.5 26000 # Quake server allow #2 /sbin/ipfw add 1020 pass udp from 203.19.28.0/24 to 203.19.29.5 26000 # Global unallow to the quake port /sbin/ipfw add 5000 deny udp from 0.0.0.0/0 to 203.19.29.5 26000 ### Note here : 203.19.29.5 is the quake server IP 26000 is the quake port (I think its right, check :) 203.19.28.0/24 and 203.19.29.128/25 are two IP networks that I want to let connect. Cya -- Adrian Chadd | UNIX, MS-DOS and Windows ... | (also known as the Good, the bad and the | ugly..) On Thu, 10 Apr 1997, Gianmarco Giovannelli wrote: > > My users complain about the fact they often find the quake server full. > > It's possible to determined who can access the server, i.e. in my case only > the person of my domain ? > > Thanks again.... > > > > Regards... > Gianmarco > "Unix expert since yesterday" > > Home page: http://www2.masternet.it/~gmarco > Server page: http://www2.masternet.it/ >