Page 1 of 1

SoftEther on FFreeBSD 10

Posted: Tue May 27, 2014 8:28 pm
by m3system
Hi people anyone have use Softether in FreeBSD 10 plataform ?

We have o lot of client runing Freebsd 10 and want to use SoftEther in Freebsd 10 too for VPN Solution.

But the developer do not have the correct install script to use in rc directore for use in deamon startup boot and not in user space start.

Anyone that can help us for use Softether in freeBSD 10 enviroment I will thanks for help.

Best Regard´s
Marcelo M M.
M3 System Integrator

Re: SoftEther on FFreeBSD 10

Posted: Tue May 27, 2014 9:15 pm
by avel
This is I am using on FreeBSD 9.2 (should work on 10.0 too)

#!/bin/sh

# PROVIDE: vpnserver
# REQUIRE: NETWORKING SERVERS
# BEFORE: DAEMON
# KEYWORD: shutdown

#
# Add the following lines to /etc/rc.conf to enable softether_server:
# vpnserver_enable="YES"
# put this file to /etc/rc.d/
#
. /etc/rc.subr

name=vpnserver
rcvar=vpnserver_enable
load_rc_config ${name}

: ${vpnserver_enable:=NO}

command="/usr/local/vpnserver/vpnserver"

start_cmd="${command} start"
stop_cmd="${command} stop"

vpnserver_start()
{
${start_cmd}
}

vpnserver_stop()
{
${stop_cmd}
}

run_rc_command "$1"

Re: SoftEther on FFreeBSD 10

Posted: Wed May 28, 2014 1:35 pm
by m3system
Thanks I will testing in FreeBSD 10 and post the results.

[]´s
Marcelo