how to configure PPTP VPN

来源:互联网 发布:eclipse python插件 编辑:程序博客网 时间:2024/05/16 10:14

http://blog.chinaunix.net/space.php?uid=22415790&do=blog&id=1774105


server side.

in ubuntu environment.
1. sudo apt-get install pptpd
2. set ip address range.
in /etc/pptpd.conf, set ip address range, the below is a example.
localip 192.168.0.234-238,192.168.0.245
remoteip 192.168.1.234-238,192.168.1.245
3. in /etc/ppp/chap-secrets, add username and password, the below is a example.
useraaa * 222 *
4. sudo /etc/init.d/pptpd restart

client side.
in Windows XP environment.
1. 创建一个新的连接->连接到我的工作场所->虚拟专用网络连接->input your name ->input server ip address->不使用我的智能卡. 完成
2. 点击新创建的连接, 输入用户名和密码.
3. now you can see ppp network device in both server side and client side.
4. in Windows XP, you can ping server's ip address.