ºìÁªLinuxÃÅ»§
Linux°ïÖú

FedoraÏÂʹÓÃVPN

·¢²¼Ê±¼ä:2010-10-22 23:16:28À´Ô´:ºìÁª×÷Õß:Dawnson
ÔÚСÕÅÄÇÂòÖ÷»úµÄʱºò£¬Ëû¸øËÍÁ˸öVPNÕʺţ¬ºÙºÙ£¬ÓÚÊÇÎÒ¾ÍÒ»Ö±ÓÃËü·­Ô½³¤³ÇÁË¡£ÔÚWindowsÏÂÅäÖÃVPNÁ¬½Ó·Ç³£¼òµ¥£¬²»¹ýÔÚLinuxÏÂÓÃϵͳ×Ô´øµÄNetworkManagerºÜÄÑÅäÖã¬ÒÔÖÁÓÚÆä×Ô´øµÄvpnc¡¢OpenVPN¡¢PPTP¶¼Á¬½Ó²»ÁË¡£
PPTPÊÇϵͳÒѾ­×°ºÃÁ˵ģ¬²»¹ý²»Êǹٷ½µÄ¡£PPTPÔÚLinuxÏÂÓõÄÈ˺ܶ࣬ËüÓÐGUI³ÌÐò£¬½Ðpptp-client¡£ÏÂÃæÊǹٷ½PPTP ClientµÄʹÓ÷½·¨£º
°²×°PPTP¼°GUI£º

1 su -
2 rpm -Uvh http://pptpclient.sourceforge.net/yum/stable/fc6/pptp-release-current.noarch.rpm
3 yum --enablerepo=pptp-stable install pptpconfig


ÅäÖÃPPTP-Config:

1¡¢ÔÚÖÕ¶ËÒÔrootÉí·ÝÖ´ÐУº

pptpconfig

2¡¢ÊäÈëVPNµÄÐÅÏ¢£¬µã»÷¡°Add¡±£¬Çл»µ½¡°Routing¡±À¸£¬Ñ¡ÖС°All to Tunnel¡±£¬½«Á÷Á¿È«¾­ÓɸÃVPN¡£ÔÙÑ¡ÖиÕÌí¼ÓµÄVPNÁ¬½Ó£¬µã»÷¡°Start¡±£¬»áµ¯³öÒ»¸ö¶Ô»°¿ò £¬¿´ÊÇ·ñ»áÁ¬½Ó³É¹¦¡£×¢Ò⣬´Ëʱ²»Ò»¶¨»áÁ¬½Ó³É¹¦£¬ÓпÉÄܳöÏÖÈçÏÂʧ°ÜÐÅÏ¢£º

3¡¢Èç¹û³öÏÖÉÏÊö´íÎó£¬ÔòÇл»µ½¡°Encryption¡±Ñ¡ÏîÀ¸£¬Ñ¡ÖеÚÒ»Ïî¡°Require Microsoft Point-to-Point Encryption(MPPE)¡±,µã»÷¡°Update¡±¸üÐÂÅäÖã¬ÔÙÑ¡ÖÐVPNÁ¬½Ó£¬µã»÷¡°Start¡±¡£

4¡¢Èç¹ûÉÏÊö²Ù×÷ºó»¹²»ÄÜÁ¬½Ó£¬Çл»ÖÁ¡°Miscellaneous¡±£¬Ñ¡ÖС°Enable connection debugging facilities¡±ÆôÓÃËü»áÔÚÁ¬½ÓµÄʱºò¸ø³öÏà¹ØÐÅÏ¢£¬·¢Éú´íÎóʱ¿ÉÒÔÌáʾ³ö´íÐÅÏ¢¡£ÔÙ¡°Update¡±£¬È»ºó¡°Start¡±¹Û²ì´íÎóÐÅÏ¢¡£

Èç¹û³É¹¦£¬Ôò»áÈçÏÂͼ£¬¿ÉÒÔPingһϿ´ÄÜ·ñPing ͨ£º


ÁíÍ⣬Èç¹ûÅäÖúúó£¬È·¶¨ÐÅÏ¢ÎÞÎ󣬶ø»¹ÊÇÁ¬½Ó²»ÉÏ£¬¿ÉÒÔÊÔ×ÅÖؽ¨Â·ÓÉ±í¿´ÄÜ·ñÁ¬½Ó³É¹¦£º

route del default
route add default dev eth0

È»ºóÔÙÖØÐÂÁ¬½Ó¡£

±¾ÎÄÁ´½Ó: http://www.ninthday.net/2010/10/how-to-use-vpn.html
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 4 ÌõÆÀÂÛ

  1. caoyu1099 ÓÚ 2010-10-23 13:12:12·¢±í:

    ÎÒ¶¼ÊÇÓÃÕʺÅÖ±½ÓÁ¬µÄ

  2. Dawnson ÓÚ 2010-10-23 12:07:09·¢±í:

    3# sydnash ÎҵľÍÊÇFedora 13Ŷ£¬¹Ù?ÄÇ?°æ±¾¾ÍÊÇ?µÄ£¬²»Ò»¶¨ÊÇ??13µÄ°æ±¾¡£

  3. sydnash ÓÚ 2010-10-23 09:10:43·¢±í:

    ÇëÎÊÂ¥Ö÷µÄfedoraÊÇʲô°æ±¾ÄǸö£¬ÎÒµÄfedora13ÔõôҲÁ¬²»ÉÏ ÓÃpptpconfig
    ¡¡¡¡¡¡¡¡ºóÀ´¿´ÁËÏÂËûµÄ¹ÙÍø¡¡¡¡·¢ÏÖ¸ù±¾Ã»ÓУ±£³°æ±¾µÄ£ð£ð£ô£ð£ã£é£ì£å£î£ô
    ²»ÖªµÀÊDz»ÊÇÕâ¸öÔ­Òò »¹ÓÐ ÎÒÓÃ13×Ô´øµÄÄܹ»Á¬½ÓÉÏ
    µ«ÊDz»ÄܽâÎöDNS ÎÒÐÞ¸ÄÁËrosve.cofÖ®ºóÒ²²»ÐÐ µ«ÊÇÎÒÄܵ¥¶ÀpingͨÎÒµÄdns·þÎñÆ÷

  4. Campus ÓÚ 2010-10-23 08:48:49·¢±í:

    ºÜÊÜÓã¬ÊÕ×Å