forked from extern/shorewall_code
More removal of dynamic zones
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3222 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
af7a1603a4
commit
87ab357c33
@ -640,31 +640,6 @@ macrecent_target() # $1 - interface
|
|||||||
[ -n "$MACLIST_TTL" ] && echo $(chain_base $1)_rec || echo RETURN
|
[ -n "$MACLIST_TTL" ] && echo $(chain_base $1)_rec || echo RETURN
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
|
||||||
# Functions for creating dynamic zone rules
|
|
||||||
#
|
|
||||||
dynamic_fwd() # $1 = interface
|
|
||||||
{
|
|
||||||
echo $(chain_base $1)_dynf
|
|
||||||
}
|
|
||||||
|
|
||||||
dynamic_in() # $1 = interface
|
|
||||||
{
|
|
||||||
echo $(chain_base $1)_dyni
|
|
||||||
}
|
|
||||||
|
|
||||||
dynamic_out() # $1 = interface
|
|
||||||
{
|
|
||||||
echo $(chain_base $1)_dyno
|
|
||||||
}
|
|
||||||
|
|
||||||
dynamic_chains() #$1 = interface
|
|
||||||
{
|
|
||||||
local c=$(chain_base $1)
|
|
||||||
|
|
||||||
echo ${c}_dyni ${c}_dynf ${c}_dyno
|
|
||||||
}
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# DNAT Chain from a zone
|
# DNAT Chain from a zone
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user