Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2002 11:57:21 +0200
From:      "Martin Tsanov" <cyberzone@odessos.org>
To:        <freebsd-questions@freebsd.org>
Subject:   need help for my gateway
Message-ID:  <001201c1dee3$c6c7a640$0164a8c0@cyberzone.odessos.org>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_000F_01C1DEF4.8A3685A0
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

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=20
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?

thanks in advance,
Martin

------=_NextPart_000_000F_01C1DEF4.8A3685A0
Content-Type: text/html;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dkoi8-r">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>my name is Martin Tsanov and i live in =
Bulgaria. i=20
own a club for computer games and internet access and want to have a =
FreeBSD box=20
as my gateway.for now, my gateway is a windows machine with Wingate =
software,=20
but the other windows machines can access only the web and not the =
outside game=20
servers i am interested in. i am a newbie for both unix and =
freebsd</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>so, i downloaded the 4.5-install.iso =
and burned the=20
CD. i installed FreeBSD 4.5 on a Pentium 166 with 32 RAM and 2,5 Gb HDD =
with 2=20
ethernets - 3COM ISA 3C509B - ep0 - ip 212.95.167.135 - and Realtek PCI =
8029 -=20
ed0 - ip 192.168.100.1 the gateway for my isp is 212.95.167.130 and the =
name=20
server is the same</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>then i used the GENERIC kernel, but =
only added=20
these lines:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>options&nbsp;&nbsp;&nbsp; =
IPFIREWALL</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>options&nbsp;&nbsp;&nbsp; =
IPDIVERT</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>compiled and installed the new =
kernel.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>configured natd as described in the =
FreeBSD cheat=20
sheets at <A=20
href=3D"http://www.mostgraveconcern.com/freebsd">www.mostgraveconcern.com=
/freebsd</A>=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>at this stage i'm not interested in =
having a=20
firewall ,so&nbsp;i added the following lines at the bottom of=20
/etc/rc.firewall</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>/sbin/ipfw -f flush</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>/sbin/ipfw add divert natd all from any =
to any via=20
ep0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>/sbin/ipfw add pass all from any to=20
any</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>from the freebsd i am able to ping =
machines on both=20
networks and to traceroute over the internet.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>the windows machines are equipped with =
Realtek 8129=20
fast ethernets and the local network works fine. they are configured =
with=20
gateway the freebsd box.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>now, the question :)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i am not able to access the internet =
from the=20
windows machines. do i need some proxying software on the freebsd box, =
like=20
squid?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>and, i am interested in the =
counter-strike game=20
servers. they run on port 27010 or 27015 and i am unable to get the list =
of=20
servers from the windows boxes. if i equip a windows machine with the =
real=20
212.95.167.135 address, everything is fine, but only for this machine, =
and not=20
for the rest. should i specify dns on the windows boxes and what if i=20
should?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>thanks in advance,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Martin</FONT></DIV></BODY></HTML>

------=_NextPart_000_000F_01C1DEF4.8A3685A0--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001201c1dee3$c6c7a640$0164a8c0>