9 Adimda Centos 5.3 Ustunde Acele VPN Kuralim – POPTOP – pptpd
Centos umuza ilgili programlari kuralim
1– #rpm -Uvh http://poptop.sourceforge.net/yum/beta/rhel5/i386/pptp-release-4-3.rhel5.noarch.rpm
2- yum install pptpd
Simdi conf dosyalarini editleyelim
3-nano /etc/sysctl.conf
net.ipv4.ip_forward = 1
yapalim, sonra
sysctl -p
sysctl yi bastan baslatir.
veya kisa yoldan :
# echo 1 > /proc/sys/net/ipv4/ip_forward
4- # nano /etc/pptpd.conf
en alta yaz ornek:
localip 10.0.0.1
remoteip 10.0.0.101
5- # nano /etc/ppp/options.pptpd
ms-dns 208.66.0.95
6- # nano /etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
Haciyatmaz pptpd supergizliparola *
7- service pptpd start
8- Iptables ile acele NAT yapalim
iptables --table nat --append POSTROUTING --out-interface eth1 -j MASQUERADE
Linux tarafi bitti ,
———————
Windows tarafinda:
9- Desktop > Network > Properties > Set up a connection or network > connect to a work place >
Islemleri tamam la baglan vpn hazir! 🙂