Re: natd and static nat for different subnets

2002-03-19 Thread Eugene Grosbein
"Crist J. Clark" wrote: > Why not? > > map if0 192.168.100.0/24 -> 192.0.2.10/32 portmap tcp/udp auto > map if0 192.168.100.0/24 -> 192.0.2.10/32 > bimap if0 192.168.100.1/32 -> 192.0.2.10/32 > map if0 172.16.0.0/16 -> 192.0.2.12/32 portmap tcp/udp auto > map if0 172.16.0.0/16 -> 192.0

Re: natd and static nat for different subnets

2002-03-19 Thread Eugene Grosbein
"Crist J. Clark" wrote: > > On Wed, Mar 20, 2002 at 12:44:26PM +0700, Eugene Grosbein wrote: > > > I forgot point out that ipnat(8) will do this as-is if that is an > > > option for you. > > > > Hmm, I've read man ipnat and still not sure how can I achieve > > a combination of redirection ip<->ip

Re: natd and static nat for different subnets

2002-03-19 Thread Crist J. Clark
On Wed, Mar 20, 2002 at 12:44:26PM +0700, Eugene Grosbein wrote: > > I forgot point out that ipnat(8) will do this as-is if that is an > > option for you. > > Hmm, I've read man ipnat and still not sure how can I achieve > a combination of redirection ip<->ip and map net<->ip. Why not? map i

Re: natd and static nat for different subnets

2002-03-19 Thread Eugene Grosbein
> I forgot point out that ipnat(8) will do this as-is if that is an > option for you. Hmm, I've read man ipnat and still not sure how can I achieve a combination of redirection ip<->ip and map net<->ip. Eugene To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the

Re: natd and static nat for different subnets

2002-03-19 Thread Crist J. Clark
On Tue, Mar 19, 2002 at 04:26:19PM +0700, Eugene Grosbein wrote: > "Crist J. Clark" wrote: > > > > Would it be hard to implement this? > > > > Probably not too bad. Apparently no stampede for this functionality > > though. There usually is not a lot to gain by mapping different > > internal netw

Re: natd and static nat for different subnets

2002-03-19 Thread Eugene Grosbein
"Crist J. Clark" wrote: > > Would it be hard to implement this? > > Probably not too bad. Apparently no stampede for this functionality > though. There usually is not a lot to gain by mapping different > internal networks to different external addresses except maybe some > warm fuzzies. Conside

Re: natd and static nat for different subnets

2002-03-19 Thread Crist J. Clark
On Tue, Mar 19, 2002 at 02:31:12PM +0700, Eugene Grosbein wrote: > "Crist J. Clark" wrote: > > > > 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

Re: natd and static nat for different subnets

2002-03-18 Thread Eugene Grosbein
"Crist J. Clark" wrote: > > 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

Re: natd and static nat for different subnets

2002-03-18 Thread Crist J. Clark
On Tue, Mar 19, 2002 at 12:30:02PM +0700, Eugene Grosbein wrote: > 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 addre