Date: Wed, 9 Apr 1997 16:55:03 +0800 (WST) From: Adrian Chadd <adrian@obiwan.aceonline.com.au> To: Gianmarco Giovannelli <gmarco@scotty.masternet.it> Cc: questions@FreeBSD.ORG Subject: Re: Monitoring accesses on a quake server... Message-ID: <Pine.BSF.3.95q.970409164458.496A-100000@obiwan.aceonline.com.au> In-Reply-To: <3.0.1.32.19970410102611.00744f34@scotty.masternet.it>
next in thread | previous in thread | raw e-mail | index | archive | help
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 ... <adrian@psinet.net.au> | (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/ >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970409164458.496A-100000>