shorewall6-notrack
5
notrack
shorewall6 notrack file
/etc/shorewall6/notrack
Description
The original intent of the notrack file was to exempt certain
traffic from Netfilter connection tracking. Traffic matching entries in
this file were not to be tracked.
The role of the file was expanded in Shorewall 4.4.27 to include all
rules tht can be added in the Netfilter raw table.
The file supports two different column layouts: FORMAT 1 and FORMAT
2, FORMAT 1 being the default. The two differ in that FORMAT 2 has an
additional leading ACTION column. When an entry in the file of this form
is encountered, the format of the following entries are assumed to be of
the specified format.
FORMAT format
where format is either 1 or 2.
The columns in the file are as follows (where the column name is
followed by a different name in parentheses, the different name is used in
the alternate specification syntax).
ACTION - {NOTRACK|CT:option:args}
This column is only present when FORMAT = 2. Values other than
NOTRACK require CT Target support in your
iptables and kernel. Type man iptables and search
for the CT target extension. The text will describe the
options and
args supported.
When FORMAT = 1, this column is not present and the rule is
processed as if NOTRACK had been entered in this column.
SOURCE ‒
zone[:interface][:address-list]
where zone is the name of a zone,
interface is an interface to that zone,
and address-list is a comma-separated
list of addresses (may contain exclusion - see shorewall6-exclusion
(5)).
DEST ‒
[interface|address-list]
where address-list is a
comma-separated list of addresses (may contain exclusion - see
shorewall6-exclusion
(5)). If an interface is given:
It must be up and configured with an IPv6 address when
Shorewall is started or restarted.
All routes out of the interface must be configured when
Shorewall is started or restarted.
Default routes out of the interface will result in a
warning message and will be ignored.
PROTO ‒
protocol-name-or-number
A protocol name from /etc/protocols or a
protocol number.
DEST PORT(S) (dport) - port-number/service-name-list
A comma-separated list of port numbers and/or service names
from /etc/services. May also include port
ranges of the form
low-port:high-port
if your kernel and iptables include port range support.
SOURCE PORT(S) (sport) - port-number/service-name-list
A comma-separated list of port numbers and/or service names
from /etc/services. May also include port
ranges of the form
low-port:high-port
if your kernel and iptables include port range support.
USER/GROUP (user) ‒
[user][:group]
May only be specified if the SOURCE
zone is $FW. Specifies the effective user
id and or group id of the process sending the traffic.
FILES
/etc/shorewall6/notrack
See ALSO
http://shorewall.net/configuration_file_basics.htm#Pairs
shorewall6(8), shorewall6-accounting(5), shorewall6-actions(5),
shorewall6-blacklist(5), shorewall6-hosts(5), shorewall6-interfaces(5),
shorewall6-ipsec(5), shoewall6-netmap(5),shorewall6-params(5),
shorewall6-policy(5), shorewall6-providers(5), shorewall6-proxyarp(5),
shorewall6-route_rules(5), shorewall6-routestopped(5),
shorewall6-rules(5), shorewall6.conf(5), shorewall6-secmarks(5),
shorewall6-tcclasses(5), shorewall6-tcdevices(5), shorewall6-tcrules(5),
shorewall6-tos(5), shorewall6-tunnels(5), shorewall-zones(5)