Hello everyone,

I'm on FreeBSD 5.2-1R
my bsd box is on my Home LAN, connected to usb speedtouch 330 and dials ppp
internet works fine.
My kernel has the options: options IPFIREWALL, options IPDIVERT,
options IPFIREWALL_DEFAULT_TO_ACCEPT, options IPFIREWALL_VERBOSE


    and my rc.conf have the follow:
       ifconfig_rl0="inet 192.168.0.1  netmask 255.255.255.0"
       gateway_enable="YES"
       firewall_enable="YES"
       firewall_type="OPEN"
       natd_enable="YES"
       natd_interface="rl0"
       natd_flags=""

   my ipfw list command shows the follow
# ipfw list
00050 divert 8668 ip from any to any via rl0
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 allow ip from any to any

the fbsd box can ping rest of the machines (winXP) on my LAN and viceversa.
also my fbsd box can connect to the internet perfectly.
the problem is none of the LAN machine is on the internet but on same LAN.
XP machines configured a correct IPs 192.168.0.x with fbsd gateway ip and dns.


the natd_interface="rl0" in my rc.conf but it says in the manual that it should be the interface
connected to the internet, I asume this is the problem.. so i tried to natd_interface="tun0" and
ppp, ugen0, plip0 lo0 but all fails....wot the natd interface should be? my fbsd machine is the
router the speedtouch has no ethernet interface as you know, its a USB device..
so what this should be?



the questions is:
1) Do I miss something to share the internet to the rest of the machines?
2) Why the two deny rules are in the list, in the time that its default to accept?
3) why there is two allow ip from any to any.


For informations this is the output of ifconfig -a
# ifconfig -a
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
       options=8<VLAN_MTU>
       inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
       inet6 fe80::210:b5ff:fed5:1bd2%rl0 prefixlen 64 scopeid 0x1
       ether 00:10:b5:d5:1b:d2
       media: Ethernet autoselect (10baseT/UTP)
       status: active
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
       inet 127.0.0.1 netmask 0xff000000
       inet6 ::1 prefixlen 128
       inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
       inet MY-BOX-IP --> 62.150.206.1 netmask 0xffffffff
       Opened by PID 486

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.com/


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

Reply via email to