Published on Stefano Sasso (http://stefano.dscnet.org)
PF nat address pool
By stefano
Data di creazione 08/12/2007 - 18:04

In PF (bsd packet filter) il nat address pool viene usato per mascherare in uscita con 2 o più indirizzi:

nat on $ext_if inet from any to any -> { 192.0.2.5, 192.0.2.10 }
ma per fare in modo che un client venga sempre mappato con lo stesso indirizzo:
nat on $ext_if inet from any to any -> 192.0.2.4/31 source-hash

 

Creative Commons License Linux Kernel Debian GNU/Linux Apache Web Server Drupal CMS gnustile.net

Source URL (retrieved on 10/09/2010 - 18:32): http://stefano.dscnet.org/a/pf_nat_address_pool