B / Y / U / S
HOME À¥ È£½ºÆà µµ¸ÞÀÎ ¸Å´º¾ó °í°´Áö¿ø ¼³Á¤Á¤º¸ °èÁ¤½Åû 2024-12-23 Monday 
À¥ È£½ºÆÃ
# °øÁö »çÇ×
# ÀÚÁÖ ¹¯´Â Áú¹®
# Áú¹®°ú ´äº¯
# °¡ÀÔ ¹®ÀÇ
Ä¿¹Â´ÏƼ
# ÀÚÀ¯°Ô½ÃÆÇ
# ¸®´ª½ºÆÁ
# ¾ÆÀÌÅ¥ Å×½ºÆ®
# ³»È¨ ¼Ò°³
# °Ö·¯¸®
# ÀÚ·á½Ç

  ¸®´ª½ºÆÁ  Go Unix Power Tools Online Book Go Bash Guide
Read No. 42 article 2001-08-23 04:46:53
NickName   Ç®ºñ´©
Subject   RED-HAT ¿¡¼­ ADSL »ç¿ëÇϱâ


¾È³çÇϼ¼¿ä.   ¹ÌÁö °í°´Áö¿ø¼¾ÅÍ ÀÔ´Ï´Ù.

Çѱ¹Åë½Å ADSL »ç¿ë½Ã ¾Æ·¡ ³»¿ëÀ» Âü°íÇϽʽÿÀ.

1.5 updates Çѱ¹Åë½Å ADSL ¼³Á¤ ÆÐÅ°Áö¿Í ¼³¸íÀÔ´Ï´Ù.

/usr/src/RPM/SRPMS/ppp-2.4.0-2mz.src.rpm
/usr/src/RPM/RPMS/i386/ppp-2.4.0-2mz.i386.rpm
/usr/src/RPM/RPMS/rp-pppoe-2.3-1mz.src.rpm
/usr/src/RPM/SRPMS/i386/rp-pppoe-2.3-1mz.i386.rpm

ncftp /pub/mizios/1.5/updates  > pwd
ftp://ftp.mizi.com/pub/mizios/1.5/updates/
ncftp /pub/mizios/1.5updates > ls
RPMS/ SRPMS/ update.info

ppp´Â rp-pppop¿¡¼­ ÇÊ¿äÇÑ ÆÐÅ°Áö À̸ç, ¹öÀüÀ» ¿Ã·È½À´Ï´Ù.
¹ØÀÇ ³»¿ëÀº Á¤°è¿Á´ÔÀÇ  »ç¿ë±â À̹ǷΠ°íÄ¡Áö ¾Ê°Ú½À´Ï´Ù.
Á¤°è¿Á´Ô ¸»¾¸À¸·Î´Â ¹ÌÁö¸®´ª½º 1.5¿¡¼­ Àß µÈ´Ù°í °è½ÃÆÇ¿¡ Àû¾î
Á̴ּµ¥ ¹«¸®¾øÀÌ ¼³Ä¡ ÇÒ¼ö ÀÖÀ¸¸®¶ó º¾´Ï´Ù.  

--kldp.orgÀÇ °­ÁÂ, »ç¿ë±â, ÆÁ °Ô½ÃÆÇ¿¡ ¿Ã¶ó ¿Â ±ÛÀÔ´Ï´Ù--

ÀÌ ¹®¼­ÀÇ ³»¿ëÀº ¹ÌÁö 1.5 ¹öÀü¿¡¼­µµ µ¿ÀÛÇÕ´Ï´Ù.
±Û¾´ÀÌ: Á¤°è¿Á [ȨÆäÀÌÁö]
                                         µî·Ï: 2000-10-30 23:57:20
                                                      
¸ÕÀú º¸Àß°Í ¾ø´Â ±ÛÀ» ¿Ã·ÁÁֽŠ±Ç¼ø¼±´Ô²² °¨»çµå¸®¸ç,
ÀÌ ±ÛÀ» º¸´Â ¸ðµç »ç¶÷µéÀÌ ÁÁÀº °á°ú¸¦ ¾ò±â¸¦ ¹Ù¶ø´Ï´Ù.

Á¦°¡ ¸¸µç ¹®¼­°¡ óÀ½À¸·Î Å×½ºÆ®µÈ °á°ú°¡ ³ª¿Ô½À´Ï´Ù.

¹ÌÁö¸®´ª½º 1.5 ¹öÀü (Ä¿³Î¹öÀü 2.2.17-3mz ) ¿¡¼­ Å×½ºÆ®µÇ¾ú½À´Ï´Ù.
ÇÑÅë ADSL-Lite ¸¦ »ç¿ëÇÑ °á°ú, ¾ÆÁÖ Àß µ¿ÀÛÇÕ´Ï´Ù.

  Realtek PCI ·£Ä«µå¿¡ ¹®¼­¿¡ ³ª¿Â´ë·Î rp-pppoe-2.3-1.i386.rpm
  ÆÐÅ°Áö¸¦ »ç¿ëÇÏ¿´½À´Ï´Ù.

  ¹®¼­¿¡ ³ª¿À´Â PPPOE_EXTRA="-S pppoe" ÀÇ ¿É¼Ç¶óÀÎÀÇ Ãß°¡¾øÀ̵µ
  µ¿ÀÛÇÑ´Ù°í º¸°íµÇ¾ú½À´Ï´Ù.

  ¹ÌÁö¸®´ª½º 1.5 ¸¦ ¾²½Ã´Â ºÐµé¿¡°Ô´Â Èñ¼Ò½ÄÀÔ´Ï´Ù.
  ÀÌ Å×½ºÆ®´Â "À̼®"´ÔÀÌ ÇØÁּ̽À´Ï´Ù. stonlee at kornet.net

  ¸ðµçºÐµé²² °¨»çÇÕ´Ï´Ù. 

  »õ·Î¿î Å×½ºÆ®¸¦ ±â´ëÇϸ鼭....

