2005-07-23 01:04:36 +02:00
|
|
|
#
|
2007-07-09 16:01:07 +02:00
|
|
|
# Shorewall version 4 - BitTorrent Macro
|
2005-08-02 18:46:30 +02:00
|
|
|
#
|
|
|
|
# /usr/share/shorewall/macro.BitTorrent
|
2005-07-23 01:04:36 +02:00
|
|
|
#
|
2005-07-26 01:08:09 +02:00
|
|
|
# This macro handles BitTorrent traffic.
|
2005-07-23 01:04:36 +02:00
|
|
|
#
|
2008-05-18 05:00:54 +02:00
|
|
|
# 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.
|
|
|
|
#
|
2005-08-02 18:46:30 +02:00
|
|
|
###############################################################################
|
2008-02-03 21:34:19 +01:00
|
|
|
#ACTION SOURCE DEST PROTO DEST SOURCE RATE USER/
|
|
|
|
# PORT(S) PORT(S) LIMIT GROUP
|
2005-08-02 18:46:30 +02:00
|
|
|
PARAM - - tcp 6881:6889
|
2006-01-24 00:55:01 +01:00
|
|
|
#
|
|
|
|
# It may also be necessary to allow UDP traffic:
|
2007-01-18 00:41:59 +01:00
|
|
|
#
|
|
|
|
PARAM - - udp 6881
|
2006-01-24 00:55:01 +01:00
|
|
|
#
|
2005-07-23 01:04:36 +02:00
|
|
|
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
|