forked from extern/shorewall_code
Create a Macros directory in SVN to help unclutter the product directory
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9585 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
6cce1fc03d
commit
5a26d80d19
17
Shorewall/Macros/macro.BitTorrent32
Normal file
17
Shorewall/Macros/macro.BitTorrent32
Normal file
@ -0,0 +1,17 @@
|
||||
#
|
||||
# Shorewall version 4 - BitTorrent 3.2 Macro
|
||||
#
|
||||
# /usr/share/shorewall/macro.BitTorrent32
|
||||
#
|
||||
# This macro handles BitTorrent traffic for BitTorrent 3.2 and later.
|
||||
#
|
||||
###############################################################################
|
||||
#ACTION SOURCE DEST PROTO DEST SOURCE RATE USER/
|
||||
# PORT(S) PORT(S) LIMIT GROUP
|
||||
PARAM - - tcp 6881:6999
|
||||
#
|
||||
# It may also be necessary to allow UDP traffic:
|
||||
#
|
||||
PARAM - - udp 6881
|
||||
#
|
||||
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
|
12
Shorewall/Macros/macro.Git
Normal file
12
Shorewall/Macros/macro.Git
Normal file
@ -0,0 +1,12 @@
|
||||
#
|
||||
# Shorewall version 4 - Git Macro
|
||||
#
|
||||
# /usr/share/shorewall/macro.Git
|
||||
#
|
||||
# This macro handles Git traffic.
|
||||
#
|
||||
###############################################################################
|
||||
#ACTION SOURCE DEST PROTO DEST SOURCE RATE USER/
|
||||
# PORT(S) PORT(S) LIMIT GROUP
|
||||
PARAM - - tcp 9418
|
||||
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
|
@ -646,10 +646,14 @@ done
|
||||
|
||||
# Install the Macro files
|
||||
#
|
||||
cd Macros
|
||||
|
||||
for f in macro.* ; do
|
||||
install_file $f ${PREFIX}/usr/share/shorewall/$f 0644
|
||||
echo "Macro ${f#*.} file installed as ${PREFIX}/usr/share/shorewall/$f"
|
||||
done
|
||||
|
||||
cd ..
|
||||
#
|
||||
# Install the libraries
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user