This file is indexed.

/usr/share/doc/HOWTO/ja-html/Dial-On-Demand-9.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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>Dial-On-Demand mini-HOWTO: ¥Þ¥¹¥«¥ì¡¼¥É¤ÎÀßÄê</TITLE>
 <LINK HREF="Dial-On-Demand-10.html" REL=next>
 <LINK HREF="Dial-On-Demand-8.html" REL=previous>
 <LINK HREF="Dial-On-Demand.html#toc9" REL=contents>
</HEAD>
<BODY>
<A HREF="Dial-On-Demand-10.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Dial-On-Demand-8.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Dial-On-Demand.html#toc9">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s9">9. ¥Þ¥¹¥«¥ì¡¼¥É¤ÎÀßÄê</A></H2>

<P>Ê£¿ô¤Î¥Þ¥·¥ó¤ËÀܳ¤¹¤ëɬÍפ¬¤¢¤ë¤±¤ì¤É°ì¤Ä¤ÎIP¥¢¥É¥ì¥¹¤·¤«¤Ê¤¤¾ì¹ç¤Ï¡¢
Linux¥Þ¥¹¥«¥ì¡¼¥É¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£IP¥Þ¥¹¥«¥ì¡¼¥É¤ò»È¤Ã¤Æ¡¢IP¥¢¥É¥ì¥¹
¤òPPP¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤ËÊÑ´¹¤¹¤ëÆâÉô¥Í¥Ã¥È¥ï¡¼¥¯ÈÖ¹æ(¤Ç¤­¤ì¤Ð¥×¥é¥¤¥Ù¡¼¥È
IP¥¢¥É¥ì¥¹)¤ÎÀßÄ꤬¤Ç¤­¤Þ¤¹¡£
°Ê²¼¤Î¥Í¥Ã¥È¥ï¡¼¥¯ÈÖ¹æ¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
<UL>
<LI>Class A: 10.0.0.0</LI>
<LI>Class B: 172.16.0.0 - 172.31.0.0</LI>
<LI>Class C: 192.168.0.0 - 192.168.254.0</LI>
</UL>

/etc/rc.d/rc.inet1¤ËÄɲä·¤Þ¤¹¡£
<HR>
<PRE>
FW=/sbin/ipfwadm

${FW} -F -f

${FW} -F -a m -P tcp -S localnet/8 -D default/0
${FW} -F -a m -P udp -S localnet/8 -D default/0

# Masquerading timeout-values (tcp tcpfin udp), defaults:
${FW} -M -s 3600 0 0

# Load module for special protocols:
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_irc
</PRE>
<HR>

¾å¤Î£²¤Ä¤Î¥Þ¥¹¥«¥ì¡¼¥É¥ë¡¼¥ë(<EM>ÌõÃí¡§</EM>&quot;${FW} -F..&quot;¤Î¹Ô)
¤ÏUDP¤ÈTCP¥È¥é¥Õ¥£¥Ã¥¯¤òIP¥¢¥É¥ì¥¹¤ËÊÑ´¹¤¹¤ë¤È¤¤¤¦¤â¤Î¤Ç¤¹
(<EM>ÌõÃí¡§</EM>UDP¤ÈTCP¤Ï¥È¥é¥ó¥¹¥Ý¡¼¥ÈÁؤˤ¢¤ë¥×¥í¥È¥³¥ë¤Ç¤¹¡£¾Ü¤·¤¯¤Ï
¥¢¥Ö¥¹¥È¥é¥¯¥È¤Ç¾Ò²ð¤·¤¿¡ÖNetworking Linux¡×¤ò»²¾È¤·¤Æ²¼¤µ¤¤)¡£
IP¥¢¥É¥ì¥¹¤Ï¥Ç¥Õ¥©¥ë¥È¥²¡¼¥È¥¦¥§¥¤(PPP¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹)¤È¤·¤Æ»È¤ï¤ì¤Æ¤¤¤Þ¤¹¡£
ICMP¥×¥í¥È¥³¥ë¤ò»È¤¦ping¤Ï¾¤Î¥Û¥¹¥È¤«¤é¤Ï¥¨¥é¡¼¤Ë¤Ê¤ê¤Þ¤¹¡£¥ë¡¼¥¿¤«¤é
¤Îping¤À¤±¤¬Æ°ºî¤·¤Þ¤¹¡£
Ãø¼Ô¤Ï¥µ¥Ö¥Í¥Ã¥È¥Þ¥¹¥¯ 255.0.0.0 ¤¢¤ë¤¤¤Ï CIDRµ­Ë¡¤Î'/8'¤Ç ¥Í¥Ã¥È¥ï¡¼¥¯ 
10.0.0.0 ¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£
¤Ä¤®¤Î¥ë¡¼¥ë(<EM>ÌõÃí¡§</EM>&quot;${FW} -M..&quot;¤Î¹Ô)
¤Ï&quot;TCP¥¿¥¤¥à¥¢¥¦¥ÈÃÍ&quot;(TCP-timeout value)¤òÁý¤ä¤¹¤³¤È¤Ç
FTP-DATAÀܳ(FTP-DATA connections)¤òɽ¼¨¤·¤Æ¤¤¤Þ¤¹¡£
¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¤«¤é¤³¤ì¤é¤Î¥×¥í¥È¥³¥ë¤ò»È¤¤¤¿¤¤¤Ê¤é¡¢¥â¥¸¥å¡¼¥ë¤À¤±¤¬É¬Í×
¤Ç¤¹¡£Î㤨¤Ð¡¢¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¤òÄ̤·¤¿ftp¤ò¤·¤¿¤¤¤Ê¤é<CODE>ip_masq_ftp</CODE>
¥â¥¸¥å¡¼¥ë¤òÆɤ߹þ¤àɬÍפ¬¤¢¤ê¤Þ¤¹¡£
<P>
<P>
<P>
<HR>
<A HREF="Dial-On-Demand-10.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Dial-On-Demand-8.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Dial-On-Demand.html#toc9">Ìܼ¡¤Ø</A>
</BODY>
</HTML>