Git Product home page Git Product logo

openlan's Introduction

English | 简体中文

Go Report Card Codecov CodeQL Build Docs Releases GPL 3.0 License

What's OpenLAN?

OpenLAN provides a realization of the transmission of LAN data packets in the WAN, and can establish a virtual Ethernet network in multiple user spaces.

Why is OpenLAN?

If you have more flexible VPN business needs and need to use VPN to access the enterprise, or use public network cloud hosts for network proxy and network penetration, you can try OpenLAN, which can make deployment easier.

What is the function of OpenLAN?

  • Users can use OpenLAN to divide multiple network spaces to provide logical network isolation for different services;
  • Multiple OpenLAN Switches can use the OpenLAN protocol to communicate on the second layer, and SNAT routes can be added to the second layer network to easily access the internal network of the enterprise;
  • Users can use OpenVPN to access the OpenLAN network, OpenVPN supports multiple platforms such as Android/MacOS/Windows, etc.;
  • IPSec tunnel network can also be used between multiple OpenLAN Switches, and it supports further division of VxLAN/STT tenant networks on this network;
  • Use a simple username and password as the access authentication method, and you can set a pre-shared key to encrypt data packets;
  • The OpenLAN protocol can work on various transmission protocols such as TCP/TLS/UDP/KCP/WS/WSS, TCP has high performance, and TLS/WSS can provide better encryption security;
  • OpenLAN also provides simple HTTP/HTTPS/SOCKS5 and other HTTP forward proxy technology, users can flexibly configure proxy for network penetration according to needs;

Working scenario of OpenLAN?

Branch center access

                       OpenLan Switch(Center) - 10.16.1.10/24
                                  ^
                                  |
                               Wifi(DNAT)
                                  |
                                  |
         ----------------------Internet-------------------------
         ^                        ^                           ^
         |                        |                           |
       Branch1                  Branch2                     Branch3     
         |                        |                           |
     OpenLAN                  OpenLAN                      OpenLAN
  10.16.1.11/24             10.16.1.12/24                10.16.1.13/24

Multi-region interconnection

 192.168.1.20/24                                                  192.168.1.21/24
        |                                                                |
    OpenLAN -- Hotel Wifi --> OpenLAN Switch(NanJing) <--- Other Wifi --- OpenLAN
                                     |
                                     |
                                   Internet
                                     |
                                     |
                             OpenLAN Switch(Shanghai) - 192.168.1.10/24
                                     |
                                     |
            ------------------------------------------------------
            ^                        ^                           ^
            |                        |                           |
         Office Wifi              Home Wifi                 Hotel Wifi     
            |                        |                           |
        OpenLAN                  OpenLAN                     OpenLAN
    192.168.1.11/24           192.168.1.12/24             192.168.1.13/24

Data Center Full Internet

  • Underlay for VxLAN over Internet by IPSec.

                           47.example.com
                                  |
                                  |
                                  |
                              +-------+
                              | vps-47|  -- 100.65.0.117
                              +-------+
                                /   \
                              /       \
       SPI-117118           /           \         SPI-117119
                          /               \
                        /                   \
                  +-------+                +-------+
                  | vps-92| -------------- | vps-12|
                  +-------+                +-------+
                  /   |                       |  \ 
                 /    |    SPI-118119         |   \
    100.65.0.118      |                       |    100.65.0.119
                      |                       |
                92.example.com          12.example.com
    
  • DCI Subnet: 192.168.x.x over IPSec Network: 100.65.0.x.

                                100.65.0.117
                                      |
                     eth1.200 ---     |    --- eth1.100
                                   \  |  /
                                  +--------+
                                  | vps-47 |
                                  +--------+
                                    /   \
                                  /       \                   
                                /           \                 
                              /               \
      enp2s4.100 ---        /                   \        --- eth4.30
                     \    /                       \     /
                     +--------+                 +--------+
                     | vps-92 | --------------- | vps-12 |
                     +--------+                 +--------+
                      /    |                      |   \
      enp2s4.101 ---       |                      |     --- eth4.200
                           |                      |
                    100.65.0.118            100.65.0.119
     
     VNI-1023 192.168.30.0/24 [vps-47_eth1.100, vps-92_enp2s4.100, vps-12_eth4.30]
     VNI-1024 192.168.40.0/24 [vps-47_eth1.200, vps-92_enp2s4.101, vps-12_eth4.200]
    

Help documents

openlan's People

Contributors

danieldin95 avatar sichengza avatar buliangjunpp avatar iaotw 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.