From owner-freebsd-questions Wed Feb 4 03:40:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA03836 for questions-outgoing; Wed, 4 Feb 1998 03:40:43 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ciam.comtel.ru ([195.208.64.247]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA03831 for ; Wed, 4 Feb 1998 03:40:35 -0800 (PST) (envelope-from sem@ciam.comtel.ru) Received: (from sem@localhost) by ciam.comtel.ru (8.8.7/8.8.7) id OAA09953 for freebsd-questions@freebsd.org; Wed, 4 Feb 1998 14:40:08 +0300 (MSK) (envelope-from sem) From: Sergey Message-Id: <199802041140.OAA09953@ciam.comtel.ru> Subject: natd isn't working? To: freebsd-questions@FreeBSD.ORG Date: Wed, 4 Feb 1998 14:39:32 +0300 (MSK) Reply-To: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" 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 :)