Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Feb 1998 14:39:32 +0300 (MSK)
From:      Sergey <sem@ciam.comtel.ru>
To:        freebsd-questions@FreeBSD.ORG
Subject:   natd isn't working?
Message-ID:  <199802041140.OAA09953@ciam.comtel.ru>

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

I'v decided to try ip-masquareding. So, I rebuild may kernel with IPFIREWALL
and IPDIVERT options. All right. I saw it when booting.
Next I checked sysctl for net.inet.ip.forwarding=1. It's o'k.
Next I runned natd -n ed0.
Finally:
ipfw add divert natd all from any to any via ed0
ipfw add pass all from any to any

Everything like in manual.
ipfw list output:

01000 allow ip from 127.0.0.0/8 to 127.0.0.0/8
01010 deny ip from 127.0.0.0/8 to 127.0.0.0/8
65000 divert 6668 ip from any to any via ed0
65100 allow ip from any to any
65535 deny ip from any to any

All right?
Nothing working. Network blocked.
I see packages diverted to natd (used ipfw show)
But natd is not receiving anything. I tried natd -l -n ed0 and natd -v -n ed0
to check it.

Please help! I read all manual and I think I did all right.

Sem.
PS Sorry if something wrong with my english :)



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