2007-04-16 02:14:50 +02:00
|
|
|
#
|
|
|
|
# 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:
|
2007-04-16 02:19:02 +02:00
|
|
|
# IPPserver/ACCEPT $FW net
|
2007-04-16 02:14:50 +02:00
|
|
|
#
|
|
|
|
# Example for a two-interface firewall which acts as a print
|
|
|
|
# server for loc:
|
|
|
|
# IPPserver/ACCEPT loc $FW
|
2007-04-20 01:50:50 +02:00
|
|
|
#
|
|
|
|
# NOTE: If you want both to serve requests for local printers and
|
|
|
|
# listen to requests for remote printers (i.e. your CUPS server is
|
|
|
|
# also a client), you need to apply the rule twice, e.g.
|
|
|
|
# IPPserver/ACCEPT loc $FW
|
|
|
|
# IPPserver/ACCEPT $FW loc
|
2007-04-16 02:14:50 +02:00
|
|
|
#
|
|
|
|
###############################################################################
|
2007-11-16 00:24:54 +01:00
|
|
|
#ACTION SOURCE PROTO DEST SOURCE RATE USER/
|
2007-11-29 18:46:13 +01:00
|
|
|
# PORT(S) PORT(S) LIMIT GROUP
|
2007-12-07 00:49:21 +01:00
|
|
|
|
|
|
|
COMMENT IPPServer
|
|
|
|
|
2007-04-16 02:14:50 +02:00
|
|
|
PARAM SOURCE DEST tcp 631
|
|
|
|
PARAM DEST SOURCE udp 631
|
|
|
|
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
|