How to configure NAT


root@myhost:/etc/ipf# cat ipnat.conf 

map vmxnet3s0 192.168.2.0/24 -> 0/32 proxy port ftp ftp/tcp

map vmxnet3s0 192.168.2.0/24 -> 0/32 portmap tcp/udp auto

map vmxnet3s0 192.168.2.0/24 -> 0/32

if need rule for access to 22 port to zone IP we can add

rdr vmxnet3s0 0/0 port 2222 -> 192.168.2.2 port 22


if will add access to zone 192.168.2.2:22 from external IP:2222


svcadm enable ipfilter


reference: http://www.scalingbits.com/book/export/html/479