1. Update dan install yang diperlukan
su -c "apt-get update; apt-get install build-essential"
2. Buat folder vpnku
mkdir ~/vpnku
3. masuk ke folder vpnku
cd ~/vpnku
4. Cek versi debian
uname -a
5. Hasil untuk debian 32 bit
#Linux TuxVPN 2.6.32-042stab079.5 #1 SMP Fri Aug 2 17:16:15 MSK 2013 i686 GNU/Linux
6. Download dan extract file installasi:
a. Debian 32 bit
wget http://www.softether-download.com/files/softether/v2.00-9387-rtm-2013.09.16-tree/Linux/SoftEther%20VPN%20Server/32bit%20-%20Intel%20x86/softether-vpnserver-v2.00-9387-rtm-2013.09.16-linux-x86-32bit.tar.gz
tar zxvf softether-vpnserver-v2.00-9387-rtm-2013.09.16-linux-x86-32bit.tar.gz
b. Debian 64 bit
wget http://www.softether-download.com/files/softether/v2.00-9387-rtm-2013.09.16-tree/Linux/SoftEther%20VPN%20Server/64bit%20-%20Intel%20x64%20or%20AMD64/softether-vpnserver-v2.00-9387-rtm-2013.09.16-linux-x64-64bit.tar.gz
tar zxvf softether-vpnserver-v2.00-9387-rtm-2013.09.16-linux-x64-64bit.tar.gz
7. Setelah ekstrak, akan ada folder vpnserver. Masuk ke folder vpnserver
cd vpnserver
atau
cd ~/vpnku/vpnserver
8. Kemudian ketik
make
9. Jika ada pertanyaan, pilih 1
10. Jalankan VPN Server (masih di folder vpnserver)
./vpnserver start
11. Buat password untuk server
./vpncmd
12. Pilih 1 (1. Management of VPN Server or VPN Bridge")
13. Jika ada "Hostname of IP Address of Destination:", ketik IP_VPS:port. misal IP_VPS=192.168.0.1, maka
Hostname of IP Address of Destination:192.168.0.1:5555
13. Selanjutnya enter jika ada"Specify Virtual Hub Name:"
14. selanjutnya akan muncul seperti berikut
You have administrator privileges for the entire VPN Server.
VPN Server>
15. Ketik "ServerPasswordSet", menjadi
You have administrator privileges for the entire VPN Server.
VPN Server>ServerPasswordSet
16. Pindah ke directory /usr/local/ dan buat startup scriptnya
cd
mv ~/vpnku/vpnserver /usr/local
cd /usr/local/vpnserver/
chmod 600 *
chmod 700 vpncmd
chmod 700 vpnserver
nano /etc/init.d/vpnserver
17. masukkan script berikut:
#!/bin/sh
# chkconfig: 2345 99 01
# description: SoftEther VPN Server
DAEMON=/usr/local/vpnserver/vpnserver
LOCK=/var/lock/subsys/vpnserver
test -x $DAEMON || exit 0
case "$1" in
start)
$DAEMON start
touch $LOCK
;;
stop)
$DAEMON stop
rm $LOCK
;;
restart)
$DAEMON stop
sleep 3
$DAEMON start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
18. Save script dengan perintah "Ctrl+X", kemudian "y", terus enter.
19. Kemudian, tulis scrip berikut satu-satu.
chmod 755 /etc/init.d/vpnserver;
mkdir /var/lock/subsys;
update-rc.d vpnserver defaults;
/etc/init.d/vpnserver startcd;
cd /usr/local/vpnserver/
20. sekarang oftether vpn bisa di restart, atau start dengan:
service vpnserver start
service vpnserver restart
service vpnserver stop
21. Terimaksih sudah menyimak
Video Tutorial
Sumber:
http://jaranguda.com/instalasi-dan-konfigurasi-softether-di-debian/
http://vpsmurahmeriah.blogspot.com/2013/10/cara-instal-softether-vpn-server-centos.html
http://www.lareosenglab.com/2014/03/tutorial-cara-install-softether-dan.html
0 Komentar untuk "Cara Install Softether VPN di Debian"
Mohon di komentari ya