poptop

| | Comments (0)

http://www.poptop.org/

tar zxvf pptpd-1.1.4-b4.tar.gz
cd pptpd-1.1.4-b4
./configure&&make&&make install

edit /etc/pptpd.conf
# localip 是 server 的內部 IP
localip 192.168.0.2
# remoteip 配給 vpn client 的 IP
remoteip 192.168.0.20-30
pidfile /var/run/pptpd.pid

if have firewall, add
iptables -A INPUT -p gre -j ACCEPT
iptables -A INPUT -p tcp --dport 1723 -j ACCEPT

/etc/ppp/chap-secrets
#帳號 servername 密碼 IP
test pank.org 1111 *

以上設定完成

windows 在新增 VPN 連線後
[內容]-[安全性]->要求資料加密 的選項不要打勾

Leave a comment

March 2009

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About this Entry

This page contains a single entry by Pank published on April 20, 2004 5:58 PM.

Softether was the previous entry in this blog.

mount FreeBSD partition in Linux is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.