Ö§³ÖÖÐÐÄ
USR-G806 VPN+¶Ë¿Úת·¢²âÊÔ°¸Àý
2020-09-24


  ¹¤ÒµÂ·ÓÉÆ÷G806Èí¼þÉè¼ÆÊÖ²á

  PCͨ¹ý806ÉÏÍø°¸Àý

  PCͨ¹ý·ÓÉÆ÷½øÄÚÖÃÍøÒ³°¸Àý

  ²âÊÔ»·¾³£ºPC Á½Ì¨(½ÓÈëͬ VPN server)£¬USR-G806 һ̨(ʹÓà 4G ½Ó¿Ú);

  VPN ·þÎñÆ÷£ºÊ¹ÓÃÎÒ˾²âÊÔ VPN ·þÎñÆ÷,test.usr.cn ;?

  USR-G806£º²ÉÓà 4G ½Ó¿ÚÁ¬½ÓÍâÍø£¬´´½¨ PPTP ½Ó¿ÚÁ¬½Ó VPN;

  PC1:ͨ¹ý PPTP ЭÒéÁ¬½Ó VPN;

  PC2£º½ÓÈë USR-G806 µÄ LAN£¬×÷Ϊ×ÓÍøÉ豸¡£


  1¡¢½øÈëÄÚÖÃÍøÒ³£¬806ĬÈϵǼÓû§ÃûÃÜÂ룺root£¬root¡£

  2¡¢ÄÚÖÃÍøÒ³ÍøÂç--½Ó¿Ú½çÃ棬н¨Ò»¸ö½Ó¿ÚÃû³Æ¿É×Ô¶¨Ò壬ЭÒéÑ¡ÔñVPN·þÎñÆ÷ÏàÓ¦µÄЭÒé¡£±ÈÈçÒªÁ¬½ÓµÄVPNÀàÐÍΪPPTP£¬Ð­Òé¾ÍÑ¡PPTP¡£


  3¡¢ÌîÈë·þÎñÆ÷ÏàÓ¦µÄ²ÎÊý£¬±¾¶Ë½Ó¿Ú¸ù¾ÝÁªÍø·½Ê½µÄ²»Í¬¿ÉÑ¡Ôñ wan_4g¡¢wan_wired (4G¿¨ÉÏÍø¾ÍÑ¡wan_4g£¬ÓÐÏßÉÏÍø¾ÍÑ¡wan_wired)¡£Óû§ÃûºÍÃÜÂëÉèÖ÷þÎñÆ÷ÕË»§ºÍÃÜÂë¡£

  4¡¢¸ß¼¶ÉèÖÃÖмÓÃÜ·½Ê½ÓëVPN·þÎñÆ÷¶ÔÓ¦£¬ÆäÖмÓÃÜ·½Ê½¿ÉÑ¡£ºmppe statefulÓÐ״̬Á¬½Ó£º»á½øÐÐƵ·±¸ü»»ÃÜÔ¿£¬ÇÒÔÚ¸ü»»ÃÜԿʱ»á³öÏÖÑÏÖضª°ü;mppe statelessÎÞ״̬Á¬½Ó£ºÖ»ÓÐÔÚ¶ª°üµÄʱºò»á½øÐÐÃÜÔ¿¸ü¸Ä;no mppe·þÎñ¶ËÎÞ MPPE ¼ÓÃÜ·½Ê½Ê±Ñ¡Ôñ´Ëģʽ¡£Ä§Êõ×Ö£ºµ±ÒÔÉÏÅäÖò»Âú×ãÅäÖÃÎļþºÍ·þÎñ¶ËÏòÆ¥ÅäʱÔÚ´ËÌí¼Ó¸½¼ÓÅäÖá£ÀýÈç·þÎñ¶Ë MPPE ÈÏÖ¤·½Ê½ Ϊ only mschapV2£¬G806 ¿ÉÔÚħÊõ×ÖÄÚÌí¼Ó refuse-eap refuse-chap refuse-pap refuse-mschap ÅäÖÃ

  5¡¢VPNµÄ·À»ðǽÉèÖÃÑ¡WAN¡£

  6. ÉèÖòÎÊýÎÞÎ󣬱£´æÓ¦ÓÃÖ®ºó¿ÉÒÔ¿´µ½É豸»ñÈ¡µ½µÄVPN IP¡£ÔÚ½Ó¿ÚpptpλÖÿÉÒÔ¿´µ½£¬Ò²¿ÉÒÔ½øÈëpptpÕâ¸ö½Ó¿Ú²é¿´¡£


  7¡¢µ½ÏÖÔÚΪֹ£¬806ÒѾ­Á¬½ÓÉÏVPNÁË£¬Á¬ÉÏͬһ¸öVPN·þÎñÆ÷µÄ¿Í»§¶Ë֮ǰ¿ÉÒÔÏ໥·ÃÎÊ£¬ËùÒÔÏÖÔÚVPNÆäËû¿Í»§¶Ë·ÃÎÊ806»ñÈ¡µ½µÄVPN IPÊÇͨµÄ£¬µ«ÊÇ·ÃÎʲ»µ½806ϵÄÖÕ¶ËÉ豸¡£ËùÒÔ¾ÍÐèÒªÉèÖö˿Úת·¢»ò¾²Ì¬Â·ÓÉ£¬±¾°¸ÀýÉèÖõÄÊǶ˿Úת·¢¡£ÐèÒª806ϵÄÖÕ¶ËÉèÖÃÉ豸Íø¹ØºÍDNS¡£

  ÔÚÄÚÖÃÍøÒ³·À»ðǽ£¬¶Ë¿Úת·¢½çÃæ½øÐÐÉèÖá£ÄÚ²¿IPºÍ¶Ë¿ÚÉèÖÃΪÄÚÍøÉ豸µÄIPºÍ¶Ë¿Ú£¬Íⲿ¶Ë¿ÚÉèÖÃÒª±ÜÃâ³£Óö˿Ú¡£

  8¡¢PC2Ò²¾ÍÊÇ806µÄÄÚÍøµçÄÔ´ò¿ªÒ»¸ö´®¿Úµ÷ÊÔÖúÊÖ£¬×ötcp server£¬IPºÍ¶Ë¿ÚΪ±¾ÉíµÄIPºÍ¶Ë¿Ú£¬¿ªÊ¼¼àÌý¡£

  9¡¢PC1¼´Áíһֱ̨½ÓÁ¬ÉÏVPNµÄµçÄÔ£¬´ò¿ªÍøÂçµ÷ÊÔÖúÊÖ£¬×ötcp clinet¶Ë£¬IPÉèÖÃ806»ñÈ¡µ½µÄVPN IP£¬¶Ë¿ÚÉèÖÃΪ¶Ë¿Úת·¢µÄÍⲿ¶Ë¿Ú¡£Äܹ»Á¬½Óµ½ 4G ·ÓÉÆ÷Ï嵀 TCP Server ²¢½øÐÐͨÐÅ¡£


¹Ø×¢¿­·¢¡¤k8¹ú¼Ê΢ÐŹ«ÖÚºÅ
Á˽â¸ü¶àÐÅÏ¢

sitemap¡¢µØͼ