Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jul 1998 00:38:33 -0700
From:      "Daniel Keller" <>
To:        "FreeBSD Questions List" <freebsd-questions@FreeBSD.ORG>
Subject:   natd packets never return to original host?
Message-ID:  <000001bda4c3$4023ade0$743d9bce@g6200>

Next in thread | Raw E-Mail | Index | Archive | Help
I am having some problems getting natd working. I have one computer
( which is attached to the internet by a dial up account to my
ISP and to another computer ( by Ethernet. I want to
use as a gateway to the internet. I have ipfw and natd both
installed and working and the two computers can communicate (I can telnet
from one to the other fine). I start by doing:

ipfw flush
ipfw add divert 32000 ip from any to any via ed0
ipfw add pass ip from any to any
natd -port 32000 -interface ed0 -verbose

when I do this and try to ping (my ISP) from ping
just does nothing al all and I get a bunch of messages on the computer
running natd ( I get the following messages:

Out [TCP] -> aliased to
In [TCP] -> aliased to ->
In [ICMP] -> aliased to

for some reason it seems like the addresses are be aliased to the same thing
as they originally were (i.e. they are not being changed at all). I have
also tried using "natd -port 32000 -a -verbose" and "natd -port
32000 -a -verbose". I have no idea what to do at this point and
I'm sorry this message it a bit unclear, I've been messing with this all day
and am a bit tired. Any suggestions would be greatly appreciated.
Daniel Keller

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

Want to link to this message? Use this URL: <$4023ade0$743d9bce>