ipfw3: show NAT records
authorBill Yuan <bycn82@leaf.dragonflybsd.org>
Sun, 21 Jun 2015 13:49:29 +0000 (21:49 +0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 21 Jun 2015 16:24:01 +0000 (09:24 -0700)
commit0fe3a974dbcfb1a4d1f68ae4eae14ec4650f49cb
tree019b004652ea9dfd0da96aed728b89e7e0b01348
parent06b532d70d3c6984b22587c94492066152d0e848
ipfw3: show NAT records

show all 'NAT records' which relate to the 'NAT config 1'
which is same as 'ip show nat translation' in CISCO routers.

usage:
ipfw3 nat 1 show state
sbin/ipfw3/ipfw3.c
sys/net/ipfw3/ip_fw3.h
sys/net/ipfw3_nat/ip_fw3_nat.c
sys/net/ipfw3_nat/ip_fw3_nat.h
sys/net/libalias/alias.h
sys/net/libalias/alias_db.c