Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 1996 12:20:12 +0200 (MET DST)
From:      Mark Huizer <xaa@alterego.stack.urc.tue.nl>
To:        freebsd-questions@freebsd.org
Subject:   Q: router/forwarding configuration
Message-ID:  <199609271020.MAA05478@alterego.stack.urc.tue.nl>

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

Somehow I cna't get it to work.
I'm trying to build a gateway/firewall on a 2.1.5-stable machine, but it
won't forward packages, even with a rule allow all from any to any

what I have is a kernel with IPFORWARD

and for the routing (fictitious numbers):

ifconfig le0 inet 10.10.10.1 netmask 255.255.255.0
ifconfig le1 inet 192.168.1.1 netmask 255.255.255.0

route add 10.10.10.1 127.0.0.1
route add 192.168.1.1 127.0.0.1
route add -net 10.10.10 10.10.10.1
route add -net 192.168.1 192.168.1.1
route add default 192.168.1.2

(with the last rule being our cisco to the outside world)

symptoms: ping 10.10.10.255 works just once, then only finds the machine
itself, machines on the 10.* network can't get out.

Anything obvious I missed???

Mark Huizer
-------------------------------------------------------------------------
- Mark Huizer -  xaa@stack.urc.tue.nl   - rcbamh@urc.tue.nl		-
-------------------------------------------------------------------------
- We live in a world that wants to believe in a heaven after death,	-
- yet condemns suicide...						-
-------------------------------------------------------------------------



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