FreeBSD Bugzilla – Attachment 26051 Details for
Bug 44443
addition to handbook: Using User-level PPP NAT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.56 KB, created by
Dmitry Morozovsky
on 2002-10-24 19:10:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dmitry Morozovsky
Created:
2002-10-24 19:10:04 UTC
Size:
1.56 KB
patch
obsolete
>Index: chapter.sgml >=================================================================== >RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip/chapter.sgml,v >retrieving revision 1.93 >diff -u -r1.93 chapter.sgml >--- chapter.sgml 13 Oct 2002 15:36:41 -0000 1.93 >+++ chapter.sgml 24 Oct 2002 18:02:19 -0000 >@@ -1280,6 +1280,33 @@ > </sect4> > </sect3> > >+ <sect3 id="userppp-nat"> >+ <title>Using PPP Network Address Translation Capability</title> >+ <indexterm><primary>PPP</primary><secondary>NAT</secondary></indexterm> >+ >+ <para>PPP has ability to use internal NAT without kernel diverting >+ capabilities. This functionality may be enabled by the following >+ line in <filename>/etc/ppp/ppp.conf</filename>:</para> >+ >+ <programlisting>nat enable yes</programlisting> >+ >+ <para>Alternatively, PPP NAT may be enabled by command-line >+ option <literal>-nat</literal>. There is also >+ <filename>/etc/rc.conf</filename> knob named >+ <literal>ppp_nat</literal>, which is enabled by default.</para> >+ >+ <para>If you use this feature, you may also find useful >+ the following <filename>/etc/ppp/ppp.conf</filename> options >+ to enable incoming connections forwarding:</para> >+ >+ <programlisting>nat port tcp 10.0.0.2:ftp ftp >+nat port tcp 10.0.0.2:http http</programlisting> >+ >+ <para>or don't trust the outside at all</para> >+ >+ <programlisting>nat deny_incoming yes</programlisting> >+ </sect3> >+ > <sect3 id="userppp-final"> > <title>Final System Configuration</title> > <indexterm><primary>PPP</primary><secondary>configuration</secondary></indexterm>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 44443
: 26051