Membangun Server VPN ( Virtual Private Network) menggunakan PPTP

>>Install PPTP

sudo apt-get install pptpd

>> Edit /etc/pptpd.conf

localip 192.168.101.1–> this address should be your server’s IP address

remoteip 192.168.101.200-24

>> Edit /etc/ppp/chap-secrets

kiki pptpd secretpassword *

* means the client will be able to connect from anyware

>> Edit /etc/ppp/options

ms-dns xxx.xxx.xxx.xxx

ms-dns xxx.xxx.xxx.xxx

dikasih DNS biar bisa browsingan :D

>> set up ip-masquerading: ‘sudo nano /etc/rc.local

# PPTP IP forwarding

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

>> Lastly, uncomment this line in /etc/sysctl.conf

net.ipv4.ip_forward=1

>> Kill the pptpd service and start it

killall pptpd

pptpd

>> reboot

And try first

>> Sumber

http://www.ubuntugeek.com/howto-pptp-vpn-server-with-ubuntu-10-04-lucid-lynx.html

http://swik.net/Ubuntu/OnlyUbuntu+Tutorials/Howto+setup+PPTP+server+%28VPN%29+on+Ubuntu+7.10/cdslc

http://pigtail.net/nicholas/pptp/

Leave a Reply

*


7 − five =