
²âÊÔ»·¾³£¬Á½¸öƽ¼¶¹¤ÒµÂ·ÓÉÆ÷ A ºÍ B£¬VPN ·þÎñÆ÷£¬ PC Á½Ì¨£¬ÒÔ PPTP VPN ΪÀý
·þÎñÆ÷ IP:192.168.111.1
·ÓÉÆ÷ A:VPN µØÖ· 192.168.111.36 ×ÓÍø£º192.168.1.0
·ÓÉÆ÷ B:VPN µØÖ· 192.168.111.33 ×ÓÍø£º192.168.2.0

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

8¡¢ÔÚ·ÓÉÆ÷ A Ìí¼Ó¾²Ì¬Â·ÓÉ£º
½Ó¿Ú£ºËù¶ÔÓ¦µÄ VPN Ãû³Æ
Ä¿±ê£ºÈç¹ûÄ¿±ê¶ÔÏóÊÇ×ÓÍø£¬ÔòÌîд X.X.X.0 Ò²¿ÉÌîд¾ßÌåijÖ÷»ú IP
IPv4-×ÓÍøÑÚÂ룺Èç¹ûÄ¿±êÊÇ×ÓÍø£¬ÔòÌîд×ÓÍøÑÚÂ룬ÈôΪ¾ßÌå IP£¬¿É²»Ìîд
Ô¾µãÊý£ºÒ»°ã²»ÐèÒªÌîд
MTU:·¢ËͽÓÊÕÉÏÏÞ£¬¿É²»Ìî

9¡¢ÔÚ·ÓÉÆ÷BÌí¼Ó¾²Ì¬Â·ÓÉ£¬¹æÔòÒ»ÖÂ

10¡¢´î½¨Íê³Éºó×ÓÍø¿Éͨ¡£
