soft ether vpn

Soft Ether VPN

SETUP

access and choose your platform and get tar.gz URL

download tar.gz

wget {your tar.gz URL}

decompress tar.gz file

tar xvf {your tar.gz file}

move binary directory

sudo mv vpnserver /usr/local/bin

build source code

sudo make /usr/local/bin/vpnserver

change permission

cd /usr/local/bin/vpnserver
sudo chmod 600 *
sudo chmod 700 vpncmd
sudo chmod 700 vpnserver

set startup

sudo emacs /etc/init.d/vpnserver

paste it

#!/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

change permission

sudo chmod 755 /etc/init.d/vpnserver

setting to launch vpnserver when system restarted

sudo apt-get install sysv-rc-conf
sudo sysv-rc-conf vpnserver on

start vpn server

sudo reboot

set administrator password

sudo /usr/local/bin/vpncomd

> ServerPasswordSet

download setting tools and connect

http://www.softether-download.com/ja.aspx?product=softether

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください