• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

openvpn-manage: openvpn web管理平台

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

openvpn-manage

开源软件地址:

https://gitee.com/ljt0515/openvpn-manage

开源软件介绍:

openvpn-manage

Summary

OpenVPN server web administration interface.

Goal: create quick to deploy and easy to use solution that makes work with small OpenVPN environments a breeze.

If you have docker and docker-compose installed, you can jump directly to installation.

Status page

Please note this project is in alpha stage. It still needs some work to make it secure and feature complete.

Motivation

Features

  • status page that shows server statistics and list of connected clients
  • easy creation of client certificates
  • ability to download client certificates as a zip package with client configuration inside
  • log preview
  • modification of OpenVPN configuration file through web interface

Screenshots

Screenshots

Usage

After startup web service is visible on port 8080. To login use the following default credentials:

  • username: admin
  • password: b3secure (this will be soon replaced with random password)

Please change password to your own immediately!

Prod

Requirements:

  • docker and docker-compose
  • on firewall open ports: 1194/udp and 8080/tcp

Execute commands

curl -O http://ljt0515.gitee.io/openvpn-manage/docker-compose.ymldocker-compose up -d

It starts two docker containers. One with OpenVPN server and second with OpenVPNAdmin web application. Through a docker volume it creates following directory structure:

.├── docker-compose.yml└── openvpn-data    ├── conf    │   ├── dh2048.pem    │   ├── ipp.txt    │   ├── keys    │   │   ├── 01.pem    │   │   ├── ca.crt    │   │   ├── ca.key    │   │   ├── index.txt    │   │   ├── index.txt.attr    │   │   ├── index.txt.old    │   │   ├── serial    │   │   ├── serial.old    │   │   ├── server.crt    │   │   ├── server.csr    │   │   ├── server.key    │   │   └── vars    │   ├── openvpn.log    │   └── server.conf    └── db        └── data.db

Dev

Requirements:

Execute commands:

go get openvpn-managecd $GOPATH/src/openvpn-managebee run -gendoc=true

Todo

  • add unit tests
  • add option to modify certificate properties
  • generate random admin password at initialization phase
  • add versioning
  • add automatic ssl/tls (check how ponzu did it)

License

This project uses MIT license

Remarks

Vendoring

https://github.com/kardianos/govendor is used for vendoring.

To update dependencies from GOPATH:

govendor update +v

Template

AdminLTE - dashboard & control panel theme. Built on top of Bootstrap 3.

Preview: https://almsaeedstudio.com/themes/AdminLTE/index2.html


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap