forked from extern/shorewall_code
67589cab69
Signed-off-by: Tom Eastep <teastep@shorewall.net>
30 lines
965 B
Plaintext
30 lines
965 B
Plaintext
#
|
|
# Shorewall version 5 - Amanda Macro
|
|
#
|
|
# /usr/share/shorewall/macro.Amanda
|
|
#
|
|
# This macro handles connections required by the AMANDA backup system
|
|
# to back up remote nodes. It does not provide the ability to restore
|
|
# files from those nodes.
|
|
#
|
|
###############################################################################
|
|
?FORMAT 2
|
|
###############################################################################
|
|
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGIN RATE USER/
|
|
# PORT(S) PORT(S) DEST LIMIT GROUP
|
|
|
|
?if ( __CT_TARGET && ! $AUTOHELPERS && __AMANDA_HELPER )
|
|
PARAM - - udp 10080 { helper=amanda }
|
|
?else
|
|
PARAM - - udp 10080
|
|
?endif
|
|
|
|
PARAM - - tcp 10080
|
|
#
|
|
# You may also need this rule. With AMANDA 2.4.4 on Linux kernel 2.6,
|
|
# it should not be necessary to use this. The ip_conntrack_amanda
|
|
# kernel module should be loaded (via /etc/shorewall/modules) on all
|
|
# systems which need to pass AMANDA traffic through netfilter.
|
|
#PARAM - - tcp 50000:50100
|
|
#
|