Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jul 2004 11:23:05 +0800
From:      Tony Liew <tonylth@pd.jaring.my>
To:        freebsd-questions@FreeBSD.org
Subject:   Problem with gateway and ipfw in FreeBSD 5.2
Message-ID:  <40E4D519.20605@pd.jaring.my>

next in thread | raw e-mail | index | archive | help
Hi,

Currently I am trying out FreeBSD 5.2.

SDSL modem
    |   
    |
    |
    |
    |
    |
FreeBSD Router
    |
    |
    |
    |
Internal network

My problem, from FreeBSD I can ping outside and inside network.
from Internal network, I can ping internal interface and external 
interface of FreeBSD Router. But I cannot ping the modem IP address so 
goes public DNS server on the internet.

I have in my KERNEL:
options   BRIDGE
options   DIVERT
options   IPFIREWALL
options   IPFIREWALL_DEFAULT_TO_ACCEPT

rc.conf
gateway_enable="YES"
defaultrouter="<modem ip>"
firewall_enable="YES"
firewall_type="OPEN"
natd_interface="<external interface>"
natd_enable="YES"
router_enable="YES"

sysctl.conf

net.link.ether.bridge.enable=1
net.link.ether.bridge.config=external interface, internal interface
net.link.ether.bridge.ipfw=1


client on the internal network cannot connect to the internet. Any 
suggestion?

Thanks a lot.

Regards,
Tony Liew



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