2005-07-26 01:08:09 +02:00
|
|
|
#
|
2007-07-09 16:01:07 +02:00
|
|
|
# Shorewall version 4 - 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
|
|
|
###############################################################################
|
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 - - 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
|