Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 1997 22:55:40 -0700 (PDT)
From:      Ulf Zimmermann <ulf@Alameda.net>
To:        henrich@crh.cl.msu.edu (Charles Henrich)
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Help With NATD configuration (2 ethernets)
Message-ID:  <199709020555.WAA15081@Gatekeeper.Alameda.net>
In-Reply-To: <19970902002749.11791@crh.cl.msu.edu> from Charles Henrich at "Sep 2, 97 00:27:49 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Take a look at www.computerbits.com. They just wrote about natd and it took
me about 2 minutes to setup a simular system.

> 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
> 


-- 
Ulf.

---------------------------------------------------------------------
Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-769-2936
Alameda Networks, Inc. | http://www.Alameda.net  | Fax#: 510-521-5073



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