Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2002 12:30:02 +0700
From:      Eugene Grosbein <eugen@svzserv.kemerovo.su>
To:        net@freebsd.org
Subject:   natd and static nat for different subnets
Message-ID:  <3C96CCDA.C54342F5@svzserv.kemerovo.su>

next in thread | raw e-mail | index | archive | help
Hi!

man natd says it's possible to implement static nat with one public address
for the set of private hosts. It's very useful. 

Suppose we have many tens of separated private networks each having its own
public address and own gateway. Is is possible to configure natd to do
static nat for network masks, not only for sets of hosts? I'd like to
say:

redirect_address 172.20.2.0/24 123.45.56.78
redirect_address 172.20.2.1 123.45.56.78

so incoming traffic for 123.45.56.78 is translated to 172.20.2.1
and all outgoing traffic from the whole net 172.20.2.0/24 is aliases
to appear from 123.45.56.78?

It seems natd can't do that now. So how can it be achived without
flooding config of natd with all those IPs from all those networks?

Eugene Grosbein

P.S. Please CC me when replying.

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?3C96CCDA.C54342F5>