freebsd-dev/sbin/ipfw
Andrey V. Elsukov 1875bbfe54 Implement "global" mode for ipfw nat. It is similar to natd(8)
"globalport" option for multiple NAT instances.

If ipfw rule contains "global" keyword instead of nat_number, then
for each outgoing packet ipfw_nat looks up translation state in all
configured nat instances. If an entry is found, packet aliased
according to that entry, otherwise packet is passed unchanged.

User can specify "skip_global" option in NAT configuration to exclude
an instance from the lookup in global mode.

PR:		kern/157867
Submitted by:	Alexander V. Chernikov (previous version)
Tested by:	Eugene Grosbein
2011-06-14 13:35:24 +00:00
..
altq.c Whitespace fixes. 2011-04-18 21:18:22 +00:00
dummynet.c More whitespace fixes. 2011-04-18 22:09:03 +00:00
ipfw2.c Implement "global" mode for ipfw nat. It is similar to natd(8) 2011-06-14 13:35:24 +00:00
ipfw2.h Implement "global" mode for ipfw nat. It is similar to natd(8) 2011-06-14 13:35:24 +00:00
ipfw.8 Implement "global" mode for ipfw nat. It is similar to natd(8) 2011-06-14 13:35:24 +00:00
ipv6.c Whitespace fixes. 2011-04-18 21:18:22 +00:00
main.c Initialize co.use_set variable before parsing each new rule. 2011-06-06 11:10:38 +00:00
Makefile add back DPADD (removed by mistake in a previous commit) 2010-03-08 14:43:55 +00:00
nat.c Implement "global" mode for ipfw nat. It is similar to natd(8) 2011-06-14 13:35:24 +00:00