PPTP

http://www.poptop.org/

wget http://surfnet.dl.sourceforge.net/sourceforge/poptop/dkms-2.0.10-1.noarch.rpm
wget http://apt.sw.be/redhat/el4/en/i386/RPMS.dag/dkms-2.0.17.5-2.el4.rf.noarch.rpm
rpm -ivh dkms-2.0.10-1.noarch.rpm
wget http://superb-east.dl.sourceforge.net/sourceforge/poptop/kernel_ppp_mppe-1.0.2-3dkms.noarch.rpm
rpm -ivh kernel_ppp_mppe-1.0.2-3dkms.noarch.rpm
wget http://heanet.dl.sourceforge.net/sourceforge/poptop/ppp-2.4.3-5.rhel4.i386.rpm
rpm -Fvh ppp-2.4.3-5.rhel4.i386.rpm
wget http://ovh.dl.sourceforge.net/sourceforge/poptop/pptpd-1.3.1-0.i386.rpm
rpm -ivh pptpd-1.3.1-0.i386.rpm

http://poptop.sourceforge.net/yum/beta/packages/

wget http://poptop.sourceforge.net/yum/beta/packages/ppp-2.4.4-3.1.rhel4.i386.rpm
wget http://poptop.sourceforge.net/yum/beta/packages/pptpd-1.3.4-1.rhel4.1.i386.rpm





# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
hoge        *       hogepass                *
/etc/rc.d/init.d/pptpd start

TIPS

CTRL: PTY read or GRE write failed (pty,gre)=(6,7)


echo "1" > /proc/sys/net/ipv4/ip_forward
net.ipv4.ip_forward = 1
sysctl -p

:FORWARD DROP [0:0]
-A FORWARD -s 192.168.1.0/255.255.255.0 -j ACCEPT
-A INPUT -i ppp0 -j ACCEPT
-A FORWARD -i ppp0 -j ACCEPT









Memo - VPN Server for Fedora (L2TP/IPsec,PPTP)



トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS