Setup VPN Server dengan FreeBSD + PPTP

Setup VPN Server dengan FreeBSD + PPTP

Virtual private networks(VPN) adalah point-to-point koneksi melalui private atau public network misal Internet. VPN client menggunakan tunneling protocols, untuk mengkoneksikan dengan VPN server. Di sisi Server akan menerima koneksi dari VPN Client, mengecek authentication, dan mentransfers data antara VPN client.

Gambaran Model Koneksi bisa di lihat di gambar berikut :

VPN server ini di install pada FreeBSD 6.3
Adapun langkah-langkahnya adalah sebagai berikut :

1. install poptop melalui port

# cd /usr/ports/net/poptop
# make install clean

2. vi /usr/local/etc/pptpd.conf
# Alamat IP disesuaikan dengan kondisi jaringan Anda.

pidfile /var/run/

3. vi /etc/ppp/ppp.conf
set timeout 0
set log phase chat connect lcp ipcp command
set device localhost:pptp
set dial
set login
# Server (local) IP address, Range for Clients, and Netmask
# if you want to use NAT use private IP addresses
set ifaddr
add default HISADDR
set server /tmp/loop “” 0177

set timeout 0
set log phase lcp ipcp command
allow mode direct

load loop
disable pap
# Authenticate against /etc/passwd
enable passwdauth
disable ipv6cp
enable proxy
accept dns
enable MSChapV2
enable mppe
disable deflate pred1
deny deflate pred1
set dns
set device !/etc/ppp/secure

4. vi /etc/ppp/secure
exec /usr/sbin/ppp -direct loop-in

5. vi /etc/ppp/ppp.secret
#user #passoword
user1 password
user2 password

6. mengaktifkan ip forwarding
# sysctl net.inet.ip.forwarding=1

7. Enable proxy arp
vi /etc/rc.conf

8. Start pptpd
/usr/local/etc/rc.d/pptpd start

2 Responses to “Setup VPN Server dengan FreeBSD + PPTP

Trackbacks & Pings

  • User links about "pptp" on iLinkShare :

    […] days ago6 votesEnabling PPTP VPN on the Cisco Router>> saved by MysteryGuitarMan 29 days ago1 votesSetup VPN Server dengan FreeBSD + PPTP>> saved by snekse 31 days ago4 votes2K3 – PPTP VPN – Nur Domänencomputer zulassen?>> saved by […]

    8 years ago

Leave a Reply

Your email address will not be published. Required fields are marked *


Skip to toolbar