Ocservauto For Debian 0.8
This script may help you setup your own openconnect_server in debian(>=7),ubuntu(>=14.04).
apt-get update apt-get upgrade apt-get install wget wget http://git.io/p9r8 --no-check-certificate -O ocservauto.sh bash ocservauto.sh
Profiles in /etc/ocserv/
When you change the profiles,restart the vpn server.
You can get help
bash ocservauto.sh h
Ocservauto For Debian Copyright (C) liyangyijie released under GNU GPLv2
Ocservauto For Debian Is Based On SSLVPNauto v0.1-A1
SSLVPNauto For Debian Copyright (C) Alex Fang email@example.com released under GNU GPLv2
Copyright (C) 2015 liyangyijie This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.