/usr/share/doc/HOWTO/ja-html/VPN-HOWTO-2.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>VPN HOWTO: ÍýÏÀ</TITLE>
<LINK HREF="VPN-HOWTO-3.html" REL=next>
<LINK HREF="VPN-HOWTO-1.html" REL=previous>
<LINK HREF="VPN-HOWTO.html#toc2" REL=contents>
</HEAD>
<BODY>
<A HREF="VPN-HOWTO-3.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="VPN-HOWTO-1.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="VPN-HOWTO.html#toc2">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s2">2. ÍýÏÀ</A></H2>
<H2><A NAME="ss2.1">2.1 VPN¤È¤Ï²¿¤«¡©</A>
</H2>
<P>VPN ¤È¤Ï²¾Áۥץ饤¥Ù¡¼¥È¥Í¥Ã¥È¥ï¡¼¥¯ (Virtual Private Network) ¤ò°ÕÌ£¤·¤Æ¤¤¤Þ¤¹¡£
VPN ¤Ï¥Ç¡¼¥¿¤Î°ÂÁ´À¤ò³ÎÊݤ·¤Ä¤Ä¡¢¤½¤ÎÍ¢Á÷µ¡¹½¤È¤·¤Æ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤òÍøÍѤ·¤Þ¤¹¡£
<H3>¤Ç¡¢¼ÂºÝ¤Î¤È¤³¤í¡¢VPN ¤È¤Ï¡©</H3>
<P>¤½¤Î¼ÁÌä¤Ë¤Ï¤¤¤¯¤Ä¤â¤ÎÅú¤¨¤¬¤¢¤ê¤Þ¤¹¡£¤½¤ì¤ÏÀµ¤Ë¥Í¥Ã¥È¥ï¡¼¥¯¥ì¥¤¥¢¥¦¥È¼¡Âè¤Ç¤¹¡£
¤â¤Ã¤È¤â°ìÈÌŪ¤Ê¹½À®¤Ï¡¢¤Ò¤È¤Ä¤Î¥á¥¤¥óÆâÉô¥Í¥Ã¥È¥ï¡¼¥¯¤ò»ý¤Á¡¢
VPN ¤ò»È¤Ã¤¿Î¥¤ì¤¿½ê¤Ë¤¢¤ë¥Î¡¼¥É¤òÃæ±û¥Í¥Ã¥È¥ï¡¼¥¯¤Ø´°Á´¤Ë¥¢¥¯¥»¥¹¤Ç¤¤ë¤è¤¦¤Ë
¤¹¤ë¤â¤Î¤Ç¤¹¡£Î¥¤ì¤¿½ê¤Ë¤¢¤ë¥Î¡¼¥É¤È¤¤¤¦¤Î¤Ï¡¢Ä̾
Î¥¤ì¤¿¥ª¥Õ¥£¥¹¤«¼«Â𤫤éºî¶È¤ò¹Ô¤¦½¾¶È°÷¤Ê¤É¤Ç¤¹¡£Æó¤Ä¤Î¡¢
¤è¤ê¾®¤µ¤Ê (¤¢¤ë¤¤¤ÏÂ礤Ê!) ¥Í¥Ã¥È¥ï¡¼¥¯¤ò·Ò¤¤¤Ç¡¢¤µ¤é¤ËÂ礤Ê
ñ°ì¤Î¥Í¥Ã¥È¥ï¡¼¥¯¤È¤¹¤ë¤³¤È¤â½ÐÍè¤Þ¤¹¡£
<H3>¤½¤ì¤Ç¤É¤¦¤¤¤¦É÷¤ËÆ°ºî¤¹¤ë¤Î¡©</H3>
<P>VPN ¤ò¹½ÃÛ¤¹¤ë¤¿¤á¤Ë¤Ïñ¤Ë¡¢Æó¤Ä¤Î¥Í¥Ã¥È¥ï¡¼¥¯´Ö¤Ë°ÂÁ´¤Î³ÎÊݤµ¤ì¤¿¥È¥ó¥Í¥ë¤ò
ºî¤ê¡¢¤½¤ì¤òÄ̤ë¤è¤¦¤Ë IP ¤Î·ÐÏ©¤òÄê¤á¤Þ¤¹¡£¤â¤·¡¢´û¤Ë»ä¤Î¸À¤¦¤³¤È¤¬
Íý²ò¤Ç¤¤Ê¤¤¤Î¤Ç¤·¤¿¤é¡¢
<A HREF="http://www.linuxdoc.org/HOWTO/Networking-Overview-HOWTO.html">The Linux Networking Overview HOWTO</A> ¤òÆɤó¤Ç Linux ¤Ë¤ª¤±¤ë
¥Í¥Ã¥È¥ï¡¼¥¯¤Ë¤Ä¤¤¤ÆÊÙ¶¯¤·¤Æ¤¯¤À¤µ¤¤¡£
<P>
<P>²æËý¤·¤Æ¤¯¤À¤µ¤¤¡£»ä¤Î¥¢¥¹¥¡¼¥¢¡¼¥È¤Ï²¿¤«¤Ë»È¤¨¤Þ¤¹¤«¤é¡£
<P>
<PRE>
\ \
-------------- / / --------
¥ê¥â¡¼¥È ___| ¥¯¥é¥¤¥¢¥ó¥È |____\ ¥¤¥ó¥¿¡¼ \___| ¥µ¡¼¥Ð |______ ¥×¥é¥¤¥Ù¡¼¥È
¥Í¥Ã¥È¥ï¡¼¥¯ | ¥ë¡¼¥¿ | / ¥Í¥Ã¥È / | ¥ë¡¼¥¿ | ¥Í¥Ã¥È¥ï¡¼¥¯
-------------- \ \ --------
/ /
¥¯¥é¥¤¥¢¥ó¥È¥ë¡¼¥¿
-----------------------------------------------------
| /-> 10.0.0.0/255.0.0.0 \ |
¥ê¥â¡¼¥È | |--> 172.16.0.0/255.240.0.0 |--> ¥È¥ó¥Í¥ë >--\ |
¥Í¥Ã¥È¥ï¡¼¥¯>--|--|--> 192.168.0.0/255.255.0.0 / |--|----> ¥¤¥ó¥¿¡¼¥Í¥Ã¥È
192.168.12.0 | | | |
| \-----> 0.0.0.0/0.0.0.0 --> IP¥Þ¥¹¥«¥ì¡¼¥É >--/ |
-----------------------------------------------------
¥µ¡¼¥Ð¥ë¡¼¥¿
------------------------------------------------------
| /-> 10.0.0.0/255.0.0.0 \ |
| /--> ¥È¥ó¥Í¥ë >--|--> 172.16.0.0/255.240.0.0 |--|--> ¥×¥é¥¤¥Ù¡¼¥È
¥¤¥ó¥¿¡¼¥Í¥Ã¥È >--|--| \--> 192.168.0.0/255.255.0.0 / | ¥Í¥Ã¥È¥ï¡¼¥¯
| | | 172.16.0.0/12
| \-----> 0.0.0.0/0.0.0.0 -----> /dev/null | 192.168.0.0/16
------------------------------------------------------
</PRE>
<P>¾å¤Î¿Þ¤Ï¥Í¥Ã¥È¥ï¡¼¥¯¤ò¤É¤ÎÍͤ˹½ÃÛ¤·ÆÀ¤ë¤«¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£
¤â¤· IP ¥Þ¥¹¥«¥ì¡¼¥É¤¬²¿¤Ç¤¢¤ë¤«Ê¬¤«¤é¤Ê¤¤¤Î¤Ê¤é¡¢¤³¤³¤Ë¤¤¤ë¤Ù¤¤Ç¤Ï
¤¢¤ê¤Þ¤»¤ó¡£
<A HREF="http://www.linuxdoc.org/HOWTO/Networking-Overview-HOWTO.html">The Linux Networking Overview HOWTO</A>¤òÆɤó¤Ç¡¢¤½¤ì¤òÍý²ò¤·¤Æ¤«¤é
Ìá¤Ã¤ÆÍè¤Æ¤¯¤À¤µ¤¤¡£
<P>¥¯¥é¥¤¥¢¥ó¥È¥ë¡¼¥¿¤Ï¥ê¥â¡¼¥È¥Í¥Ã¥È¥ï¡¼¥¯¤ËÂФ¹¤ë¥²¡¼¥È¥¦¥§¥¤/¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë
¤È¤·¤ÆÆ°ºî¤¹¤ë Linux ¥Ü¥Ã¥¯¥¹¤Ç¤¹¡£¸«¤Æʬ¤«¤ë¤è¤¦¤Ë¡¢¥ê¥â¡¼¥È¥Í¥Ã¥È¥ï¡¼¥¯¤Ï
¥í¡¼¥«¥ë¥Í¥Ã¥È¥ï¡¼¥¯ 192.168.12.0 ¤ò»ÈÍѤ·¤Æ¤¤¤Þ¤¹¡£¿Þ¤ò´Êά²½¤¹¤ë¤¿¤á¡¢
¥ë¡¼¥¿Æâ¤Î¥í¡¼¥«¥ë¤Ê¥ë¡¼¥Æ¥£¥ó¥°¾ðÊó¤òɽ¤Ë½Ð¤·¤Þ¤·¤¿¡£´ðËÜŪ¤Ê¹Í¤¨¤Ï¡¢
¥×¥é¥¤¥Ù¡¼¥È¥Í¥Ã¥È¥ï¡¼¥¯Á´¤Æ (10.0.0.0, 172.16.0.0, 192.168.0.0) ¤ËÂФ¹¤ë
¥È¥é¥Õ¥£¥Ã¥¯¤¬¥È¥ó¥Í¥ë¤òÄ̤ë¤è¤¦¤Ë·ÐÏ©¤òÄê¤á¤ë¤È¤¤¤¦¤³¤È¤Ç¤¹¡£
¤³¤³¤Ç¼¨¤·¤¿¤â¤Î¤Ï°ìÊýÄ̹ԤǤ¹¡£
¤Ä¤Þ¤ê¡¢¥ê¥â¡¼¥È¥Í¥Ã¥È¥ï¡¼¥¯¤«¤é¥×¥é¥¤¥Ù¡¼¥È¥Í¥Ã¥È¥ï¡¼¥¯¤¬¸«¤¨¤ë¤«¤é¤È¤¤¤Ã¤Æ¡¢
¥×¥é¥¤¥Ù¡¼¥È¥Í¥Ã¥È¥ï¡¼¥¯¤«¤é¥ê¥â¡¼¥È¥Í¥Ã¥È¥ï¡¼¥¯¤¬¸«¤¨¤ë¤È¤Ï¸Â¤ê¤Þ¤»¤ó¡£
¤½¤¦¤¹¤ë¤¿¤á¤Ë¤Ï·ÐÏ©¤¬ÁÐÊý¸þ¤È¤Ê¤ë¤è¤¦»ØÄꤷ¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£
<P>¿Þ¤è¤ê¡¢¥¯¥é¥¤¥¢¥ó¥È¥ë¡¼¥¿¤òÄ̤äƽФ¿¥È¥é¥Õ¥£¥Ã¥¯Á´¤Æ¤Ï¥¯¥é¥¤¥¢¥ó¥È¥ë¡¼¥¿¤«¤é
Íè¤Æ¤¤¤ë¡¢¤Ä¤Þ¤êÁ´¤Æ¤¬°ì¤Ä¤Î IP ¥¢¥É¥ì¥¹¤«¤éÍè¤Æ¤¤¤ë¤³¤È¤¬Ê¬¤«¤ë¤Ç¤·¤ç¤¦¡£
¼ÂºÝ¤Î¤¢¤Ê¤¿¤Î¥Í¥Ã¥È¥ï¡¼¥¯Æ⤫¤é¤Î¿ô¤À¤±·ÐÏ©¤òÀßÄꤹ¤ë¤³¤È¤â½ÐÍè¤Þ¤¹¤¬¡¢
¤½¤¦¤¹¤ë¤È¤¢¤é¤æ¤ë¼ïÎà¤Î¥»¥¥å¥ê¥Æ¥£ÌäÂ꤬ȯÀ¸¤¹¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£
<H2><A NAME="ss2.2">2.2 SSH¤ÈPPP</A>
</H2>
<P>VPN ¤È¤·¤Æ¡¢SSH ¤ª¤è¤Ó PPP ¤òÍѤ¤¤¿¥·¥¹¥Æ¥à¤Ë¤Ä¤¤¤Æ¤âµ¤·¤Æ¤ª¤¤Þ¤¹¡£
´ðËÜŪ¤Ë»ä¤Ï¥È¥ó¥Í¥ëÀܳ¤¹¤ë¤¿¤á¤Ë ssh ¤ò»È¤¤¡¢¤½¤ì¤òÄ̤·¤Æ TCP/IP ¤ÎÁ÷¼õ¿®¤ò
¹Ô¤¦¤¿¤á¤Ë¡¢pppd ¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£¤½¤ì¤¬¥È¥ó¥Í¥ë¤Îºî¤êÊý¤Ç¤¹¡£
<P>ssh ¤È pppd ¤ò°ì½ï¤ËÆ°¤«¤¹¼ÂºÝ¤Î¤¦¤Þ¤¤ÊýË¡¤Ï¡¢Arpad Magosanyi ¤Ë
¤è¤Ã¤Æ½ñ¤«¤ì¤¿Ìò¤Ë¤¿¤Äʸ½ñ¤Ç¡¢¤½¤ì¤Ë½¾¤¨¤Ðµ¿»÷üËö¤Îɸ½àÆþ½ÐÎϤò
¥ê¥À¥¤¥ì¥¯¥È¤¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£¤³¤ì¤Ë¤è¤Ã¤Æ pppd ¤Ï¡¢
ssh¤òÄ̤·¤Æ¤¢¤¿¤«¤â¤½¤ì¤¬¥·¥ê¥¢¥ë²óÀþ¤Ç¤¢¤ë¤«¤Î¤è¤¦¤ËÄÌ¿®¤¹¤ë¤³¤È¤¬
½ÐÍè¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£¥µ¡¼¥Ð¦¤Ç¤Ï¡¢pppd ¤Ï ssh ¥»¥Ã¥·¥ç¥ó¤Ë¤ª¤±¤ë
¥æ¡¼¥¶¤Î¥·¥§¥ë¤Î¤è¤¦¤ËÆ°ºî¤·¤Æ¤ª¤ê¡¢¥ê¥ó¥¯¤ò³ÎΩ¤·¤Æ¤¤¤Þ¤¹¡£
¤¢¤È¤Ï·ÐÏ©¤ÎÀßÄê¤ò¹Ô¤¦¤À¤±¤Ç¤¹¡£
<H2><A NAME="ss2.3">2.3 ¤½¤Î¾¤Î VPN ¥·¥¹¥Æ¥à</A>
</H2>
<P>¤â¤Á¤í¤ó¡¢VPN ¤ò¹½ÃÛ¤¹¤ë¤¿¤á¤Î¾¤ÎÊýË¡¤â¤¢¤ê¤Þ¤¹¡£¤³¤³¤Ç¤Ï¾¤Î¥·¥¹¥Æ¥à¤Î¤¦¤Á
3¤Ä¤ò¼¨¤·¤Þ¤¹¡£
<H3>PPTP</H3>
<P>PPTP ¤Ï¥Þ¥¤¥¯¥í¥½¥Õ¥È¤Î VPN ¤Î¤¿¤á¤Î¥×¥í¥È¥³¥ë¤Ç¤¹¡£¤½¤ì¤Ï Linux ¤Ç
¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢¿¼¹ï¤Ê¥»¥¥å¥ê¥Æ¥£¾å¤ÎÌäÂê¤òÊú¤¨¤Æ¤¤¤ë¤³¤È¤¬
ʬ¤«¤Ã¤Æ¤¤¤Þ¤¹¡£¤É¤Î¤è¤¦¤Ë»ÈÍѤ¹¤ë¤«¤Ï
<A HREF="http://www.linuxdoc.org/HOWTO/VPN-Masquerade-HOWTO.html">Linux VPN Masquerade HOWTO</A> ¤Ë¼¨¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¤³¤³¤Ç¤ÏÀâÌÀ¤·¤Þ¤»¤ó¡£
<H3>IP Sec</H3>
<P>IP Sec ¤Ï SSH ¤È¤Ï°Û¤Ê¤ë¥×¥í¥È¥³¥ë¤Î¥»¥Ã¥È¤Ç¤¹¡£»ä¤Ï¡¢¼Â¤Ï¤½¤ì¤Ë¤Ä¤¤¤Æ
¤¢¤Þ¤ê¤è¤¯ÃΤé¤Ê¤¤¤Î¤Ç¡¢Ã¯¤«¤¬ÀâÌÀ¤Î¼ê½õ¤±¤ò¤·¤Æ¤¯¤ì¤ë¤Ê¤éÈó¾ï¤Ë
¤¢¤ê¤¬¤¿¤¤¤Ç¤¹¡£ºÆÅÙ¡¢¤½¤Î»È¤¤Êý¤Ë¤Ä¤¤¤Æ¤Ï
<A HREF="http://www.linuxdoc.org/HOWTO/VPN-Masquerade-HOWTO.html">Linux VPN Masquerade HOWTO</A>¤Ë¼¨¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¤³¤³¤Ç¤ÏÀâÌÀ¤·¤Ê¤¤
¤³¤È¤Ë¤·¤Þ¤¹¡£
<H3>CIPE</H3>
<P>CIPE ¤Ï¡¢´ë¶È¸þ¤±¤ÎÀßÄê¤ËŬ¤·¤¿¡¢¥«¡¼¥Í¥ë¥ì¥Ù¥ë¤Î¥Í¥Ã¥È¥ï¡¼¥¯°Å¹æ²½¥·¥¹¥Æ¥à
¤Ç¤¹¡£¤è¤ê¾Ü¤·¤¤ÆâÍƤÏ
<A HREF="http://sites.inka.de/sites/bigred/devel/cipe.html">the CIPE homepage</A>¤Ë¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ë¤Ä¤¤¤Æ¤Ï¤â¤¦¾¯¤·¾Ü¤·¤¯Ä´¤Ù¤è¤¦¤È»×¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢
¤¤¤Ä¤«¤³¤³¤Ç¾ðÊó¤ò¼¨¤¹¤³¤È¤¬¤Ç¤¤ë¤Ç¤·¤ç¤¦¡£
<HR>
<A HREF="VPN-HOWTO-3.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="VPN-HOWTO-1.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="VPN-HOWTO.html#toc2">Ìܼ¡¤Ø</A>
</BODY>
</HTML>
|