Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2005 18:44:14 
From:      "******  ******" <err0rc0de@inMail.sk>
To:        <freebsd-questions@freebsd.org>
Subject:   problem with sharing internet
Message-ID:  <200502201844515.SM01928@217.119.116.34>

next in thread | raw e-mail | index | archive | help
good day=2E=2Ei have 5=2E2=2E1-RELEASE FreeBSD and a problem with s=
haring internet to win98=2C freebsd is a gateway=2E=2Ea i have 2 NI=
C=2C  fxp0 is a gateway for w98=2E=2E=2E=2Ea had before slackware 1=
0=2E0 and over there wasn't problem with iptables=2E=2Ei need confi=
gure correctly ipfw=2C maybe=2E=2E=2E=2Emy configuration=3A

sis0=
=3A
flags=3D8843=3CUP=2CBROADCAST=2CRUNNING=2CSIMPLEX=2CMULTICAST=3E=
 mtu 1500
        inet
192=2E168=2E240=2E60 netmask 0xffffff00 br=
oadcast 192=2E168=2E240=2E255
        inet6
fe80=3A=3A20b=3A6aff=3A=
feac=3A5d6d%sis0 prefixlen 64 scopeid 0x1
        ether
00=3A0b=3A=
6a=3Aac=3A5d=3A6d
        media=3A Ethernet 10baseT=2FUTP
       =
 status=3A
active
fxp0=3A flags=3D8843=3CUP=2CBROADCAST=2CRUNNING=
=2CSIMPLEX=2CMULTICAST=3E mtu 1500
       
inet6 fe80=3A=3A290=3A=
27ff=3Afe2f=3A203e%fxp0 prefixlen 64 scopeid 0x2
        inet
192=
=2E168=2E0=2E1 netmask 0xffffff00 broadcast 192=2E168=2E0=2E255
  =
      ether
00=3A90=3A27=3A2f=3A20=3A3e
        media=3A Ethernet=
 autoselect =28none=29
        status=3A no
carrier

home# ps -=
ax |grep natd
 1245  =3F=3F  Is     0=3A00=2E00 natd -n fxp0
 126=
1 
p0  R+     0=3A00=2E00 grep natd

home# ipfw list
00050 dive=
rt 8668 ip from any to
any via fxp0
00100 allow ip from any to an=
y via lo0
00200 deny ip from any to
127=2E0=2E0=2E0=2F8
00300 de=
ny ip from 127=2E0=2E0=2E0=2F8 to any
65000 allow ip from any to
=
any
65535 deny ip from any to any

thanks


----------
* www=2EinMail=2Esk - Vasa emailova adresa na cely =
zivot ZDARMA
* Zoner Photo Studio 7 - Spoznajte kuzlo digitalnej f=
otografie! http=3A=2F=2Fwww=2Ezoner=2Ecz=2Fphoto-studio
* www=2ESl=
ovakNET=2Esk - profesionalny webhosting=2C domena =2ESK ZADARMO



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502201844515.SM01928>