diff --git a/Shorewall-common/macro.IPP b/Shorewall-common/macro.IPP index 7f6702ad9..7753284f9 100644 --- a/Shorewall-common/macro.IPP +++ b/Shorewall-common/macro.IPP @@ -3,7 +3,7 @@ # # /usr/share/shorewall/macro.IPP # -# This macro handles Internet Priting Protocol (IPP). +# This macro handles Internet Printing Protocol (IPP). # ############################################################################### #ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER/ diff --git a/Shorewall-common/macro.IPPserver b/Shorewall-common/macro.IPPserver new file mode 100644 index 000000000..4c01d119b --- /dev/null +++ b/Shorewall-common/macro.IPPserver @@ -0,0 +1,24 @@ +# +# Shorewall version 3.2 - IPPserver Macro +# +# /usr/share/shorewall/macro.IPPserver +# +# This macro handles Internet Printing Protocol (IPP), indicating +# that DEST is a printing server for SOURCE. The macro allows +# print queue broadcasts from the server to the client, and +# printing connections from the client to the server. +# +# Example usage on a single-interface firewall which is a print +# client: +# IPPserver/ACCEPT $FW lan +# +# Example for a two-interface firewall which acts as a print +# server for loc: +# IPPserver/ACCEPT loc $FW +# +############################################################################### +#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER/ +# PORT PORT(S) DEST LIMIT GROUP +PARAM SOURCE DEST tcp 631 +PARAM DEST SOURCE udp 631 +#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE