NAT problem with public network

Nickolay A. Kritsky nkritsky at star-sw.com
Thu Dec 16 03:45:29 PST 2004


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 at freebsd.org mailing list
JA> http://lists.freebsd.org/mailman/listinfo/freebsd-net
JA> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"



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




More information about the freebsd-net mailing list