Thursday, August 17, 2006

VPN PPTP

root@aldedi:~#history

498 apt-get install ppp
499 apt-get install pptpd
500 vi /etc/pptpd.conf
501 vi /etc/ppp/pptpd-options
502 vi /etc/ppp/chap-secrets
503 /etc/init.d/ppp restart
504 /etc/init.d/pptpd restart
505 history
root@aldedi:~#

1. tambahkan di baris paling bawah (/etc/pptpd.conf)
localip 192.168.6.102
remoteip 192.168.6.40-238,192.168.6.45

2. daftarkan password (/etc/ppp/cap-secrets)
# Secrets for authentication using CHAP
# client server secret IP addresses
tes * tes *


3. Encryption (/etc/ppp/pptpd-options)

# Encryption
# Debian: on systems with a kernel built with the package
# kernel-patch-mppe >= 2.4.2 and using ppp >= 2.4.2, ...
# {{{
refuse-pap
refuse-chap
refuse-mschap
# Require the peer to authenticate itself using MS-CHAPv2 [Microsoft
# Challenge Handshake Authentication Protocol, Version 2] authentication.
require-mschap-v2
# Require MPPE 128-bit encryption
# (note that MPPE requires the use of MSCHAP-V2 during authentication)
require-mppe-128
# }}}

No comments: