mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 16:54:10 +01:00
96357ca93b
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8499 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
22 lines
671 B
Plaintext
22 lines
671 B
Plaintext
#
|
|
# Shorewall version 4 - BitTorrent Macro
|
|
#
|
|
# /usr/share/shorewall/macro.BitTorrent
|
|
#
|
|
# This macro handles BitTorrent traffic.
|
|
#
|
|
# If you are running a more modern BitTorrent client, then you may need
|
|
# to tweak the open port range. This can be done by copying the below
|
|
# rules into /etc/shorewall/rules and making the necessary edits there.
|
|
#
|
|
###############################################################################
|
|
#ACTION SOURCE DEST PROTO DEST SOURCE RATE USER/
|
|
# PORT(S) PORT(S) LIMIT GROUP
|
|
PARAM - - tcp 6881:6889
|
|
#
|
|
# It may also be necessary to allow UDP traffic:
|
|
#
|
|
PARAM - - udp 6881
|
|
#
|
|
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
|