Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 1997 06:07:48 +0000 (GMT)
From:      Alfred Perlstein <perlsta@fang.cs.sunyit.edu>
To:        Charles Henrich <henrich@crh.cl.msu.edu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Help With NATD configuration (2 ethernets)
Message-ID:  <Pine.BSF.3.95.970902060537.4002C-100000@fang.cs.sunyit.edu>
In-Reply-To: <19970902002749.11791@crh.cl.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

Check my webpage for examples of NATd/Firewall stuff
http://www.cs.sunyit.edu/~perlsta
pick the "Unix" link on the left frame.

btw, i think your problem might just be that you have:
"via ed1"
where you should have 
"via ed0"
in the divert line,
also NATd doesn't seem to like ICMP stuff, lastly, you might want to
upgrade to the latest version of NATd, i have no idea where though, check
the man page.

l8r,
Alfred

On Tue, 2 Sep 1997, Charles Henrich wrote:

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970902060537.4002C-100000>