¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 160°Ç
   
PPTP VPN (Point to Point Tunneling Protocol) SERVER ¼³Ä¡
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2010-04-23 (±Ý) 13:08 Á¶È¸ : 9313
±ÛÁÖ¼Ò :
                          

Âü°í :
 - http://poptop.sourceforge.net/dox/redhat-howto.phtml
 - http://pptpclient.sourceforge.net/#overview

  • http://poptop.sourceforge.net/yum/beta/packages/ (packages here require ppp 2.4.4)
  • http://poptop.sourceforge.net/yum/stable/packages/ (packages here require ppp 2.4.3, except FC6, FC7, RHEL5, all of which have ppp 2.4.4 already)

    ¡Ø FC6ÀÌÈÄ ¹öÀü¹× RHEL5  ÀÌ¿Ü¿¡´Â PPP 2.4.3 À» Áö¿øÇÕ´Ï´Ù.)



    Å×½ºÆ® ¿î¿µÃ¼Á¦ : CentOS release 5.4 (Final)  /  2.6.18-164.el5PAE

    YUMÀ» ÅëÇؼ­ ´Ù¿î·Îµå(¸µÅ©ÁÖ¼Ò /rhel5/ ºÎºÐ¿¡ µû¶ó¼­ ¿î¿µÃ¼Á¦º°·Î Áö¿ø)

    [root@localhost ~]# rpm -Uvh http://pptpclient.sourceforge.net/yum/stable/rhel5/pptp-release-current.noarch.rpm
    [root@localhost ~]# yum -y install ppp pptpd

    ¡Ø Ä¿³Î 2.6.15 ÀÌÈÄ¿¡¼­´Â mppe ¸ðµâÀÌ ±âº»À¸·Î Æ÷ÇԵǾîÀֱ⿡ mppe ¼³Ä¡´Â »ý·«

    ¼³Á¤ÆÄÀÏ

    [root@localhost ~]# cat /etc/pptpd.conf
    option /etc/ppp/options.pptpd
    logwtmp
    localip 10.0.0.1
    remoteip 10.0.0.2-255   # ºÐ¹èÇØÁÙ ¾ÆÀÌÇÇ ´ë¿ª

    [root@localhost ~]# cat /etc/ppp/options.pptpd
    debug
    name pptpd
    refuse-pap
    refuse-chap
    refuse-mschap
    require-mschap-v2
    ms-dns 168.126.63.1
    proxyarp
    nodefaultroute
    lock
    nobsdcomp

    [root@localhost ~]# cat /etc/ppp/chap-secrets
    # Secrets for authentication using CHAP
    # client        server  secret                  IP addresses
    ####### redhat-config-network will overwrite this part!!! (begin) ##########
    ÀڽžÆÀ̵𠠠             *    Æнº¿öµå  *                    

    ¡Ø º¸½Ã´Ù Çǽà PPTP VPNÀº °ü¸®ÀÚ·Î ÇÏ¿©±Ý Æнº¿öµå ³ëÃâÀÌ µÈ´Ù´Â ´ÜÁ¡ÀÌ ÀÖ´Ù...


    ÀÌÁ¦´Â ip_forward ±â´ÉÀ» È°¼ºÈ­ ½ÃÅ°°í ÀÎÅÍ³Ý °øÀ¯¸¦ À§ÇÑ ¸¶½ºÄ¿·¹À̵ùÀ» ½Ãŵ´Ï´Ù.

    [root@localhost ~]# echo "1" > /proc/sys/net/ipv4/ip_forward

    Or

    [root@localhost ~]# /etc/sysctl.conf
    net.ipv4.ip_forward = 1

    [root@localhost ~]# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

    ÀÌ·Î½á ¼­¹ö¼³Ä¡ÀÛ¾÷Àº ³¡ÀÌ´Ù...
    ÀÌÁ¦´Â Ŭ¶óÀ̾ðÆ®¿¡¼­ ÇØ´ç VPN ¼­¹ö¸¦ ÅëÇؼ­ ³×Æ®¿÷ÀÌ µÉ¼ö ÀÖµµ·Ï ¼³Á¤ÇÏ´Â ºÎºÐÀÌ´Ù.

    1. ¹ÙÅÁÈ­º¯ ³» ³×Æ®¿öÅ© ȯ°æ ¼Ó¼º Ŭ¸¯



    2. »õ ¿¬°á ¸¸µé±â



    3. ³×Æ®¿öÅ© ¿¬°áÇü½Ä ÁöÁ¤



     4. ³×Æ®¿öÅ© ¿¬°á


    5. ¿¬°á À̸§ ÁöÁ¤

     
    6. VPN ¼­¹ö ¼±ÅÃ


    7. ¿Ï·á




    ÀÌÁ¦ ¼³Á¤ÇÑ ·Î±×ÀÎ ¾ÆÀ̵ð¿Í Æнº¿öµå¸¦ °¡Áö°í Á¢¼ÓÇÏ¸é µÈ´Ù.






    ÇØ´ç ÀåÄ¡°¡ È°¼ºÈ­µÇ¸é¼­ ÀÌÁ¦´Â ¸ðµç ³×Æ®¿÷ÀÌ VPN ¼­¹ö¸¦ ÅëÇؼ­ Åë½ÅµÈ´Ù.

    Server ³×Æ®¿öÅ© ȯ°æ (ppp0 ÀåÄ¡°¡ È°¼ºÈ­)



    Client ³×Æ®¿öÅ© ȯ°æ


  • À̸§ Æнº¿öµå
    ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
    ¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
       

     



     
    »çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.