From bf1cf0c90c431f9954811b95c105c11db4a465bb Mon Sep 17 00:00:00 2001 From: paulgear Date: Mon, 16 Apr 2007 00:14:50 +0000 Subject: [PATCH] Suggested macro for Karsten\'s IPP server config git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5939 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-common/macro.IPP | 2 +- Shorewall-common/macro.IPPserver | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 Shorewall-common/macro.IPPserver 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