mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-27 08:39:00 +01:00
d1ecdcf4a3
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8957 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
24 lines
703 B
Plaintext
24 lines
703 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 and making the necessary edits there:
|
|
#
|
|
# Replace 6881:6889 with 6881:6899
|
|
#
|
|
###############################################################################
|
|
#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
|