edHat 7.0 (¿µ¹®ÆÇ)¿¡¼­ Çѱ¹Åë½Å ADSL »ç¿ëÇϱâ

  1. rp-pppoe RPM ÆÐÅ°Áö¸¦ ¹Þ´Â´Ù.
  ( RedHat 7.0 1¹ø CD¿¡ º¸¸é, rp-pppoeÀÇ 2.2-4 ¹öÀüÀÌ ÀÖÁö¸¸, ¾Ö¼®ÇÏ
  °Ôµµ ¿©±â¿¡´Â firewall ½ºÅ©¸³Æ® ¿¹Á¦°¡ ºüÁ®ÀÖ´Ù.
  ¸Å½ºÄ¿·¹À̵ù ±â´ÉÀ» ¾²Áö ¾Ê°í, firewall¿¡ ÀüÇô °ü½ÉÀÌ ¾øÀ¸¸é, ±×
  ³É ÀÌ°ÍÀ» ÀÌ¿ëÇصµ µÈ´Ù. ±×·¯³ª, ÇÊÀÚ´Â °¡´ÉÇÑÇÑ
  firewall ±â´ÉÀ» ÀÌ¿ëÇϱ⸦ ±ÇÀåÇÑ´Ù. ¹®¼­ Á¦ÀÏ µÞºÎºÐ¿¡ 2.3-1ÀÇ 
  ½ºÅ©¸³Æ® ¿¹Á¦¸¦ Ãß°¡ÇØ ³õ¾Ò´Ù.)

      http://www.roaringpenguin.com/pppoe/
  ¿¡ °¡¸é ÃÖ½ÅÆÇÀ» ±¸ÇÒ ¼ö ÀÖ´Ù. ÀÌ ±ÛÀ» ¾²´Â ÇöÀç ¹öÀüÀº 2.3-1 ÀÌ
  ´Ù.

  2. ¹Þ¾Æ¿Â ÆÐÅ°Áö¸¦ ¼³Ä¡ÇÑ´Ù. ( ÀÌ °úÁ¤ÀÌÈķδ ½Ã½ºÅÛ root °¡ µÇ¾î¾ß 
  ÇÑ´Ù.)
     
     # rpm -Uvh rp-pppoe-2.3-1.i386.rpm

  3. ADSL ȯ°æÀ»  ¼³Á¤ÇÑ´Ù. 

     # adsl-setup

     ´ÙÀ½°ú °°ÀÌ ¿µ¹®À¸·Î ¿©·¯°¡Áö¸¦ ¹°¾î¿À´Âµ¥, Çѱ۷ΠµÈ ¼³¸íÀ» º¸°í 
  Àß ´ë´äÇÏ¸é µÈ´Ù.

  Welcome to the Roaring Penguin ADSL client setup.  First, I will run
  some checks on your system to make sure the PPPoE client is installed
  properly...

  "°íÇÔÄ¡´Â Æë±Ï" ADSL Ŭ¶óÀ̾ðÆ® ¼³Á¤¿¡ ¿À½Å °ÍÀ» ȯ¿µÇÕ´Ï´Ù. ¸ÕÀú ¿©
  ·¯ºÐÀÇ PPPoE Ŭ¶óÀ̾ðÆ®°¡ Àß ¼³Ä¡µÇ¾ú´ÂÁö¸¦ 
  È®ÀÎÇØ º¸°Ú½À´Ï´Ù.

  Looks good!  Now, please enter some information:

  À¸Èì, ÁÁ¾Æ¿ä! ÀÌÁ¦ ¸î°¡Áö Á¤º¸¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.
   --> ÀÌ·± ¸»ÀÌ ¾È³ª¿À¸é, rp-pppoe ÆÐÅ°Áö¸¦ ´Ù½Ã ¼³Ä¡ÇØ¾ß ÇÑ´Ù.

  USER NAME

  >>> Enter your PPPoE user name (default ): hook7346

  ¿©·¯ºÐÀÇ ADSL »ç¿ëÀÚ À̸§À» ÀÔ·ÂÇØ ÁÖ¼¼¿ä.

   --> Çѱ¹Åë½Å ADSL »ç¿ëÀÚ ID¸¦ ¾²¸é µÈ´Ù. ÇÊÀÚÀÇ °æ¿ì¿¡´Â hook7346 ÀÌ
  ´Ù.

  INTERFACE

  >>> Enter the Ethernet interface connected to the ADSL modem
  For Solaris, this is likely to be something like /dev/hme0.
  For Linux, it will be ethn, where 'n' is a number.
  (default eth1): eth0

  ¼Ö¶ó¸®½º¿ë ADSL ¸ðµ©¿¡ ºÙ¾îÀÖ´Â ¿¡´õ³ÝÄ«µåÀÇ ¸íĪÀ» Àû¾îÁÖ¼¼¿ä. ¾Æ¸¶
  µµ /dev/hme0 ½Ä°°ÀÌ µÉ °ÍÀÔ´Ï´Ù.
  ¸®´ª½º »ç¿ëÀÚÀÇ °æ¿ì¿¡´Â ethx (x ´Â ¹øÈ£)½ÄÀÌ µÉ °ÍÀÔ´Ï´Ù. (ÇöÀç°ªÀº 
  eth1 ÀÔ´Ï´Ù.)

   --> ÀÌ ±ÛÀ» ÇöÀç Àаí ÀÖ´Â ¿©·¯ºÐÀº ¸®´ª½º »ç¿ëÀÚÀÌ´Ù. ·£Ä«µå¸¦ µÎ 
  °³¸¦ ¾²´Â °æ¿ì°¡ µå¹° °ÍÀÌ´Ù. ¸Å½ºÄ¿·¹À̵ùÀ» 
  ÇÑ´Ù¸é, ¾î´ÀÂÊ ·£Ä«µåÀÎÁö È®ÀÎÇØ¾ß ÇÏÁö¸¸, ´ëºÎºÐÀÇ »ç¿ëÀÚµéÀº ±×³É 
  eth0 ¶ó°í ´ë´äÇÏ¸é µÈ´Ù.

  Do you want the link to come up on demand, or stay up continuously?
  If you want it to come up on demand, enter the idle time in seconds
  after which the link should be dropped.  If you want the link to
  stay up permanently, enter 'no' (two letters, lower-case.)
  NOTE: Demand-activated links do not interact well with dynamic IP
  addresses.  You may have some problems with demand-activated links.
  >>> Enter the demand value (default no): no

  ¿©·¯ºÐÀº ADSL Á¢¼ÓÀÌ °è¼Ó µÇ¾îÁö±â¸¦ ¿øÇϴ°¡, ¾Æ´Ï¸é ÇÊ¿äÇÒ ¶§¸¶´Ù 
  ´Ù½Ã Á¢¼ÓÇϱ⸦ ¿øÇϴ°¡?
  Çʿ䶧¸¶´Ù ´Ù½Ã Á¢¼ÓÇϱ⸦ ¿øÇÑ´Ù¸é, Á¢¼Óȸ¼±À» »ç¿ëÇÏÁö ¾ÊÀ¸¸é ÀÚµ¿
  À¸·Î Á¢¼ÓÀÌ Â÷´ÜµÇ´Â ½Ã°£À» ¾î´ÀÁ¤µµ·Î
  ÇÏ°í ½ÍÀºÁö¸¦ Àû¾î¶ó. ±×·¯³ª, ¿©·¯ºÐÀÌ Á¢¼ÓÀÌ °è¼ÓµÇ±â¸¦ ¿øÇÑ´Ù
  ¸é "no"¶ó°í Àû¾î¶ó. ¼Ò¹®ÀÚ·Î µü µÎÀÚ¸¸ Àû¾î¾ß ÇÑ´Ù.
  ÁÖÀÇ: ÀÌ ±â´ÉÀº µ¿ÀûÀ¸·Î °è¼Ó º¯ÇÏ´Â dynamic IP ÁÖ¼Ò¸¦ »ç¿ëÇÏ´Â ¼­ºñ
  ½º¿Í´Â Àß µ¿ÀÛÇÏÁö ¾Ê´Â´Ù. ¹®Á¦°¡ »ý±æ ¼öµµ ÀÖ´Ù.

   --> ÀÌ ±ÛÀ» Àд ¿©·¯ºÐÀº ´Ù¸¥ ¸»ÀÌ ÇÊ¿ä¾øÀÌ no ¶ó°í¸¸ Àû¾îÁֱ⠹ٶõ
  ´Ù. ¿µ¹® ¼Ò¹®ÀÚ·Î µü µÎÀÚ no ¸¸ Àû¾î¶ó.

  DNS

  Please enter the IP address of your ISP's primary DNS server.
  If your ISP claims that 'the server will provide DNS addresses',
  enter 'server' (all lower-case) here.
  If you just press enter, I will assume you know what you are
  doing and not modify your DNS setup.
  >>> Enter the DNS information here: 168.126.63.1

  Please enter the IP address of your ISP's secondary DNS server.
  If you just press enter, I will assume there is only one DNS server.
  >>> Enter the secondary DNS server address here: 168.126.63.2

  ¿©·¯ºÐÀÇ ISP ¾÷ü(Çѱ¹Åë½Å)ÀÇ ÁÖ DNS ¼­¹öÀÇ IP ÁÖ¼Ò·ê ÀûÀ¸¼¼¿ä. ¸¸¾à 
  ¼­¹ö¿¡¼­ DNS ÁÖ¼Ò¸¦ ÀÚµ¿À¸·Î ÇÒ´çÇÑ´Ù¸é,
  "server" ¶ó°í ¼Ò¹®ÀÚ·Î ÀûÀ¸¼¼¿ä. ±×³É ¿£ÅÍÅ°¸¦ Ä£´Ù¸é, ¿©·¯ºÐÀÌ DNS 
  ¼³Á¤À» ÇÏ´Â °ÍÀ¸·Î ¾Ë°í DNS¿¡ ´ëÇÑ ¼³Á¤À» ÇÏÁö ¾Ê½À´Ï´Ù.

   --> ´Ù¸¥ ¸»ÀÌ ÇÊ¿ä¾ø´Ù. Çѱ¹Åë½ÅÀÇ ÁÖ DNS ¼­¹öÀÇ IP ÁÖ¼ÒÀÎ 
  168.126.63.1 À» Àû¾îÁØ´Ù.

  ¿©·¯ºÐÀÇ ISP ¾÷ü(Çѱ¹Åë½Å)ÀÇ º¸Á¶ DNS ¼­¹öÀÇ IP ÁÖ¼Ò·ê ÀûÀ¸¼¼¿ä.
  ±×³É ¿£ÅÍÅ°¸¦ Ä£´Ù¸é, DNS ¼­¹ö°¡ Çϳª»ÓÀÎ °ÍÀ¸·Î °¡Á¤ÇÕ´Ï´Ù.

   --> ´Ù¸¥ ¸»ÀÌ ÇÊ¿ä¾ø´Ù. Çѱ¹Åë½ÅÀÇ º¸Á¶ DNS ¼­¹öÀÇ IP ÁÖ¼ÒÀÎ 
  168.126.63.2 À» Àû¾îÁØ´Ù.

  PASSWORD

  >>> Please enter your PPPoE password:    
  >>> Please re-enter your PPPoE password: 

  PPPoE Á¢¼Ó½Ã »ç¿ëµÇ´Â Æнº¿öµå¸¦ ÀÔ·ÂÇϼ¼¿ä.
  ´Ù½Ã Çѹø Æнº¿öµå¸¦ ÀÔ·ÂÇϼ¼¿ä.

   --> ¿©·¯ºÐÀÇ ADSL Á¢¼Ó½Ã »ç¿ëÇÏ´Â Æнº¿öµå¸¦ ÀÔ·ÂÇÕ´Ï´Ù. È®ÀÎÀ» À§ÇØ
  ¼­ ¶È°°ÀÌ µÎ¹ø ÀÔ·ÂÇÕ´Ï´Ù.

  FIREWALLING

  Please choose the firewall rules to use.  Note that these rules are
  very basic.  You are strongly encouraged to use a more sophisticated
  firewall setup; however, these will provide basic security.  If you
  are running any servers on your machine, you must choose 'NONE' and
  set up firewalling yourself.  Otherwise, the firewall rules will deny
  access to all standard servers like Web, e-mail, ftp, etc.  If you
  are using SSH, the rules will block outgoing SSH connections which
  allocate a privileged source port.

  The firewall choices are:
  0 - NONE: This script will not set any firewall rules.  You are 
  responsible
            for ensuring the security of your machine.  You are 
  STRONGLY
            recommended to use some kind of firewall rules.
  1 - STANDALONE: Appropriate for a basic stand-alone web-surfing 
  workstation
  2 - MASQUERADE: Appropriate for a machine acting as an Internet 
  gateway
                  for a LAN
  >>> Choose a type of firewall (0-2): 1

  »ç¿ëÇÒ ÆÄÀ̾î¿ù Á¤Ã¥À» ¼±ÅÃÇϼ¼¿ä. Á¤Ã¥ÀÌ ¾ÆÁÖ ±âº»ÀûÀ̶ó´Â °ÍÀ» ÁÖÀÇ
  ÇϽʽÿä. ¿©·¯ºÐ¿¡°Ô º¸´Ù Á¤±³ÇÑ ÆÄÀ̾î¿ù ¼³Á¤À»
  ÇÒ °ÍÀ» ±Ç°íÇÑ´Ù.±×·¯³ª, ¿©±â¼­´Â ¾ÆÁÖ ±âº»ÀûÀÎ º¸¾È¸¸À» Á¦°øÇÑ´Ù. ¿©
  ·¯ºÐÀÌ ¼­¹ö¸¦ ¿î¿µÇÑ´Ù¸é, ¿©±â¼­ NONE À» ¼±ÅÃÇÑ ÈÄ¿¡,
  ¿©·¯ºÐ ÀڽŸ¸ÀÇ ÆÄÀ̾î¿ùÀ» ¼³Á¤Çϱ⠹ٶõ´Ù. 

  ±×·¸Áö ¾Ê°í, STANDALONE   ³ª MASQUERADE ¸¦ ¼±ÅÃÇÑ´Ù¸é ¿©±â¼­ Á¦°øµÇ´Â
  ÆÄÀ̾î¿ù Á¤Ã¥Àº ÀϹÝÀûÀÎ ¼­¹ö°¡ Á¦°øÇÏ´Â WWW, E-Mail, FTP µîÀÇ ¸ðµç 
  Á¢¼ÓÀ» Â÷´ÜÇÒ °ÍÀÌ´Ù. ¿©·¯ºÐÀÌ SSHÀ» »ç¿ëÇÑ´Ù¸é,
  ÆÄÀ̾î¿ùÀº ¿ÜºÎ·Î ÇâÇϸç, Ư±ÇÀÖ´Â Ãâ¹ßÁö Æ÷Æ®¸¦ ÇÒ´çÇÑ ¸ðµç SSH Á¢¼Ó
  À» Â÷´ÜÇÒ °ÍÀÌ´Ù.

  ÆÄÀ̾î¿ù ¼±ÅûçÇ×Àº :
  0 - NONE : ÆÄÀ̾î¿ùÀ» »ç¿ëÇÏÁö ¾Ê´Â´Ù. ¿©·¯ºÐÀº ¿©·¯ºÐ ÄÄÇ»ÅÍ º¸¾È¿¡ 
  ´ëÇÑ Ã¥ÀÓÀ» Á®¾ßÇÑ´Ù.
             ¿ì¸®´Â ÆÄÀ̾î¿ùÁ¤Ã¥À» ¼³Á¤Çϱ⸦ ±Ç°íÇÑ´Ù.
  1 - STANDALONE : À¥¼­ÇÎÀ» À§ÇÑ ´Üµ¶ ¼­¹ö¿¡ ¾Ë¸ÂÀº ¹æ½Ä
  2 - MASQUERADE : ÀÎÅÍ³Ý °ÔÀÌÆ®¿þÀÌ·Î »ç¿ëµÇ´Â ¸Å½ºÄ¿·¹À̵ù ¼­¹ö¿¡ 
