70 likes | 251 Views
VPN. Using PPTP. Installasi PPTP. # apt-get install pptp-linux ppp pptpd. Adding user/pass. # vim /etc/ppp/chap-secrets Username PPTP Password *. Client. # touch /etc/ppp/peers/vpn1 # vim /etc/ppp/peers/vpn1 pty “pptp 10.252.108.xxx--nolaunchpppd” name Username remotename PPTP
E N D
VPN Using PPTP
Installasi PPTP • # apt-get install pptp-linux ppp pptpd
Adding user/pass • # vim /etc/ppp/chap-secrets Username PPTP Password *
Client • # touch /etc/ppp/peers/vpn1 • # vim /etc/ppp/peers/vpn1 pty “pptp 10.252.108.xxx--nolaunchpppd” name Username remotename PPTP require-mppe-128 file /etc/ppp/options.pptp ipparam vpn1 mru 1412 mtu 1412
connecting • # pppd call vpn1 Atau • # pon vpn1
Creating shell • # vim /etc/ppp/ip-up.d/route-traffic #!/bin/bash NET=”10.0.0.0/8″ IFACE=”ppp0″ route add -net ${NET} dev ${IFACE} • # chmod 755 /etc/ppp/ip-up.d/route-traffic