mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-22 10:41:23 +02:00
Add FAQ 89 -- DSL modem access
This commit is contained in:
parent
ab3c2ccd01
commit
97d8fd1588
37
docs/FAQ.xml
37
docs/FAQ.xml
@ -20,7 +20,7 @@
|
|||||||
<pubdate><?dbtimestamp format="Y/m/d"?></pubdate>
|
<pubdate><?dbtimestamp format="Y/m/d"?></pubdate>
|
||||||
|
|
||||||
<copyright>
|
<copyright>
|
||||||
<year>2001-2009</year>
|
<year>2001-2010</year>
|
||||||
|
|
||||||
<holder>Thomas M. Eastep</holder>
|
<holder>Thomas M. Eastep</holder>
|
||||||
</copyright>
|
</copyright>
|
||||||
@ -2739,5 +2739,40 @@ loc $FW ACCEPT </programlisting>
|
|||||||
<emphasis>inline</emphasis> more with Shorewall, but no HOWTO exists at
|
<emphasis>inline</emphasis> more with Shorewall, but no HOWTO exists at
|
||||||
this time.</para>
|
this time.</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section id="faq89">
|
||||||
|
<title>(FAQ 89) How do I connect to the web server in my aDSL modem from
|
||||||
|
my local LAN?</title>
|
||||||
|
|
||||||
|
<para>Answer: Here's what I did:</para>
|
||||||
|
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>My local network is 172.20.1.0/24 so I set the IP address in
|
||||||
|
the modem to 172.20.1.2.</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>The IP address of my firewall's interface to the LAN is
|
||||||
|
172.20.1.254. I added the following two configuration
|
||||||
|
entries:</para>
|
||||||
|
|
||||||
|
<para><filename>/etc/shorewall/masq:</filename></para>
|
||||||
|
|
||||||
|
<programlisting>#INTERFACE SOURCE ADDRESS
|
||||||
|
|
||||||
|
COMMENT DSL Modem
|
||||||
|
|
||||||
|
EXT_IF:172.20.1.2 0.0.0.0/0 172.20.1.254
|
||||||
|
</programlisting>
|
||||||
|
|
||||||
|
<para><filename>/etc/shorewall/proxyarp</filename>:</para>
|
||||||
|
|
||||||
|
<programlisting>#ADDRESS INTERFACE EXTERNAL HAVEROUTE PERSISTENT
|
||||||
|
172.20.1.2 EXT_IF INT_IF no yes
|
||||||
|
</programlisting>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
</section>
|
||||||
</section>
|
</section>
|
||||||
</article>
|
</article>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user