¾Ë  ¸ÂÀº ¹æ½Ä

   --> ´ëºÎºÐÀÇ ¿©·¯ºÐÀº ±×³É NONE¸¦ ¼±ÅÃÇصµ µÇÁö¸¸, º°·Î ±ÇÀåÇÏÁö ¾Ê
  ´Â´Ù. ±Ù·¡ º¸¾È¿¡ ´ëÇÑ »çÇ×Àº ¸Å¿ì Áß¿äÇÏ´Ù.
       ÇÊÀÚ´Â ¿©·¯ºÐÀÌ 1¹ø STANDALONE À» ¼±ÅÃÇϱ⸦ ¹Ù¶õ´Ù. ÇÏÁö¸¸, 1¹ø
  À» ¼±ÅÃÇß´Ù°¡ ADSL Á¢¼ÓÀÌ ¾ÈµÇ¸é ÇÊÀÚ¿¡°Ô ¿åÀ» ÇÒ È®·üÀÌ
       ³ô±â ¶§¹®¿¡ ¸ÕÀú 0¹ø NONE À» ¼±ÅÃÇÏ°í ADSLÀÌ Á¤»óÀûÀ¸·Î Á¢¼ÓµÇ
  ¸é, ±× ÀÌÈÄ¿¡ 1¹ø STANDALONEÀ¸·Î °íÃļ­ ÆÄÀ̾î¿ùÀ»
       »ç¿ëÇϱ⸦ ¹Ù¶õ´Ù. ¿©±â¼­ ¸Å½ºÄ¿·¹À̵ùÀ» ÇÏ´Â »ç¶÷µéÀº 2¹ø 
  MASQUERADE¸¦ ¼±ÅÃÇÏ¸é µÈ´Ù.

  ** Summary of what you entered **

  Ethernet Interface: eth0
  User name:          hook7346
  Activate-on-demand: No
  Primary DNS:        168.126.63.1
  Secondary DNS:      168.126.63.2
  Firewalling:        STANDALONE

  ** ¿©·¯ºÐÀÌ ÀÔ·ÂÇÑ Á¤º¸´Â ´ÙÀ½°ú °°´Ù **

   --> À§ °úÁ¤À» ´Ù Á¤»óÀûÀ¸·Î ÀÔ·ÂÇß´ÂÁö¸¦ È®ÀÎÇØÁØ´Ù.

  >>> Accept these settings and adjust configuration files (y/n)? y
  Adjusting /etc/ppp/pppoe.conf
  Adjusting /etc/resolv.conf
  Adjusting /etc/ppp/pap-secrets and /etc/ppp/chap-secrets
    (But first backing it up to /etc/ppp/pap-secrets-bak)
    (But first backing it up to /etc/ppp/chap-secrets-bak)

  À§ÀÇ ÀÔ·ÂÇÑ Á¤º¸¸¦ ¹Þ¾ÆµéÀÌ°í, ¼³Á¤ÆÄÀϵéÀ» ¼öÁ¤ÇÏ°Ú½À´Ï±î (y/n)? y

   --> ¿©·¯ºÐÀÌ ÀÔ·ÂÇÑ Á¤º¸°¡ ¸Â´ÂÁö È®ÀÎÇÏ°í ¼³Á¤ÆÄÀÏÀ» ¼öÁ¤Çϵµ·Ï, y 
  ÀÚ¸¦ ÀÔ·ÂÇÏ¸é µÈ´Ù.
       Ȥ½Ã Áß°£¿¡ À߸ø ÀÔ·ÂÇÑ Á¤º¸°¡ ÀÖ´Ù¸é, n À» ÀÔ·ÂÇÏ°í ´Ù½Ã adsl-
  setup ¸í·ÉÀ¸·Î óÀ½ºÎÅÍ ½ÃÀÛÇÏ¸é µÈ´Ù.

  ¼³Á¤µÈ ³»¿ëÀº /etc/ppp/pppoe.conf ÆÄÀÏ¿¡ ´ëºÎºÐÀÌ ¾²¿©Áø´Ù. Á¦ÀÏ Áß¿ä
  ÇÑ ¼³Á¤ÆÄÀÏÀÌ´Ù.
  DNS ¼³Á¤³»¿ëÀº /etc/resolv.conf ÆÄÀÏ¿¡ ¾²¿©Áø´Ù. ±Ã±ÝÇϸé ÆÄÀϳ»¿ëÀ» 
  È®ÀÎÇØ º¸¾Æ¶ó.
  ADSL »ç¿ëÀÚ ID¿Í Æнº¿öµå´Â °¢°¢ /etc/ppp/pap-secrets 
  ¿Í /etc/ppp/chap-secrets ÆÄÀÏ¿¡ ¾²¿©Áø´Ù.
  ¹°·Ð, ÀÌ ÆÄÀϵéÀÇ ÀÌÀü³»¿ëµéÀº /etc/ppp/pap-secrets-bak 
  ¿Í /etc/ppp/chap-secrets-bak À̶ó´Â ÆÄÀÏ·Î ÀúÀåµÈ´Ù.
  ½ÇÁ¦·Î Çѱ¹Åë½Å ADSL¿¡¼­´Â /etc/ppp/pap-secrets ÆÄÀϸ¸ ÇÊ¿äÇÏ´Ù.

  Congratulations, it should be all set up!

  ÃàÇÏÇÕ´Ï´Ù. ¸ðµç °ÍÀÌ Àß ¼³Á¤µÇ¾ú½À´Ï´Ù.

  Type 'adsl-start' to bring up your ADSL link and 'adsl-stop' to bring
  it down.  Type 'adsl-status' to see the link status.

  ¿©·¯ºÐÀÇ ADSL Á¢¼ÓÀ» ½ÃÀÛÇϱâ À§Çؼ­´Â "adsl-start"¶ó°í ¸í·ÉÇÏ°í, ²÷
  ±â À§Çؼ­´Â "adsl-stop"¶ó°í ¸í·ÉÇÕ´Ï´Ù.
  ADSL Á¢¼Ó»óŸ¦ È®ÀÎÇÏ·Á¸é, "adsl-status" ¶ó°í ÀÔ·ÂÇÏ¸é µË´Ï´Ù.

   --> Àý´ë·Î ¾ÆÁ÷ ½ÃÀÛÇÏÁö ¸¶¶ó!!!  ¾ÆÁ÷ Çѱ¹Åë½Å ADSLÀ» »ç¿ëÇϱâ À§ÇØ
  ¼­´Â ¸î°¡Áö ¼³Á¤ÀÌ ³²¾ÆÀÖ´Ù.
       ¿©±â±îÁö¸¸ ÇÏ°í, À§¿Í °°ÀÌ "adsl-start" ¶ó°í Çϸé, ¹Ýµå½Ã Á¢¼Ó
  ¿¡ ½ÇÆÐÇÑ´Ù.
       ¾Æ¸¶ "..............TIMED OUT" ÀÌ·± ¸Þ½ÃÁö¸¦ ¸¸³ª°Ô µÉ °ÍÀÌ´Ù. 
  ´ÙÀ½À» ÁÖÀDZí°Ô º¸µµ·Ï ÇÏÀÚ.

  4. /etc/ppp/pppoe.conf ÆÄÀÏÀÇ ¼³Á¤À» ¼öÁ¤ÇÑ´Ù.

  Çѱ¹Åë½Å ADSLÀ» rp-pppoe ÆÐÅ°Áö·Î Á¢¼ÓÇϱâ À§ÇÏ¿©¼­´Â ¿É¼ÇÀÌ ÇÑ°¡Áö 
  Ãß°¡µÇ¾î¾ß ÇÑ´Ù.
  ÀÌ ¿É¼ÇÀÌ ¾øÀ¸¸é, Á×¾î¶ó Çصµ Á¢¼ÓÀÌ ¾ÈµÈ´Ù.

  /etc/ppp/pppoe.conf ÆÄÀÏÀÇ ³¡¿¡ º¸¸é ´ÙÀ½°ú °°Àº ºÎºÐÀÌ º¸ÀδÙ.

  # Any extra arguments to pass to pppoe.  Normally, use a blank string
  # like this:
  PPPOE_EXTRA=""

  ¿©±â¿¡¼­, 

    PPPOE_EXTRA="-S pppoe"

      ¶ó°í ½áÁØ´Ù. ´ë¼Ò¹®ÀÚ¿¡ ÁÖÀÇÇ϶ó.

  5. ÆÄÀ̾î¿ùÀ» ¼³Á¤ÇÑ´Ù.

  ¾ÕÀÇ adsl-setup¿¡¼­ FirewallÀ» NONE·Î ¼³Á¤ÇÑ »ç¶÷µéÀº ±×³É ³Ñ¾î°¡µµ 
  µÈ´Ù.
  ÇÏÁö¸¸, 1¹ø STANDALONEÀ̳ª 2¹ø MASQUERADE¸¦ ¼±ÅÃÇß´Ù¸é ´ÙÀ½ÀÇ 
