Recent Posts

Saturday, September 1, 2018

CARA MEMBUAT PPTP VPN PADA SERVER UBUNTU


Assalamualaikum 

I want to share how to create pptp vpn on this article!

WHAT IS PPTP ?

The Point-to-Point Tunneling Protocol (PPTP) is an obsolete method for implementing virtual private networks, with many known security issues. PPTP uses a TCP control channel and a Generic Routing Encapsulation tunnel to encapsulate PPP packets.
(From Wikipedia, the free encyclopedia)

 HOW TO CREATE PPTP ON UBUNTU?

1.  LOGIN TO YOUR SSH 
login to ssh as root
run command > sudo su 

2.  UPDATE YOUR UBUNTU SERVER
run command >  apt-get update

3.  INSTALL PPTPD ON YOUR SERVER
run command > apt-get install pptpd
   
4.  EDIT FILE /etc/pptpd.conf
run command > nano /etc/pptpd.conf
add this text on bottom
localip 192.168.69.1
remoteip 192.168.69.100-200
push ctrl + X and type Y
 
klik enter for save   

5.   ADD USER AND PASSWORD FOR AUTHENTICATION PPTP USER
run command > nano /etc/ppp/chap-secrets 





add username with your username and password with your password and this character * mean all ip can acces your pptp 

6.  ADD DNS SERVER 
run command >nano /etc/ppp/pptpd-options
add open dns 
ms-dns 8.8.8.8
ms-dns 8.8.4.4

7.  SETUP FORWARDING 
run command > nano /etc/sysctl.conf
remove # character before  #net.ipv4.ip_forward = 1 to net.ipv4.ip_forward = 1

To make changes active, run sysctl -p

 8.  CREATE NAT RULE
run command > sudo nano /etc/rc.local
add this text before exit 0

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE && iptables-save
iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE
iptables -I INPUT -s 192.168.69.0/8 -i ppp0 -j ACCEPT
iptables --append FORWARD --in-interface eth0 -j ACCEPT



9. RESTART YOUR SERVER FOR SAVE ALL CONFIGURATION
run command > sudo shutdown -r now

and now PPTP already on your server!

sorry for my english thanks for visit my blog! 

want to buy a PPTP VPN server? contact me:

ismailpujisaputra@gmail.com 

or whatsapp +62813 7911 9607

Related Posts:

  • KELEMAHAN SYSTEM 32 bit 1. PENDAHULUAN Munculnya system 64 bit menimbulkan sebuah pertanyaan,  apa perbedaan diantara system 32 bit dan 64 bit, artikel ini akan membahas apa itu system 32 bit secara singkat namun akan mudah dipahami oleh… Read More
  • CARA RESET ROUTER MIKROTIK Reset dibutuhkan untuk mengkonfigurasi default mikrotik, yang biasanya lupa password, atau hanya ingin mengembalikan ke pengaturan awal saja, berikut ini adalah cara mereset router mikrotik : 1.    Pastik… Read More
  • KUMPULAN VIDEO TUTORIAL MTCRE (MIKROTIK CERTIFIED ROUTING ENGINEER) KUMPULAN VIDEO TUTORIAL MTCRE (MIKROTIK CERTIFIED ROUTING ENGINEER) MTCRE (MIKROTIK CERTIFIED ROUTING ENGINEER) adalah sertifikasi jaringan Mikrotik yang memfokuskan pada kemampuan untuk melakukan konfigurasi routing b… Read More
  • CARA BACKUP DATABASE POSTGRESQL PADA PHPPGADMIN Cara backup database  PostgreSQL pada phpPgAdmin 1. Buka alamat http://localhost/phppgadmin/ atau jika anda telah mengonlinekannya buka http://domainkamu/phppgadmin/ (adsbygoogle = window.adsbygoogle || []… Read More
  • RANSOMEWARE WANNACRY ANTIVIRUS SERTA CARA PENCEGAHANYA REVIEW VIRUS RANSOM (RANSOMWARE) SERTA ANTIVIRUSNYA Oleh: Ismail puji saputra PENGERTIAN RANSOMWARE Ransomeware adalah malware ( sebuah software yang berbahaya bagi komputer). Apabila sebuah komputer terinfeksi virus … Read More

0 comments:

Post a Comment