Help writing a startup script for SoftEther VPN server
-
Hi,
Can you please help me writing a startup script for SoftEther VPN server.
http://www.softether.org/5-download/src
I've build it on a FreeBSD 8.3 VM and transfer it on /usr/local on pfsense.
Current file list is :[2.1-RELEASE][root@pfsense.local]/root(2): ls -al /usr/local/vpnserver/ total 8720 drwxr-xr-x 9 root wheel 1024 Jan 30 21:18 . drwxr-xr-x 17 root wheel 512 Jan 29 12:19 .. -rw-r--r-- 1 root wheel 1527 Jan 29 12:20 .install.sh -rw------- 1 root wheel 2079 Jan 29 12:19 Makefile -rw------- 1 root wheel 33209 Jan 29 12:19 ReadMeFirst_Important_Notices_en.txt -rw------- 1 root wheel 47041 Jan 29 12:20 ReadMeFirst_Important_Notices_ja.txt -rw------- 1 root wheel 58227 Jan 29 12:19 ReadMeFirst_License.txt drwx------ 2 root wheel 512 Jan 30 21:02 backup.vpn_server.config drw------- 2 root wheel 512 Jan 29 12:19 chain_certs drw------- 2 root wheel 512 Jan 29 12:20 code -rw------- 1 root wheel 1001874 Jan 29 12:19 hamcore.se2 -rw------- 1 root wheel 867 Jan 30 21:18 lang.config drw------- 2 root wheel 512 Jan 29 12:19 lib drwx------ 2 root wheel 512 Jan 30 07:57 packet_log -rw------- 1 root wheel 810 Jan 29 12:23 seCERT -rw------- 1 root wheel 891 Jan 29 12:23 sePKEY drwx------ 4 root wheel 512 Jan 30 20:45 security_log drwx------ 2 root wheel 512 Jan 30 07:57 server_log -rw------- 1 root wheel 13087 Jan 30 21:18 vpn_server.config -rwx------ 1 root wheel 3870012 Jan 29 12:20 vpncmd -rwx------ 1 root wheel 3869880 Jan 29 12:19 vpnserver
the start command is
./vpnserver start
when it starts it needs RW access to the filesystem.
it creates the following files:-rw------- 1 root wheel 0 Jan 31 19:44 .VPN-49BDCFFA14 -rw------- 1 root wheel 11 Jan 31 19:44 .ctl_6BE712FB1B726B608526E5B2444A260A -rw------- 1 root wheel 4 Jan 31 19:44 .pid_6BE712FB1B726B608526E5B2444A260A
Currently i have to do /etc/rc.conf_mount_rw before start and /etc/rc.conf_mount_ro after stop.
thanks
-
Any success in getting softether to work in pfsense?
-
I would love to test it if anyone is working on this package…