good day..i have 5.2.1-RELEASE FreeBSD and a problem with sharing internet to 
win98, freebsd is a gateway..a i have 2 NIC,  fxp0 is a gateway for w98....a 
had before slackware 10.0 and over there wasn't problem with iptables..i need 
configure correctly ipfw, maybe....my configuration:

sis0:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet
192.168.240.60 netmask 0xffffff00 broadcast 192.168.240.255
        inet6
fe80::20b:6aff:feac:5d6d%sis0 prefixlen 64 scopeid 0x1
        ether
00:0b:6a:ac:5d:6d
        media: Ethernet 10baseT/UTP
        status:
active
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500

inet6 fe80::290:27ff:fe2f:203e%fxp0 prefixlen 64 scopeid 0x2
        inet
192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
        ether
00:90:27:2f:20:3e
        media: Ethernet autoselect (none)
        status: no
carrier

home# ps -ax |grep natd
 1245  ??  Is     0:00.00 natd -n fxp0
 1261
p0  R+     0:00.00 grep natd

home# ipfw list
00050 divert 8668 ip from any to
any via fxp0
00100 allow ip from any to any via lo0
00200 deny ip from any to
127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
65000 allow ip from any to
any
65535 deny ip from any to any

thanks


----------
* www.inMail.sk - Vasa emailova adresa na cely zivot ZDARMA
* Zoner Photo Studio 7 - Spoznajte kuzlo digitalnej fotografie! 
http://www.zoner.cz/photo-studio
* www.SlovakNET.sk - profesionalny webhosting, domena .SK ZADARMO

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to