old-www/HOWTO/VPN-HOWTO/x554.html

244 lines
3.1 KiB
HTML

<HTML
><HEAD
><TITLE
>Client: Build the kernel</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="VPN HOWTO"
HREF="index.html"><LINK
REL="UP"
TITLE="Implementation"
HREF="implemenetation.html"><LINK
REL="PREVIOUS"
TITLE="Server: Administration"
HREF="x532.html"><LINK
REL="NEXT"
TITLE="Client: Configure Networking"
HREF="x590.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>VPN HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x532.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 5. Implementation</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x590.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN554">5.13. Client: Build the kernel</H1
><P
>&#13;Now we move onto the client. First we must rebuild the kernel so that it can support
all of the functions that we need. The minimum requirement is to have ppp in the
kernel. You will need forwarding, a firewall, and a gateway only
if you are going to allow other machines access to the tunnel. For this example, I
will setup one of the remote office machines in my example layout. Add the following
options to your kernel. Again, if you've never built a kernel before, read the
<A
HREF="/HOWTO/Kernel-HOWTO.html"
TARGET="_top"
>Kernel HOWTO</A
>.</P
><P
>&#13;For 2.0 kernels:
<P
></P
><UL
><LI
><P
>&#13;CONFIG_PPP
</P
></LI
><LI
><P
>&#13;CONFIG_FIREWALL
</P
></LI
><LI
><P
>&#13;CONFIG_IP_FORWARD
</P
></LI
><LI
><P
>&#13;CONFIG_IP_FIREWALL
</P
></LI
><LI
><P
>&#13;CONFIG_IP_ROUTER
</P
></LI
><LI
><P
>&#13;CONFIG_IP_MASQUERADE
</P
></LI
><LI
><P
>&#13;CONFIG_IP_MASQUERADE_ICMP
</P
></LI
></UL
>
</P
><P
>&#13;For 2.2 kernels:
<P
></P
><UL
><LI
><P
>&#13;CONFIG_PPP
</P
></LI
><LI
><P
>&#13;CONFIG_FIREWALL
</P
></LI
><LI
><P
>&#13;CONFIG_IP_ADVANCED_ROUTER
</P
></LI
><LI
><P
>&#13;CONFIG_IP_FIREWALL
</P
></LI
><LI
><P
>&#13;CONFIG_IP_ROUTER
</P
></LI
><LI
><P
>&#13;CONFIG_IP_MASQUERADE
</P
></LI
><LI
><P
>&#13;CONFIG_IP_MASQUERADE_ICMP
</P
></LI
></UL
>
</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x532.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x590.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Server: Administration</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="implemenetation.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Client: Configure Networking</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>