Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2014 17:52:07 +0200
From:      Vladislav Prodan <universite@ukr.net>
To:        frank2@fjl.co.uk
Cc:        freebsd-questions@freebsd.org
Subject:   Re[2]: Necessary to implement static NAT 1:1
Message-ID:  <1391010653.726619904.szvwo6t9@frv35.ukr.net>
In-Reply-To: <52E91B3D.4000601@fjl.co.uk>
References:  <1390999493.115887823.pfbg2ep5@frv35.ukr.net> <52E91B3D.4000601@fjl.co.uk>

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

  


> 
> On 29/01/2014 12:45, Vladislav Prodan wrote:
> > Necessary to implement static NAT 1:1
> >
> > 10.1.2.3 -> 100.1.2.3
> > 10.1.2.4 -> 100.1.2.4
> > 10.1.2.5 -> 100.1.2.5
> > 10.1.2.6 -> 100.1.2.6
> > ...
> > IP addresses such an over 20k
> > prompt you implement?
> >
> I don't understand the question exactly (I expect I will not be the only 
> one). natd will allow 1:1 mappings like this very easily. Are you saying 
> you have a lot of these and you do not want to write the config file by 
> hand?
> 
> 

I'm not sure that FreeBSD withstand an over 20k rules of the form:

ipfw nat 3 config ip 100.1.2.3
ipfw nat 4 config ip 100.1.2.4
ipfw nat 5 config ip 100.1.2.5
ipfw nat 6 config ip 100.1.2.6
...

+ Two rules to handle each nat N

Probably need to somehow use nat tablearg, but I do not understand logic.


-- 
Vladislav V. Prodan 
System & Network Administrator 
http://support.od.ua 
+380 67 4584408, +380 99 4060508
VVP88-RIPE
 



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