Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 2004 14:45:26 +0300
From:      "Nickolay A. Kritsky" <nkritsky@star-sw.com>
To:        John Angelmo <john@veidit.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: NAT problem with public network
Message-ID:  <671282193578.20041216144526@star-sw.com>
In-Reply-To: <41C15E0B.2050503@veidit.net>
References:  <41C15E0B.2050503@veidit.net>

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

You can use two ways:
1. Add 'unregistered_only yes' to your natd.conf
2. Run natd on xl2 with -reverse option

If I were you I would do the first one.

Thursday, December 16, 2004, 1:06:03 PM, John Angelmo wrote:

JA> Hello

JA> I have a network setup like this:

JA> xl0: External:213.115.251.220
JA> xl1: DMZ: 213.115.148.64/28
JA> xl2: Internal: 192.168.20.0/24

JA> Now my problem seems to be that I need to get external connection for my 
JA> Internal network but not nating the DMZ

JA> To simplify it all /etc/natd.conf has this line:
JA> interface xl0

JA> and to get nat to work I just use:
JA> ipfw add divert natd log all from any to any via xl0

JA> but that would nat all the traffic, how should I do just to use nat for 
JA> my 192.168.20.0/24 network and not the 213.115.148.64/28 network?

JA> /John
JA> _______________________________________________
JA> freebsd-net@freebsd.org mailing list
JA> http://lists.freebsd.org/mailman/listinfo/freebsd-net
JA> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"



-- 
Best regards,
;  Nickolay A. Kritsky
; SysAdmin STAR Software LLC
; mailto:nkritsky@star-sw.com




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