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>
|
2014-01-16 17:32:57 +01:00
|
|
|
|
|
|
|
<refmiscinfo>Configuration Files</refmiscinfo>
|
2006-11-16 02:35:48 +01:00
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
|
|
|
<refname>params</refname>
|
|
|
|
|
|
|
|
<refpurpose>Shorewall parameters file</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<cmdsynopsis>
|
2017-06-17 00:01:41 +02:00
|
|
|
<command>/etc/shorewall[6]/params</command>
|
2006-11-16 02:35:48 +01:00
|
|
|
</cmdsynopsis>
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
|
2012-03-16 16:16:12 +01:00
|
|
|
<para>Assign any shell variables that you need in this file. The file is
|
2018-03-08 17:51:36 +01:00
|
|
|
always processed by <filename>/bin/sh</filename> so the full range of
|
|
|
|
shell capabilities may be used.</para>
|
2006-11-16 02:35:48 +01:00
|
|
|
|
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
|
2014-01-16 17:32:57 +01:00
|
|
|
url="/manpages/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>
|
|
|
|
|
2010-02-25 21:37:22 +01:00
|
|
|
<member>ECHO_E</member>
|
|
|
|
|
|
|
|
<member>ECHO_N</member>
|
|
|
|
|
2010-02-19 17:12:56 +01:00
|
|
|
<member>EXPORT</member>
|
|
|
|
|
|
|
|
<member>FAST</member>
|
|
|
|
|
2010-03-03 20:46:23 +01:00
|
|
|
<member>FILEMODE</member>
|
|
|
|
|
2010-03-02 20:59:38 +01:00
|
|
|
<member>HOSTNAME</member>
|
|
|
|
|
2010-02-19 17:12:56 +01:00
|
|
|
<member>IPT_OPTIONS</member>
|
|
|
|
|
2010-03-03 19:28:09 +01:00
|
|
|
<member>NOROUTES</member>
|
2010-02-19 17:12:56 +01:00
|
|
|
|
2010-02-22 00:14:40 +01:00
|
|
|
<member>PREVIEW</member>
|
|
|
|
|
2010-03-02 21:34:36 +01:00
|
|
|
<member>PRODUCT</member>
|
2010-02-22 00:14:40 +01:00
|
|
|
|
2010-02-19 17:12:56 +01:00
|
|
|
<member>PROFILE</member>
|
|
|
|
|
2010-03-03 19:28:09 +01:00
|
|
|
<member>PURGE</member>
|
2010-02-19 17:12:56 +01:00
|
|
|
|
2010-03-03 19:28:09 +01:00
|
|
|
<member>RECOVERING</member>
|
2010-02-21 17:34:21 +01:00
|
|
|
|
2010-02-26 17:35:50 +01:00
|
|
|
<member>RESTOREPATH</member>
|
2010-02-19 17:12:56 +01:00
|
|
|
|
2010-02-25 21:37:22 +01:00
|
|
|
<member>RING_BELL</member>
|
|
|
|
|
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
|
|
|
|
2010-03-02 16:37:30 +01:00
|
|
|
<member>STOPPING</member>
|
|
|
|
|
2010-02-19 17:12:56 +01:00
|
|
|
<member>TEST</member>
|
|
|
|
|
2010-03-03 19:28:09 +01:00
|
|
|
<member>TIMESTAMP</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-03-01 02:58:01 +01:00
|
|
|
<member>VERBOSE</member>
|
2010-02-19 17:12:56 +01:00
|
|
|
|
|
|
|
<member>VERBOSE_OFFSET</member>
|
2010-03-02 17:18:01 +01:00
|
|
|
|
|
|
|
<member>VERSION</member>
|
2010-02-19 17:12:56 +01:00
|
|
|
</simplelist>
|
|
|
|
|
2006-11-16 02:35:48 +01:00
|
|
|
<para>Example params file:</para>
|
|
|
|
|
|
|
|
<programlisting>NET_IF=eth0
|
|
|
|
NET_BCAST=130.252.100.255
|
2017-06-17 00:01:41 +02:00
|
|
|
NET_OPTIONS=routefilter</programlisting>
|
2006-11-16 02:35:48 +01:00
|
|
|
|
2007-01-14 23:34:51 +01:00
|
|
|
<para>Example <ulink
|
2014-01-12 22:40:03 +01:00
|
|
|
url="/manpages/shorewall-interfaces.html">shorewall-interfaces</ulink>(5)
|
2007-01-14 23:34:51 +01:00
|
|
|
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
|
2017-06-17 00:01:41 +02:00
|
|
|
net eth0 130.252.100.255 routefilter</programlisting>
|
2006-11-16 02:35:48 +01:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>FILES</title>
|
|
|
|
|
|
|
|
<para>/etc/shorewall/params</para>
|
2017-06-17 00:01:41 +02:00
|
|
|
|
|
|
|
<para>/etc/shorewall6/params</para>
|
2006-11-16 02:35:48 +01:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>See ALSO</title>
|
|
|
|
|
2006-11-22 04:51:39 +01:00
|
|
|
<para><ulink
|
2014-01-12 22:40:03 +01:00
|
|
|
url="/configuration_file_basics.htm#Variables">http://www.shorewall.net/configuration_file_basics.htm#Variables</ulink></para>
|
2006-11-22 04:51:39 +01:00
|
|
|
|
2017-06-17 02:11:43 +02:00
|
|
|
<para>shorewall(8)</para>
|
2006-11-16 02:35:48 +01:00
|
|
|
</refsect1>
|
2010-02-19 17:12:56 +01:00
|
|
|
</refentry>
|