Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.
/ SEVPN-WebAdmin Public archive

HTML5 WebAdmin Console that aims to be like the SoftEther VPN Server Manager

License

Notifications You must be signed in to change notification settings

Leuca/SEVPN-WebAdmin

Repository files navigation

SotEtherVPN HTML5-based Admin Console

Project no longer maintained

This project is deprecated and will no longer be developed. It was a quick and dirty attempt to create a web management ui for SoftEther VPN Server which has evolved into another project. For a more recent, currently under development similar project check out softether-patternfly-ui

Notes

Progress

  • Hub Properties
  • Hub Status
  • Delete Hub
  • Online/offline
  • View Server Status
  • About This VPN
  • Show List of TCP/IP Connections
  • Management of Listeners
  • Deletion popup
  • Manage Virtual Hub
    • Status
    • Manage Access Lists (there are issues, plus it can be improved)
    • Manage Users (bugs)
    • Manage Groups
    • RADIUS
    • Cascade Connections
    • Logs
    • CA
    • Secure NAT
    • Manage Sessions
  • Encryption and network
  • Clustering Configuration
  • Edit Config
  • Local Bridge Setting (if the system allows it)
  • Layer 3 Switch
  • IPsec / L2TP Setting
  • OpenVPN/MS-SSTP Setting
  • Dynamic DNS Setting
  • VPN Azure Setting
  • Disable unecessary items if logged in as a Hub Admin
  • Implement a function that translates 0.0.0.0 to /0 (-ish)
  • improve readability of dates

Post-checklist

  • Work on the graphical aspects

Trying the web UI with Docker

I built a docker image that allows everyone to test the Web UI without compiling from source the code. Although it is not possible to use the local bridge function inside the container other functions are testable.

To run the container: docker run -itd -p 5555:5555 --name <container_name> --cap-add=NET_ADMIN --device /dev/net/tun leuca/sevpn-web-consoleand after it's ready go to https://localhost:5555/admin

If you run docker in Linux you might as well run: docker run -itd --net=host --name <container_name> --cap-add=NET_ADMIN --device /dev/net/tun leuca/sevpn-web-console if you are comfortable enough running docker in your host network unconfined.

Youl'll get a warning saying that the site is not secure. That's due to the fact that the certificate is self-signed and it's correct that way.

You can also see how I made the docker image here: https://github.com/Leuca/SoftEther-VPN-Web-Console-Docker

Installing the web UI

It is possible to try this UI by copying the wwwroot folder into a previously cloned SoftEtherVPN source code and by compliling it.
In a UNIX environment should be something like this:

git clone https://github.com/Leuca/SEVPN-WebAdmin.git
git clone https://github.com/SoftEtherVPN/SoftEtherVPN_Stable.git
cp -r SotEtherVPN-Web-UI/wwwroot/admin/default/ SoftEtherVPN_Stable/src/bin/hamcore/wwwroot/admin
cd SoftEtherVPN_Stable
./configure
make
sudo make install

or like this:

git clone https://github.com/Leuca/SEVPN-WebAdmin.git
git clone https://github.com/SoftEtherVPN/SoftEtherVPN.git
cp -r SotEtherVPN-Web-UI/wwwroot/admin/default/ SoftEtherVPN/src/bin/hamcore/wwwroot/admin
cd SoftEtherVPN
git submodule init && git submodule update
./configure
make -C tmp
sudo make -C tmp install

Further details on how to compile SoftEtherVPN Software can be found either at BUILD UNIX or at BUILD WINDOWS for Unstable Version. Building the Stable version is described as following: " HOW TO GET THE LATEST SOURCE CODE TREE FOR DEVELOPERS

If you are an open-source developer, visit our GitHub repository: https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/

You can download the up-to-date source-code tree of SoftEther VPN from GitHub. You may make your own fork project from our project.

The download and build instruction is following:

git clone https://github.com/SoftEtherVPN/SoftEtherVPN_Stable.git
cd SoftEtherVPN
./configure
make
make install

"