openlan

English 简体中文

Go Report Card Codecov CodeQL Build Docs Releases GPL 3.0 License

What is OpenLAN?

OpenLAN enables LAN packet transmission over WAN, allowing you to establish virtual Ethernet networks across multiple user spaces.

Why Choose OpenLAN?

OpenLAN is designed for flexible VPN scenarios. Whether you need to access enterprise networks remotely, or leverage public cloud instances for network proxying and penetration, OpenLAN simplifies deployment and management.

Key Features

Use Cases

Branch-to-Center Access

                              Central Switch - 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 --> Central Switch(NanJing) <--- Other Wifi --- OpenLAN
                                         |
                                         |
                                       Internet
                                         |
                                         |
                                 Central 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

Documentation