Giter Club home page Giter Club logo

lnmvpn's Introduction

该项目应用于企业远程维护、应用访问、安全连接、GFW路由跳转

1.支持Android、IOS、MAC、Windows、Linux各类客户端拨入

2.支持不用用户不同的访问策略控制

3.支持策略用户指定分配特定网络地址,防止端对端网络地址冲突

4.支持基于不同的用户策略组进行VPN连接限速

5.支持用户在线下载客户端资源及用户配置说明

6.支持通过VPN帐号自动翻墙并共享路由,供企业内部学术研究

7.支持DNS全局代理及防污染控制

客户端下载:https://pan.baidu.com/s/1xDAfspJdBEm9ilipT61PbQ 分享密码:vzfn

安装步骤(仅针对centos/redhat发行版,其他版本自行测试)

  1. 安装初始化环境 python >=2.7 (推荐lnmos定制版本,可以在"客户端下载"中获取)
    rpm -i Py27lnmos-2.7.15-6.el6.rpm
    加载python环境
    export PATH=$PATH:/opt/Py27lnmos/bin
    检测是否安装必须工具
    yum -y install wget git
    安装pip工具
    wget https://bootstrap.pypa.io/get-pip.py
    /opt/Py27lnmos/bin/python get-pip.py
    安装virtualenv组件[使程序运行环境和系统环境分离]
    /opt/Py27lnmos/bin/pip install virtualenv
    获取程序代码
    git clone https://github.com/fxtxkktv/lnmVPN.git
    进入程序目录
    cd lnmVPN
    创建程序虚拟环境
    virtualenv -p /opt/Py27lnmos/bin/python --no-site-packages venv
    进入virtualenv环境
    source venv/bin/activate

  2. 安装程序运行模块
    MySQL服务
    yum install -y gcc mysql-server mysql-devel MySQL-python
    证书组件
    yum install -y gnutls-utils
    VPN服务: [yum需要调用第三方源]
    yum install -y epel-release
    yum install -y ocserv openconnect iptables ipset dnsmasq iftop
    安装Python程序扩展包
    pip install -r readme/requirements.txt

  3. 创建数据库并恢复数据模版
    [创建数据库]: # mysql -u root -p -e "create database vpndb"
    [恢复数据模版]: # mysql -u root -p vpndb < readme/xxxxxx_Init.sql
    [配置数据库连接及其他]: # vim config/config.ini

  4. 正式运行程序
    [程序调试]:python27 main.py
    [后台运行]: startweb.sh restart
    [前段访问]:https://IP地址:端口号 用户名:admin 密码: admin
    [修改safekey]: 首次使用建议修改passkey,可通过API接口重置管理员密码[python tools/API.py API resetAdminPass newpass]

备注:程序启动将自动接管网络接口配置、DNS服务、DHCP服务等相关,建议关闭系统中涉及到的相关程序,以免相互冲突。

如有问题可直接反馈或邮件[email protected]

项目截图

系统管理

其余界面

网络配置

其余界面

DNS配置

其余界面

UTM防护

其余界面

VPN配置

其余界面

证书管理

其余界面

策略配置

其余界面

日志审计

其余界面

帮助文档

其余界面

支持捐赠

其余界面

lnmvpn's People

Contributors

fxtxkktv avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.