Home » » Cara Install SoftEther VPN di Centos

Cara Install SoftEther VPN di Centos

Written By Satria Adhi on Wednesday, February 5, 2014 | 11:22 PM

1.update & install development tools
yum update
yum groupinstall "Development Tools"
yum -y install gcc*
yum -y install libpcap*
wget http://www.softether-download.com/files/softether/v4.03-9411-rtm-2014.01.07-tree/Linux/SoftEther%20VPN%20Server/32bit%20-%20Intel%20x86/softether-vpnserver-v4.03-9411-rtm-2014.01.07-linux-x86-32bit.tar.gz
tar xzvf softether-vpnserver-v4.03-9411-rtm-2014.01.07-linux-x86-32bit.tar.gz
cd vpnserver
make


cd ..
mv vpnserver /usr/local
cd /usr/local/vpnserver/
chmod 600 *
chmod 700 vpncmd
chmod 700 vpnserver
nano /etc/init.d/vpnserver
#!/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
chmod 755 /etc/init.d/vpnserver
/sbin/chkconfig --add vpnserver
/etc/init.d/vpnserver start

./vpncmd
1
enter
enter
VPN Server>ServerPasswordSet






0 comments:

Post a Comment