°úÁ¤À» 
  ÅëÇØ ÆÄÀ̾î¿ùÀ» ¼³Á¤ÇØ¾ß ÇÑ´Ù.

  /etc/ppp µð·ºÅ丮 ¹Ø¿¡ ÀÖ´Â firewall-masq ¶Ç´Â firewall-standalone ÆÄ
  ÀÏÁß¿¡¼­ Àڱ⠼³Á¤°ú ¸Â´Â ÆÄÀÏÀ» °ñ¶ó¼­,
  ( MASQUERADE ¸¦ ¼±ÅÃÇÑ »ç¶÷Àº firewall-masq , STANDALONE ¸¦ 
¼±ÅÃÇÑ »ç
  ¶÷Àº firewall-standalone ÀÌ´Ù.)
  ÆÄÀÏÀÌ ¾ø´Â »ç¶÷µéÀº ¹®¼­ µÚ¿¡ ÀÖ´Â ³»¿ëÀ» À߶󳻾, ¸¸µé¸é µÈ´Ù. 
  ¾ÆÁÖ ½±´Ù.

  ÀÌ ÆÄÀÏÀ» /etc/rc.d/init.d/firewall À̶ó´Â ÆÄÀÏ·Î ¸¸µé¾îÁØ´Ù. ±×¸®
  °í, ÀÌ ÆÄÀÏ¿¡ ½ÇÇà±ÇÇÑÀ» ÁØ´Ù.
  ´ÙÀ½°ú °°ÀÌ ÇÏ¸é µÈ´Ù. STANDALONE À¸·Î ¼³¸íÇÑ´Ù.

   # cp /etc/ppp/firewall-standalone /etc/rc.d/init.d/firewall
   # chmod 755 /etc/rc.d/init.d/firewall

  ÁÖÀÇ!! : ¸Å½ºÄ¿·¹À̵ùÀ» ÇÏ´Â °æ¿ì¿¡´Â ¿©±â firewall ÀÇ Á¤Ã¥À» ¼öÁ¤ÇØ
  ¾ß¸¸ ÇÑ´Ù. ±×·¸Áö ¾ÊÀ¸¸é ¸Å½ºÄ¿·¹À̵ù ¼­¹ö³»¿¡ ÀÖ´Â
  Ŭ¶óÀ̾ðÆ®µéÀÌ ÀüÇô ¿ÜºÎ¿Í Á¢¼ÓÇÒ ¼ö ¾ø´Ù. ÀÌ ¹®¼­ÀÇ ¸¶Áö¸·¿¡ ¼³¸íÇÑ
  ´Ù.

  6. ÀÌÁ¦ µåµð¾î Á¢¼ÓÀ» ÇØ º¼ ½Ã°£ÀÌ´Ù.

   # adsl-start

  ¶ó°í Çغ»´Ù.

   ..Connected!

  ¶ó´Â ¸Þ½ÃÁö°¡ Ãâ·ÂµÇ¸é Á¤»óÀûÀ¸·Î Çѱ¹Åë½Å ADSL¿¡ Á¢¼ÓµÈ °ÍÀÌ´Ù.

   # adsl-status 

    ¸í·ÉÀ¸·Î ppp0 ÀÇ ÀÎÅÍÆäÀ̽º°¡ »ý°å´ÂÁö¸¦ È®ÀÎÇÏ°í,

  ¿ÜºÎ·Î PING À» Çؼ­, Á¢¼ÓÀ» È®ÀÎÇÏ´Ù. 

   # ping 168.126.63.1

  Á¤»óÀûÀ¸·Î ping ÀÀ´äÀÌ ¿Â´Ù¸é, ¿©·¯ºÐÀº ¼º°øÇÑ °ÍÀÌ´Ù. ÃàÇÏÇÑ´Ù.

  7. Èıâ
  Áö±Ý±îÁö Àß µû¶ó¼­ Çߴµ¥, Á¢¼ÓÀÌ ¾ÈµÈ´Ù¸é ÇÊÀÚ¿åºÎÅÍ ÇÏÁö¸»°í, ¼³Á¤
  À» ´Ù½ÃÇѹø ¾ÆÁÖ ÃµÃµÈ÷ È®ÀÎÇØ º¸±â ¹Ù¶õ´Ù.
  ƯÈ÷, ¾ÈµÇ´Â °æ¿ì¿¡´Â ¸ÕÀú ÆÄÀ̾î¿ù ¼³Á¤À» ÇÏÁö ¸»°í Á¢¼ÓÇØ º¸±â ¹Ù¶õ
  ´Ù.
  ÀÌ ¹®¼­´Â ÇÊÀÚ°¡ °³ÀÎÀûÀ¸·Î ¾²±â À§ÇØ ¸¸µç ¼³Á¤³»¿ëÀ̱⠶§¹®¿¡, ´Ù¾ç
  ÇÑ È¯°æ¿¡¼­ Å×½ºÆ®µÇ¾î º¸Áö ¸øÇß´Ù.
  ¿©·¯ºÐÀÇ ´Ù¾çÇÑ Å×½ºÆ®¸¦ ±â´ëÇÑ´Ù.
  ÇÊÀÚ´Â Çѱ¹Åë½Å ¸Þ°¡Æнº ÇÁ¸®¹Ì¾öÀ» ¾²Áö¸¸, ¸Þ°¡Æнº ¶óÀÌÆ®¿¡¼­µµ ¶È
  °°ÀÌ µ¿ÀÛÇÒ °ÍÀ¸·Î »ý°¢ÇÑ´Ù.
  Çѱ¹Åë½Å B&A´Â ¸Þ°¡Æнº¿Í´Â ÀüÇô ´Ù¸£´Ù´Â »ç½ÇÀ» ¿©·¯ºÐµµ ¾Ë°í ÀÖÀ» 
  °ÍÀÌ´Ù.

  ÀÌ ¹®¼­´Â GNUÀÇ  GPL¿¡ ÀÇ°ÅÇÏ¿©, ÀÚÀ¯·Ó°Ô ¼öÁ¤µÇ°í ¹èÆ÷µÉ ¼ö ÀÖ´Ù.
  ±×¸®°í, ÀÌ ¹®¼­¿¡ ´ëÇÑ Áú¹®À̳ª, ¼öÁ¤±Ç°í»çÇ×, ¾î¶°ÇÑ Ãæ°íµµ ¹Þ°í ÀÖ
  À¸´Ï hook7346 at kornet.net ·Î ¿¬¶ôÇÏ¸é µÈ´Ù.
  ´Ù¸¸, ¿åÀ» ¾´ ¸ÞÀÏÀº »çÀýÇÑ´Ù.

  ÀÌ ¹®¼­¸¦ ¾µ ¼ö ÀÖ°Ô µµ¿òÀ» ÁØ "Àû¼ö³× µ¿³×ÀÇ Áú¹®°ú ´äº¯ °Ô½Ã
  ÆÇ"°ú "õ¸®¾È ¸®´ª½º µ¿È£È¸ÀÇ °Ô½ÃÆÇ" ¿¡ ±ÛÀ» ½á ÁØ
  ¸ðµç ¸®´ª¼­µé¿¡°Ô °¨»çÀÇ ¸»À» ÀüÇÑ´Ù. ±× Áú¹®°ú ´äº¯ÀÇ ±ÛÀÌ ¾ø¾ú´Ù
  ¸é, ÀÌ ±ÛÀº ¾ø¾úÀ» °ÍÀÌ´Ù.

  ¸¶ÀÌÅ©·Î ¼ÒÇÁÆ®ÀÇ ¸ðµç ¼ÒÇÁÆ®¿þ¾î°¡ °ø°³µÇ´Â ±× ³¯±îÁö... ±×·± ³¯ÀÌ 
  ¿Ã ¶§±îÁö...
  Çѱ¹ ¸®´ª½º ÇÁ·Î±×·¥ÀÌ ¼¼°è¸¦ µÚµ¤´Â ³¯±îÁö....

  ½Ê¸¸ÇØÄ¿ ¾ç¼ºÀ» À§Çؼ­.....          ±¤ÁÖ,Àü³² ÇØÄ¿Áî·¦ µ¿È£È¸ ¸¸
  ¼¼!!!!!!!



  8. Ãß°¡ -- ¸Å½ºÄ¿·¹À̵ùÀ» À§ÇÑ ÆÄÀ̾î¿ù Á¤Ã¥ ¼³Á¤

   5¹øÀÇ °úÁ¤¿¡¼­ 

   # cp /etc/ppp/firewall-masq /etc/rc.d/init.d/firewall
   # chmod 755 /etc/rc.d/init.d/firewall

   ÇÏ°í ³­ ´ÙÀ½,

  /etc/rc.d/init.d/firewall ÆÄÀÏÀ» ¼öÁ¤ÇÑ´Ù.

  #!/bin/sh
  #
  # firewall-masq         This script sets up firewall rules for a 
  machine
  #                       acting as a masquerading gateway
  #
  # Copyright (C) 2000 Roaring Penguin Software Inc.  This software may
  # be distributed under the terms of the GNU General Public License, 
  version
  # 2 or any later version.

  # Interface to Internet
  EXTIF=ppp+

  ANY=0.0.0.0/0

  ipchains -P input ACCEPT
  ipchains -P output ACCEPT
  ipchains -P forward DENY

  ipchains -F forward
  ipchains -F input
  ipchains -F output

  # Deny TCP and UDP packets to privileged ports
  ipchains -A input -l -i $EXTIF -d $ANY 0:1023 -p udp -j DENY
  ipchains -A input -l -i $EXTIF -d $ANY 0:1023 -p tcp -j DENY

  # Do masquerading
  ipchains -A forward -j MASQ
  echo 1 > /proc/sys/net/ipv4/ip_forward

  ÀÌÁß¿¡¼­ ¸Å½ºÄ¿·¹À̵ù ¼­¹ö³»ÀÇ Å¬¶óÀ̾ðÆ®µé¿¡ ´ëÇؼ­ ¿ÜºÎÁ¢¼ÓÀ» Çã¿ë
  Çϱâ À§Çؼ­´Â # Do masquerading ºÎºÐÀ» °íÃľßÇÑ´Ù.
  Ŭ¶óÀ̾ðÆ®Áß¿¡¼­ 192.168.0.2 ¿Í 192.168.0.4 ¿¡ ´ëÇؼ­¸¸ ¿ÜºÎÁ¢¼ÓÀ» Çã
  ¿ëÇÏ´Â ¿¹Á¦·Î ½áº¸°Ú´Ù.
  ´õ Ãß°¡ÇÒ Å¬¶óÀ̾ðÆ®°¡ ÀÖÀ¸¸é ±×´ë·Î ´õ ½á ³Ö¾îÁÖ¸é µÈ´Ù.

  ´ÙÀ½°ú °°ÀÌ °íÄ£´Ù.

  # Do masquerading
  ipchains -A forward -s 192.168.0.2/32 -j MASQ
  ipchains -A forward -s 192.168.0.4/32 -j MASQ

  echo 1 > /proc/sys/net/ipv4/ip_forward

  ÀÌ·¸°Ô ÇÏ¸é µÈ´Ù.  ´õÀÌ»ó ¼Õ´î ÇÊ¿ä°¡ ¾ø´Ù.


  Ȥ, ·¹µåÇÞ 7.0 ¿µ¹®ÆÇÀÇ rp-pppoe 2.2-4 ÆÐÅ°Áö¸¦ ¼³Ä¡ÇÑ »ç¶÷µéÀÌ ÇÊ¿ä
  ·Î ÇÒÁö ¸ð¸£´Â
  STANDALONE ¿ëÀÇ firewall Á¤Ã¥ ÆÄÀÏÀ» Ãß°¡ÇÑ´Ù. ÀÎÅÍ³Ý Á¢¼ÓÇϱ⠱ÍÂú
  Àº »ç¶÷À» À§Çؼ­ Ãß°¡Çß´Ù.

  #!/bin/sh
  #
  # firewall-standalone   This script sets up firewall rules for a 
  standalone
  #                       machine
  #
  # Copyright (C) 2000 Roaring Penguin Software Inc.  This software may
  # be distributed under the terms of the GNU General Public License, 
  version
  # 2 or any later version.

  # Interface to Internet
  EXTIF=ppp+

  ANY=0.0.0.0/0

  ipchains -P input ACCEPT
  ipchains -P output ACCEPT
  ipchains -P forward DENY

  ipchains -F forward
  ipchains -F input
  ipchains -F output

  # Deny TCP and UDP packets to privileged ports
  ipchains -A input -l -i $EXTIF -d $ANY 0:1023 -p udp -j DENY
  ipchains -A input -l -i $EXTIF -d $ANY 0:1023 -p tcp -j DENY

  
   °¨»çÇÕ´Ï´Ù.
Regist Addr [ 127.0.0.1 ] ¸ñ·Ïº¸±â À­±Û ¾Æ·§±Û
Á¤±ÔÇ¥Çö½Ä [ »ó¼¼ °Ë»ö ]
Page Loading [ 0.05 Sec ] SQL Time [ 0 Sec ]

Copyleft 1999-2024 by JSBoard Open Project
Theme Designed by IDOO And follow GPL2

°³ÀÎÁ¤º¸ Ãë±Þ¹æħ ÀÌ¿ë ¾à°ü »çÀÌÆ® ¸Ê ¾îµå¹Î °ü¸®