2016-03-07 23:56:20 +01:00
|
|
|
#
|
2016-04-05 19:13:55 +02:00
|
|
|
# Shorewall -- /etc/shorewall/action.mangletemplate
|
2016-03-07 23:56:20 +01:00
|
|
|
#
|
2016-04-05 19:13:55 +02:00
|
|
|
# Mangle Action Template
|
2016-03-07 23:56:20 +01:00
|
|
|
#
|
2016-04-05 19:13:55 +02:00
|
|
|
# This file is a template for files with names of the form
|
|
|
|
# /etc/shorewall/action.<action-name> where <action> is an
|
|
|
|
# ACTION defined with the mangle option in /etc/shorewall/actions.
|
2016-03-07 23:56:20 +01:00
|
|
|
#
|
2016-04-05 19:13:55 +02:00
|
|
|
# To define a new action:
|
2016-03-07 23:56:20 +01:00
|
|
|
#
|
2016-04-05 19:13:55 +02:00
|
|
|
# 1. Add the <action name> to /etc/shorewall/actions with the mangle option
|
|
|
|
# 2. Copy this file to /etc/shorewall/action.<action name>
|
|
|
|
# 3. Add the desired rules to that file.
|
2016-03-07 23:56:20 +01:00
|
|
|
#
|
2020-03-26 22:58:35 +01:00
|
|
|
# Please see https://shorewall.org/Actions.html for additional
|
2016-04-05 19:13:55 +02:00
|
|
|
# information.
|
2016-03-07 23:56:20 +01:00
|
|
|
#
|
|
|
|
# Columns are the same as in /etc/shorewall/mangle.
|
|
|
|
#
|
|
|
|
####################################################################################################################################################
|
|
|
|
#ACTION SOURCE DEST PROTO DPORT SPORT USER TEST LENGTH TOS CONNBYTES HELPER PROBABILITY DSCP
|