forked from extern/shorewall_code
Update FTP documentation
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1885 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
0a2f93b0c0
commit
72bc7e1c0d
@ -15,13 +15,15 @@
|
||||
</author>
|
||||
</authorgroup>
|
||||
|
||||
<pubdate>2004-12-21</pubdate>
|
||||
<pubdate>2005-01-03</pubdate>
|
||||
|
||||
<copyright>
|
||||
<year>2003</year>
|
||||
|
||||
<year>2004</year>
|
||||
|
||||
<year>2005</year>
|
||||
|
||||
<holder>Thomas M. Eastep</holder>
|
||||
</copyright>
|
||||
|
||||
@ -36,58 +38,6 @@
|
||||
</legalnotice>
|
||||
</articleinfo>
|
||||
|
||||
<important>
|
||||
<para>If you are running Mandrake 9.1 or 9.2 and are having problems with
|
||||
FTP, you have three choices:</para>
|
||||
|
||||
<orderedlist>
|
||||
<listitem>
|
||||
<para>Edit /usr/share/shorewall/firewall and replace this line:</para>
|
||||
|
||||
<programlisting>for suffix in o gz ko ; do</programlisting>
|
||||
|
||||
<para>with</para>
|
||||
|
||||
<programlisting>for suffix in o gz ko o.gz ; do</programlisting>
|
||||
|
||||
<para>and at a root shell prompt:</para>
|
||||
|
||||
<programlisting><command>shorewall restart</command></programlisting>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Install the Mandrake <quote>cooker</quote> version of
|
||||
Shorewall.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Upgrade to Shorewall 1.4.7 or later.</para>
|
||||
</listitem>
|
||||
</orderedlist>
|
||||
</important>
|
||||
|
||||
<important>
|
||||
<para><trademark>Mandrake</trademark> have done it again with their 10.0
|
||||
release. This time, they have decided that kernel modules should have
|
||||
"ko.gz" for their suffix. If you are having problems with Mandrake 10.0
|
||||
and FTP, change your <filename>/etc/shorewall/conf</filename> file
|
||||
definition of MODULE_SUFFIX as follows:</para>
|
||||
|
||||
<programlisting>MODULE_SUFFIX="o gz ko o.gz ko.gz"</programlisting>
|
||||
|
||||
<para>The version of <command>insmod</command> shipped with 10.0 also does
|
||||
not comprehend these module files so you will also need Shorewall 2.0.2 or
|
||||
later OR you need to change
|
||||
<filename>/usr/share/shorewall/firewall</filename> -- replace the line
|
||||
that reads:</para>
|
||||
|
||||
<programlisting> insmod $modulefile $*</programlisting>
|
||||
|
||||
<para>with:</para>
|
||||
|
||||
<programlisting> modprobe $modulename $*</programlisting>
|
||||
</important>
|
||||
|
||||
<section>
|
||||
<title>FTP Protocol</title>
|
||||
|
||||
@ -360,7 +310,7 @@ options ip_nat_ftp ports=21,49</programlisting>
|
||||
|
||||
<programlisting>#ACTION SOURCE DESTINATION PROTO PORT(S) SOURCE ORIGINAL
|
||||
# PORT(S) DESTINATION
|
||||
ACCEPT or <<emphasis>source</emphasis>> <<emphasis>destination</emphasis>> tcp 21 <external IP addr> if
|
||||
ACCEPT or <<emphasis>source</emphasis>> <<emphasis>destination</emphasis>> tcp 21 - <external IP addr> if
|
||||
DNAT ACTION = DNAT</programlisting>
|
||||
|
||||
<para>You need an entry in the ORIGINAL DESTINATION column only if the
|
||||
|
Loading…
Reference in New Issue
Block a user