Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2000 23:28:34 -0600 (CST)
From:      marc rassbach <marc@tandem.milestonerdl.com>
To:        freebsd-net@freebsd.org
Subject:   NAT on 2 ethernet interfaces
Message-ID:  <Pine.BSF.4.05.10001052327180.40000-100000@tandem.milestonerdl.com>

next in thread | raw e-mail | index | archive | help
I am having trouble making this network NAT config
to work.

I m looking to take the next address 204.204.204.205 
to be xlated to the 192.168.10.28 machine, both 
incoming and outgoing.  

I ve gotten the 192.168.10.28 box to NAT out.  As
soon as tried the redirect_address, the ability for 
10.28 to see the freebsd box and the net goes out
the window.
 
I ve tried adding and not adding the alias to de0 of
204.204.204.205. 


204.204.204.204                       192.168.10.1
                   +---------+
      Net----de0---& FreeBSD &--pn0--internal
                   +---------+

Natd.conf looks like

log
log_denied
verbose
unregistered_only
interface pn0
interface de0
#redirect_address 204.204.204.205 192.168.10.28



And ipfw show looks like

00100      0         0 allow ip from any to any via lo0
00200      2        77 deny ip from any to 127.0.0.0/8
00210 472601 292624231 divert 8668 ip from any to any via
pn0
00210 473519 292659782 divert 8668 ip from any to any via
de0
60000 946067 585279389 allow ip from any to any
65000     72      7029 allow ip from any to any



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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