2006-11-16 02:35:48 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2010-02-19 17:12:56 +01:00
|
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
|
2006-11-16 02:35:48 +01:00
|
|
|
<refentry>
|
|
|
|
<refmeta>
|
|
|
|
<refentrytitle>shorewall-params</refentrytitle>
|
|
|
|
|
|
|
|
<manvolnum>5</manvolnum>
|
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
|
|
|
<refname>params</refname>
|
|
|
|
|
|
|
|
<refpurpose>Shorewall parameters file</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<cmdsynopsis>
|
|
|
|
<command>/etc/shorewall/params</command>
|
|
|
|
</cmdsynopsis>
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
|
|
|
|
<para>Assign any shell variables that you need in this file.</para>
|
|
|
|
|
2006-11-22 04:51:39 +01:00
|
|
|
<para>It is suggested that variable names begin with an upper case letter
|
2006-11-16 02:35:48 +01:00
|
|
|
to distinguish them from variables used internally within the Shorewall
|
|
|
|
programs</para>
|
|
|
|
|
2010-02-22 17:36:31 +01:00
|
|
|
<para>The following variable names must be avoided. Those in <emphasis
|
|
|
|
role="bold">bold font</emphasis> must be avoided in all Shorewall
|
|
|
|
versions; those in regular font must be avoided in versions prior to
|
|
|
|
4.4.8.</para>
|
2010-02-19 17:12:56 +01:00
|
|
|
|
|
|
|
<simplelist>
|
2010-02-22 17:36:31 +01:00
|
|
|
<member><emphasis role="bold">Any option from <ulink
|
|
|
|
url="shorewall.conf.html">shorewall.conf</ulink> (5)</emphasis></member>
|
2010-02-19 17:12:56 +01:00
|
|
|
|
2010-02-23 16:18:54 +01:00
|
|
|
<member><emphasis role="bold">COMMAND</emphasis></member>
|
|
|
|
|
2010-02-22 17:36:31 +01:00
|
|
|
<member><emphasis role="bold">CONFDIR</emphasis></member>
|
2010-02-22 00:14:40 +01:00
|
|
|
|
2010-02-19 17:12:56 +01:00
|
|
|
<member>DEBUG</member>
|
|
|
|
|
|
|
|
<member>EXPORT</member>
|
|
|
|
|
|
|
|
<member>FAST</member>
|
|
|
|
|
|
|
|
<member>IPT_OPTIONS</member>
|
|
|
|
|
2010-02-22 17:36:31 +01:00
|
|
|
<member><emphasis role="bold">NOROUTES</emphasis></member>
|
2010-02-19 17:12:56 +01:00
|
|
|
|
2010-02-22 00:14:40 +01:00
|
|
|
<member>PREVIEW</member>
|
|
|
|
|
2010-02-22 17:36:31 +01:00
|
|
|
<member><emphasis role="bold">PRODUCT</emphasis></member>
|
2010-02-22 00:14:40 +01:00
|
|
|
|
2010-02-19 17:12:56 +01:00
|
|
|
<member>PROFILE</member>
|
|
|
|
|
2010-02-22 17:36:31 +01:00
|
|
|
<member><emphasis role="bold">PURGE</emphasis></member>
|
2010-02-19 17:12:56 +01:00
|
|
|
|
2010-02-22 17:36:31 +01:00
|
|
|
<member><emphasis role="bold">RECOVERING</emphasis></member>
|
2010-02-21 17:34:21 +01:00
|
|
|
|
2010-02-22 17:36:31 +01:00
|
|
|
<member><emphasis role="bold">RESTOREPATH</emphasis></member>
|
2010-02-19 17:12:56 +01:00
|
|
|
|
2010-02-22 17:36:31 +01:00
|
|
|
<member><emphasis role="bold">SHAREDIR</emphasis></member>
|
2010-02-22 00:14:40 +01:00
|
|
|
|
2010-02-23 15:57:29 +01:00
|
|
|
<member><emphasis role="bold">Any name beginning with SHOREWALL_ or
|
|
|
|
SW_</emphasis></member>
|
2010-02-19 17:12:56 +01:00
|
|
|
|
|
|
|
<member>TEST</member>
|
|
|
|
|
2010-02-22 17:36:31 +01:00
|
|
|
<member><emphasis role="bold">TIMESTAMP</emphasis></member>
|
2010-02-21 17:34:21 +01:00
|
|
|
|
2010-02-19 17:12:56 +01:00
|
|
|
<member>USE_VERBOSITY</member>
|
|
|
|
|
2010-02-22 17:36:31 +01:00
|
|
|
<member><emphasis role="bold">VARDIR</emphasis></member>
|
2010-02-22 00:14:40 +01:00
|
|
|
|
2010-02-22 17:36:31 +01:00
|
|
|
<member><emphasis role="bold">VERBOSE</emphasis></member>
|
2010-02-19 17:12:56 +01:00
|
|
|
|
|
|
|
<member>VERBOSE_OFFSET</member>
|
|
|
|
</simplelist>
|
|
|
|
|
2006-11-16 02:35:48 +01:00
|
|
|
<para>Example params file:</para>
|
|
|
|
|
|
|
|
<programlisting>NET_IF=eth0
|
|
|
|
NET_BCAST=130.252.100.255
|
|
|
|
NET_OPTIONS=routefilter,norfc1918</programlisting>
|
|
|
|
|
2007-01-14 23:34:51 +01:00
|
|
|
<para>Example <ulink
|
|
|
|
url="shorewall-interfaces.html">shorewall-interfaces</ulink>(5)
|
|
|
|
file.</para>
|
2006-11-16 02:35:48 +01:00
|
|
|
|
|
|
|
<programlisting>ZONE INTERFACE BROADCAST OPTIONS
|
|
|
|
net $NET_IF $NET_BCAST $NET_OPTIONS</programlisting>
|
|
|
|
|
|
|
|
<para>This is the same as if the interfaces file had contained:</para>
|
|
|
|
|
|
|
|
<programlisting>ZONE INTERFACE BROADCAST OPTIONS
|
|
|
|
net eth0 130.252.100.255 routefilter,norfc1918</programlisting>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>FILES</title>
|
|
|
|
|
|
|
|
<para>/etc/shorewall/params</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>See ALSO</title>
|
|
|
|
|
2006-11-22 04:51:39 +01:00
|
|
|
<para><ulink
|
|
|
|
url="http://www.shorewall.net/configuration_file_basics.htm#Variables?">http://www.shorewall.net/configuration_file_basics.htm#Variables</ulink></para>
|
|
|
|
|
2006-11-16 02:35:48 +01:00
|
|
|
<para>shorewall(8), shorewall-accounting(5), shorewall-actions(5),
|
|
|
|
shorewall-blacklist(5), shorewall-hosts(5), shorewall-interfaces(5),
|
|
|
|
shorewall-ipsec(5), shorewall-maclist(5), shorewall-masq(5),
|
|
|
|
shorewall-nat(5), shorewall-netmap(5), shorewall-policy(5),
|
2008-07-10 16:00:00 +02:00
|
|
|
shorewall-providers(5), shorewall-proxyarp(5), shorewall-route_rules(5),
|
2006-11-16 02:35:48 +01:00
|
|
|
shorewall-routestopped(5), shorewall-rules(5), shorewall.conf(5),
|
|
|
|
shorewall-tcclasses(5), shorewall-tcdevices(5), shorewall-tcrules(5),
|
|
|
|
shorewall-tos(5), shorewall-tunnels(5), shorewall-zones(5)</para>
|
|
|
|
</refsect1>
|
2010-02-19 17:12:56 +01:00
|
|
|
</refentry>
|