From owner-freebsd-hackers Mon Sep 1 21:28:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA13118 for hackers-outgoing; Mon, 1 Sep 1997 21:28:31 -0700 (PDT) Received: from crh.cl.msu.edu (crh.cl.msu.edu [35.8.1.24]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA13107 for ; Mon, 1 Sep 1997 21:28:25 -0700 (PDT) Received: (from henrich@localhost) by crh.cl.msu.edu (8.8.5/8.8.5) id AAA26844; Tue, 2 Sep 1997 00:27:49 -0400 (EDT) Message-ID: <19970902002749.11791@crh.cl.msu.edu> Date: Tue, 2 Sep 1997 00:27:49 -0400 From: Charles Henrich To: freebsd-hackers@freebsd.org Subject: Help With NATD configuration (2 ethernets) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.80 X-Operating-System: FreeBSD 2.2.2-RELEASE X-PGP-Fingerprint: 1024/F7 FD C7 3A F5 6A 23 BF 76 C4 B8 C9 6E 41 A4 4F Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Okay, Im trying to setup a real simple natd system here, and Im getting absolutely nowhere, I've searched the archives thouroughly and havent yet seen an answer how to configure natd (which makes me think I must be doing something really simply stupid). I want: [Internal LAN] <--> (ed1: NATDHOST ed0:) <--> [The Net] Simple eh? I have: /sbin/ipfw -f flush /sbin/ipfw add divert 6668 all from any to any via ed1 /sbin/ipfw add pass all from any to any Except Im thinking I probably need something for ed0 as well?? And running natd with any number of switches gets me the same thing: #/usr/local/sbin/natd -v -s -m -u -n ed0 In [ICMP] 10.0.0.2 -> 165.113.121.81 aliased to 10.0.0.2 -> 165.113.121.81 In [ICMP] 10.0.0.2 -> 165.113.121.81 aliased to 10.0.0.2 -> 165.113.121.81 Obviously it isnt changing the source address, so of course no reply is possible.. Any help is most amazingly appreciated, Thanks! -Crh Charles Henrich Michigan State University henrich@msu.edu http://pilot.msu.edu/~henrich