mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-27 08:39:00 +01:00
832ef83da9
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7839 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
#
|
|
# 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 net
|
|
#
|
|
# Example for a two-interface firewall which acts as a print
|
|
# server for loc:
|
|
# IPPserver/ACCEPT loc $FW
|
|
#
|
|
# 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
|
|
#
|
|
###############################################################################
|
|
#ACTION SOURCE PROTO DEST SOURCE RATE USER/
|
|
# PORT(S) PORT(S) LIMIT GROUP
|
|
|
|
COMMENT IPPServer
|
|
|
|
PARAM SOURCE DEST tcp 631
|
|
PARAM DEST SOURCE udp 631
|
|
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
|