IPFW – Simple NAT
ipfw nat 1 config if em0 ipfw add 2001 nat 1 ip from any to any in via em0 ipfw add 4001 nat 1 ip from any to any out via em0 ipfw add 65535 allow ip from any to any
# vi /etc/sysctl.conf
net.inet.ip.forwarding=1 net.inet6.ip6.forwarding=1
sysctl net.inet.ip.forwarding=1 sysctl net.inet6.ip6.forwarding=1
No Comment