From owner-freebsd-questions Wed Nov 5 01:58:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA29205 for questions-outgoing; Wed, 5 Nov 1997 01:58:05 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from cam.grad.kiev.ua ([195.5.25.54]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA29170; Wed, 5 Nov 1997 01:57:48 -0800 (PST) (envelope-from rssh@cam.grad.kiev.ua) Received: from localhost (rssh@localhost) by cam.grad.kiev.ua (8.8.7/8.8.5) with SMTP id MAA00506; Wed, 5 Nov 1997 12:53:20 GMT Date: Wed, 5 Nov 1997 12:53:19 +0000 (GMT) From: Ruslan Shevchenko To: freebsd-questions@freebsd.org cc: freebsd-isp@freebsd.org Subject: Help with Natd, pls. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have: ISP (user-level ppp) 10.0.0.50 = ep0 FreeBSD tun0 ---------> / \ | | Local net I can't setup natd, (during this nigth). I want, that mashines in 10.0.0. -- was be abble connect with news-server outside my, as i think, natd must change 10.0.0. address to address of my mashine, during request from client to outside mashine, and do back substitute, as proxy. According to documentation I included all options in kernel, in /etc/rc.firewall: /sbin/ipfw -f flash /sbin/ipfw add 1000 pass all from 127.0.0.1 to 127.0.0.1 /sbin/ipfw add divert 6668 all from any to any via ep0 /sbin/ipfw add 6500 pass all from any to any. in /etc/rc.local: /usr/sbin/natd -n ep0 what I doing wrong ?