报错如下:
0 1 2 3 4 5 6 |
[root@hz byrd]# pptpsetup --create vpn --server X.X.X.X --username byrd --password XXXXXX --start Using interface ppp0 Connect: ppp0 <--> /dev/pts/1 CHAP authentication succeeded LCP terminated by peer (MPPE required but peer refused) Modem hangup Connection terminated. |
解决方法:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
[root@hz byrd]# pptpsetup --create vpn --server x.x.x.x --username byrd --password XXXXXX --encrypt --start Using interface ppp0 Connect: ppp0 <--> /dev/pts/1 CHAP authentication succeeded MPPE 128-bit stateless compression enabled local IP address 192.168.0.234 remote IP address 192.168.0.1 [root@hz byrd]# ifconfig ppp0 Link encap:Point-to-Point Protocol inet addr:192.168.0.234 P-t-P:192.168.0.1 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1496 Metric:1 RX packets:6 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:60 (60.0 b) TX bytes:66 (66.0 b) |
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!