Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Aug 2002 11:33:52 -0400
From:      "Matt Abraham" <>
Subject:   "ipfw fwd" not working without static route?
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
I'm trying to forward all packets from a privately addressed
machine ( to a gateway via a FreeBSD box running
ipfw. Here's the ipfw directive:

fwd log logamount 10000 ip from to

Now when I ping public address a.b.c.d from, I
get a "Destination Host Unreachable." When I try to ping
this same address from the FreeBSD box, I get a "No route to
host" message. Adding a static route, however, solves the

route add -net a.b.c.d now I can ping from both and my FreeBSD
firewall! Of course, having to add routes, sort of defeats
the ipfw fwd command, doesn't it?

To Unsubscribe: send mail to
with "unsubscribe freebsd-ipfw" in the body of the message

Want to link to this message? Use this URL: <>