Date: Tue, 2 Sep 1997 00:27:49 -0400 From: Charles Henrich <henrich@crh.cl.msu.edu> To: freebsd-hackers@freebsd.org Subject: Help With NATD configuration (2 ethernets) Message-ID: <19970902002749.11791@crh.cl.msu.edu>
next in thread | raw e-mail | index | archive | help
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?19970902002749.11791>
