Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2001 17:49:39 -0800
From:      "Chuck Rider" <Chuck@Rider.net>
To:        <questions@FreeBSD.org>
Subject:   Gateway woes....
Message-ID:  <BIENILOIPEJCEDMOPKEFCENECAAA.Chuck@Rider.net>

next in thread | raw e-mail | index | archive | help
I am trying to set up a firewall using a FreeBSD machine.  The first step I
am trying is a basic gateway and am not having much luck.

I am running FreeBSD version 4.2 in a box with two Ethernet cards.  dc0 is
connected to the DSL modem, xl0 is connected to my home network hub.  From
the FreeBSD machine I can ping anything I want.  On the internet using names
or ip addresses and on my home network using ip addresses.  From a machine
on my home network I can ping either Ethernet address on the gateway by ip
address, but I cannot ping anything on the internet.  I assume I am not
actually forwarding packets, but am at a loss as to what to try next.  Any
help would be greatly appreciated.

sysctl -a | grep forward yields:
net.inet.ip.forwarding: 1
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0

here is my rc.conf file
# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.

# Enable network daemons for user convenience.
# -- sysinstall generated deltas -- #
network_interfaces="dc0 xl0 lo0"
ifconfig_dc0="inet 64.167.104.195  netmask 255.255.255.248"
ifconfig_xl0="inet 10.0.0.2 netmask 255.255.255.0"
ifconfig_lo0="inet 127.0.0.1"
defaultrouter="64.167.104.193"
static_routes=""
gateway_enable="YES"
hostname="crweb.theriders.net"
moused_port="/dev/psm0"
moused_type="auto"
moused_enable="YES"
crweb#



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?BIENILOIPEJCEDMOPKEFCENECAAA.Chuck>