2010-11-17 05:51:11 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
|
|
|
|
<refentry>
|
|
|
|
<refmeta>
|
|
|
|
<refentrytitle>shorewall-routes</refentrytitle>
|
|
|
|
|
|
|
|
<manvolnum>5</manvolnum>
|
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
|
|
|
<refname>routes</refname>
|
|
|
|
|
|
|
|
<refpurpose>Shorewall file</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<cmdsynopsis>
|
|
|
|
<command>/etc/shorewall/routes</command>
|
|
|
|
</cmdsynopsis>
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
|
|
|
|
<para>This file was added in Shorewall 4.4.15 and is used to define routes
|
|
|
|
to be added to provider routing tables.</para>
|
|
|
|
|
|
|
|
<para>The columns in the file are as follows.</para>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term><emphasis role="bold">PROVIDER</emphasis></term>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>The name or number of a provider defined in <ulink
|
|
|
|
url="shorewall-providers.html">shorewall-providers</ulink>
|
|
|
|
(5).</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><emphasis role="bold">DEST</emphasis></term>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Destination host address or network address.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><emphasis role="bold">GATEWAY</emphasis> (Optional)</term>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>If specified, gives the IP address of the gateway to the
|
|
|
|
DEST.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2010-11-17 17:35:20 +01:00
|
|
|
|
|
|
|
<varlistentry>
|
2010-11-18 02:27:48 +01:00
|
|
|
<term><emphasis role="bold">DEVICE</emphasis> (Optional)</term>
|
2010-11-17 17:35:20 +01:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Specifies the device route. If neither DEVICE nor GATEWAY is
|
|
|
|
given, then the INTERFACE specified for the PROVIDER in <ulink
|
|
|
|
url="shorewall-providers.html">shorewall-providers</ulink>
|
|
|
|
(5).</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2010-11-17 05:51:11 +01:00
|
|
|
</variablelist>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>FILES</title>
|
|
|
|
|
|
|
|
<para>/etc/shorewall/routes</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>See ALSO</title>
|
|
|
|
|
2011-09-26 19:16:52 +02:00
|
|
|
<para><ulink
|
|
|
|
url="http://shorewall.net/configuration_file_basics.htm#Pairs">http://shorewall.net/configuration_file_basics.htm#Pairs</ulink></para>
|
|
|
|
|
2010-11-17 05:51:11 +01:00
|
|
|
<para>shorewall(8), shorewall-accounting(5), shorewall-actions(5),
|
|
|
|
shorewall-blacklist(5), shorewall-hosts(5), shorewall_interfaces(5),
|
|
|
|
shorewall-ipsets(5), shorewall-maclist(5), shorewall-masq(5),
|
|
|
|
shorewall-nat(5), shorewall-netmap(5), shorewall-params(5),
|
|
|
|
shorewall-policy(5), shorewall-providers(5), shorewall-proxyarp(5),
|
2012-01-09 16:19:10 +01:00
|
|
|
shorewall-rtrules(5), shorewall-routestopped(5), shorewall-rules(5),
|
2010-11-17 05:51:11 +01:00
|
|
|
shorewall.conf(5), shorewall-secmarks(5), shorewall-tcclasses(5),
|
|
|
|
shorewall-tcdevices(5), shorewall-tcrules(5), shorewall-tos(5),
|
|
|
|
shorewall-tunnels(5), shorewall-zones(5)</para>
|
|
|
|
</refsect1>
|
|
|
|
</refentry>
|