2006-11-16 02:35:48 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2010-07-19 23:45:05 +02: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-proxyarp</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>proxyarp</refname>
|
|
|
|
|
|
|
|
<refpurpose>Shorewall Proxy ARP file</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<cmdsynopsis>
|
|
|
|
<command>/etc/shorewall/proxyarp</command>
|
|
|
|
</cmdsynopsis>
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
|
2017-06-17 02:11:43 +02:00
|
|
|
<para>IPv4 only.</para>
|
|
|
|
|
2007-01-18 18:52:07 +01:00
|
|
|
<para>This file is used to define Proxy ARP. There is one entry in this
|
|
|
|
file for each IP address to be proxied.</para>
|
2006-11-16 02:35:48 +01:00
|
|
|
|
|
|
|
<para>The columns in the file are as follows.</para>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
2008-07-10 15:33:54 +02:00
|
|
|
<term><emphasis role="bold">ADDRESS</emphasis> -
|
2006-11-23 00:42:49 +01:00
|
|
|
<emphasis>address</emphasis></term>
|
2006-11-16 02:35:48 +01:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>IP Address.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2008-07-10 15:33:54 +02:00
|
|
|
<term><emphasis role="bold">INTERFACE</emphasis> -
|
2010-12-11 19:04:07 +01:00
|
|
|
<emphasis>interface</emphasis> (Optional as of Shorewall
|
|
|
|
4.4.16)</term>
|
2006-11-16 02:35:48 +01:00
|
|
|
|
|
|
|
<listitem>
|
2007-01-18 18:52:07 +01:00
|
|
|
<para>Local interface where system with the ip address in ADDRESS is
|
2010-12-11 19:04:07 +01:00
|
|
|
connected. This column is only required when HAVEROUTE is set to
|
|
|
|
<emphasis role="bold">No</emphasis> (<emphasis
|
|
|
|
role="bold">no</emphasis>) or is left empty.</para>
|
2006-11-16 02:35:48 +01:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2008-07-10 15:33:54 +02:00
|
|
|
<term><emphasis role="bold">EXTERNAL</emphasis> -
|
2006-11-23 00:42:49 +01:00
|
|
|
<emphasis>interface</emphasis></term>
|
2006-11-16 02:35:48 +01:00
|
|
|
|
|
|
|
<listitem>
|
2007-01-27 19:53:50 +01:00
|
|
|
<para>External Interface to be used to access this system from the
|
|
|
|
Internet.</para>
|
2006-11-16 02:35:48 +01:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2008-07-10 15:33:54 +02:00
|
|
|
<term><emphasis role="bold">HAVEROUTE</emphasis> - [<emphasis
|
2006-11-23 00:42:49 +01:00
|
|
|
role="bold">-</emphasis>|<emphasis
|
|
|
|
role="bold">Yes</emphasis>|<emphasis role="bold">No</emphasis>]</term>
|
2006-11-16 02:35:48 +01:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>If there is already a route from the firewall to the host
|
|
|
|
whose address is given, enter <emphasis role="bold">Yes</emphasis>
|
|
|
|
or <emphasis role="bold">yes</emphasis> in this column. Otherwise,
|
|
|
|
enter <emphasis role="bold">no</emphasis> or <emphasis
|
|
|
|
role="bold">No</emphasis> or leave the column empty and Shorewall
|
2010-07-19 23:45:05 +02:00
|
|
|
will add the route for you. If Shorewall adds the route, its
|
|
|
|
persistence depends on the value of the<emphasis
|
2006-11-16 02:35:48 +01:00
|
|
|
role="bold">PERSISTENT</emphasis> column contains <emphasis
|
|
|
|
role="bold">Yes</emphasis>; otherwise, <emphasis
|
|
|
|
role="bold">shorewall stop</emphasis> or <emphasis
|
|
|
|
role="bold">shorewall clear</emphasis> will delete the route.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2008-07-10 15:33:54 +02:00
|
|
|
<term><emphasis role="bold">PERSISTENT</emphasis> - [<emphasis
|
2006-11-23 00:42:49 +01:00
|
|
|
role="bold">-</emphasis>|<emphasis
|
|
|
|
role="bold">Yes</emphasis>|<emphasis role="bold">No</emphasis>]</term>
|
2006-11-16 02:35:48 +01:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>If HAVEROUTE is <emphasis role="bold">No</emphasis> or
|
|
|
|
<emphasis role="bold">no</emphasis>, then the value of this column
|
|
|
|
determines if the route added by Shorewall persists after a
|
|
|
|
<emphasis role="bold">shorewall stop</emphasis> or a <emphasis
|
|
|
|
role="bold">shorewall clear</emphasis>. If this column contains
|
|
|
|
<emphasis role="bold">Yes</emphasis> or <emphasis
|
|
|
|
role="bold">yes</emphasis> then the route persists; If the column is
|
|
|
|
empty or contains <emphasis role="bold">No</emphasis> or <emphasis
|
2007-01-27 19:53:50 +01:00
|
|
|
role="bold">no</emphasis> then the route is deleted by
|
2006-11-16 02:35:48 +01:00
|
|
|
<command>shorewall stop</command> or <command>shorewall
|
|
|
|
clear</command>.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Example</title>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term>Example 1:</term>
|
|
|
|
|
|
|
|
<listitem>
|
2006-11-22 04:51:39 +01:00
|
|
|
<para>Host with IP 155.186.235.6 is connected to interface eth1 and
|
2006-11-16 02:35:48 +01:00
|
|
|
we want hosts attached via eth0 to be able to access it using that
|
|
|
|
address.</para>
|
|
|
|
|
|
|
|
<programlisting> #ADDRESS INTERFACE EXTERNAL
|
|
|
|
155.186.235.6 eth1 eth0</programlisting>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>FILES</title>
|
|
|
|
|
|
|
|
<para>/etc/shorewall/proxyarp</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>See ALSO</title>
|
|
|
|
|
2006-11-22 04:51:39 +01:00
|
|
|
<para><ulink
|
2020-03-26 22:58:35 +01:00
|
|
|
url="../ProxyARP.htm">https://shorewall.org/ProxyARP.htm</ulink></para>
|
2006-11-22 04:51:39 +01:00
|
|
|
|
2011-09-26 19:16:52 +02:00
|
|
|
<para><ulink
|
2020-03-26 22:58:35 +01:00
|
|
|
url="../configuration_file_basics.htm#Pairs">https://shorewall.org/configuration_file_basics.htm#Pairs</ulink></para>
|
2011-09-26 19:16:52 +02:00
|
|
|
|
2017-06-17 02:11:43 +02:00
|
|
|
<para>shorewall(8)</para>
|
2006-11-16 02:35:48 +01:00
|
|
|
</refsect1>
|
2010-07-19 23:45:05 +02:00
|
|
|
</refentry>
|