2005-07-26 01:08:09 +02:00
|
|
|
#
|
2006-10-05 02:04:59 +02:00
|
|
|
# Shorewall version 3.3 - SMB Macro
|
2005-08-02 18:46:30 +02:00
|
|
|
#
|
|
|
|
# /usr/share/shorewall/macro.SMB
|
2005-07-26 01:08:09 +02:00
|
|
|
#
|
2006-01-24 00:55:01 +01:00
|
|
|
# This macro handles Microsoft SMB traffic. You need to invoke
|
|
|
|
# this macro in both directions. Beware! This rule opens a lot
|
|
|
|
# of ports, and could possibly be used to compromise your firewall
|
|
|
|
# if not used with care. You should only allow SMB traffic
|
|
|
|
# between hosts you fully trust.
|
2005-07-26 01:08:09 +02:00
|
|
|
#
|
2005-08-02 18:46:30 +02:00
|
|
|
###############################################################################
|
|
|
|
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER/
|
|
|
|
# PORT PORT(S) DEST LIMIT GROUP
|
|
|
|
PARAM - - udp 135,445
|
|
|
|
PARAM - - udp 137:139
|
|
|
|
PARAM - - udp 1024: 137
|
|
|
|
PARAM - - tcp 135,139,445
|
2005-07-26 01:08:09 +02:00
|
|
|
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
|