Простой NAT на FreeBSD


nat  freebsd  ipfw 
Ответы
ipfw add nat 1 config ip ${firewall_nat_address}
ipfw add add nat 1 ip from ${inet} to not 10.0.0.0/8 out via ${firewall_nat_interface}
ipfw add add nat 1 ip from any to ${firewall_nat_address} in via ${firewall_nat_interface}
  • firewall_nat_interface - внешний интерфейс
  • firewall_nat_address - адрес на внешнем интерфейсе