Salah satu jalur internet gratis tanpa menggunakan Inject adalah melewati jalur VPN, yang terkenal awal bulan Juli 2014 ini yaitu PPTP VPN, tutorial berikut menjelaskan langkah-langkah instalasi PPTP VPN pada Vitual Server ( VPS ) ber os-kan Centos 6 64 bit dan Ubuntu/Debian 64 Bit :

Centos 6 64 Bit
rpm -i http://poptop.sourceforge.net/yum/stable/rhel6/pptp-release-current.noarch.rpm yum -y install pptpd
Ubuntu/Debian 64 Bit
apt-get install pptpd
--------- setting /etc/pptpd.conf ---------------
nano /etc/pptpd.conf
isikan
localip 10.0.0.1
remoteip 10.0.0.100-200
------- simpan dengan menggunakan CTRL o dan x ---------
< ---- menambahkan user dan password PPTP VPN di /etc/ppp/chap-secrets ---- >
nano /etc/ppp/chap-secrets
isikan :
tipeserver username password ip-address
------- simpan dengan menggunakan CTRL o dan x ---------
< --- Menambahkan DNS server, edit /etc/ppp/pptpd-options --- >
nano /etc/ppp/pptpd-options
isikan :
ms-dns 8.8.8.8
ms-dns 8.8.4.4
------- simpan dengan menggunakan CTRL o dan x ---------
< --- Jalan ulang PPTP VPN --- >
service pptpd restart
< --- setting IPTABLES --- >
sed -i 's/#net.ipv4.ip_forward=1/net.ipv4.ip_forward=1/g' /etc/sysctl.conf
sysctl -p
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE && iptables-save ( KVM )
iptables -t nat -A POSTROUTING -o eth0 -j IP-Serve && iptables-save ( OVZ )
@
Tagged @ Setting VPS
0 komentar:
Post a Comment - Kembali ke Konten