3月
01
pptpdのインストール
# wget http://pptpclient.sourceforge.net/yum/stable/rhel5/pptp-release-current.noarch.rpm
# rpm -ivh pptp-release-current.noarch.rpm
# yum install pptpd
# vi /etc/pptpd.conf
localip remoteip を設定
# vi /etc/ppp/options.pptpd
name ms-dns を設定
# vi /etc/ppp/chap-secrets
client server secret IPaddressesを設定
# vi /etc/sysconfig/iptables
設定を追加
-A RH-Firewall-1-INPUT -i ppp0 -j ACCEPT
-A RH-Firewall-1-INPUT -p gre -j ACCEPT
-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 1723 -j ACCEPT
no comment untill now