From owner-freebsd-questions Mon Apr 8 3: 9: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ctb-mesg1.saix.net (ctb-mesg1.saix.net [196.25.240.73]) by hub.freebsd.org (Postfix) with ESMTP id 3F76437B400 for ; Mon, 8 Apr 2002 03:08:55 -0700 (PDT) Received: from netchat.co.za (tvw53-01-p99.wc.saix.net [155.239.156.99]) by ctb-mesg1.saix.net (8.11.4/8.11.4) with ESMTP id g38A8TK26162; Mon, 8 Apr 2002 12:08:29 +0200 (SAT) Message-ID: <3CB1686E.5E3C29B0@netchat.co.za> Date: Mon, 08 Apr 2002 11:52:46 +0200 From: Mark Pearce X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Martin Tsanov Cc: freebsd-questions@freebsd.org Subject: Re: need help for my gateway References: <001201c1dee3$c6c7a640$0164a8c0@cyberzone.odessos.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Martin Tsanov wrote: > > Hello all, > > my name is Martin Tsanov and i live in Bulgaria. i own a club for > computer games and internet access and want to have a FreeBSD box as > my gateway.for now, my gateway is a windows machine with Wingate > software, but the other windows machines can access only the web and > not the outside game servers i am interested in. i am a newbie for > both unix and freebsd > so, i downloaded the 4.5-install.iso and burned the CD. i installed > FreeBSD 4.5 on a Pentium 166 with 32 RAM and 2,5 Gb HDD with 2 > ethernets - 3COM ISA 3C509B - ep0 - ip 212.95.167.135 - and Realtek > PCI 8029 - ed0 - ip 192.168.100.1 the gateway for my isp is > 212.95.167.130 and the name server is the same > then i used the GENERIC kernel, but only added these lines: > options IPFIREWALL > options IPDIVERT > compiled and installed the new kernel. > configured natd as described in the FreeBSD cheat sheets at > www.mostgraveconcern.com/freebsd > at this stage i'm not interested in having a firewall ,so i added the > following lines at the bottom of /etc/rc.firewall > /sbin/ipfw -f flush > /sbin/ipfw add divert natd all from any to any via ep0 > /sbin/ipfw add pass all from any to any > > from the freebsd i am able to ping machines on both networks and to > traceroute over the internet. > the windows machines are equipped with Realtek 8129 fast ethernets and > the local network works fine. they are configured with gateway the > freebsd box. > > now, the question :) > i am not able to access the internet from the windows machines. do i > need some proxying software on the freebsd box, like squid? > and, i am interested in the counter-strike game servers. they run on > port 27010 or 27015 and i am unable to get the list of servers from > the windows boxes. if i equip a windows machine with the real > 212.95.167.135 address, everything is fine, but only for this machine, > and not for the rest. should i specify dns on the windows boxes and > what if i should? > Do you have gateway_enable="YES" in your /etc/rc.conf > thanks in advance, > Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message