English | [įŽäŊ䏿](./README.cn.md)
[](https://goreportcard.com/report/luscis/openlan)
[](https://codecov.io/gh/luscis/openlan)
[](https://github.com/luscis/openlan/actions/workflows/codeql.yml)
[](https://github.com/luscis/openlan/actions/workflows/ubuntu.yml)
[](https://github.com/luscis/openlan/tree/master/docs)
[](https://github.com/luscis/openlan/releases)
[](LICENSE)
## đ What is OpenLAN?
OpenLAN is a solution for transmitting LAN packets over WAN, enabling you to create multiple virtual Ethernet networks in user space.
## đ¤ Why Choose OpenLAN?
If you need a flexible VPN solution â such as accessing enterprise internal networks, or proxying and tunneling traffic through public cloud instances â OpenLAN makes deployment simpler and more efficient.
## ⨠Key Features
- đ **Network Segmentation**: Divide the network into multiple isolated spaces, providing logical network isolation for different services.
- đ **Central Switch Interconnection**: Multiple Central Switches communicate at the link layer via the OpenLAN protocol, with SNAT route support for seamless access to enterprise internal networks.
- đĨī¸ **OpenVPN Integration**: Connect user networks via OpenVPN, with support for Android, macOS, Windows, and other platforms.
- đĄī¸ **IPSec & VxLAN Support**: Establish IPSec tunnels between Central Switches, with VxLAN tenant network segmentation on top.
- đ **Simple Authentication**: Username/password-based access authentication with optional pre-shared key encryption for data packets.
- đĄ **Multi-Protocol Support**: OpenLAN runs over TCP, TLS, UDP, KCP, WS, and WSS â TCP for high performance, TLS/WSS for stronger encryption security.
- đ **Flexible Proxy Forwarding**: Built-in HTTP, HTTPS, and SOCKS5 forward proxy support with domain-based routing rules for flexible traffic forwarding.
## đēī¸ Use Cases
### đĸ Branch-to-Center Access
```text
Central Switch (Enterprise 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
```text
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
- đĻ [Software Installation](docs/install.md)
- đĸ [Branch Access](docs/central.md)
- đ [Multi-Region Interconnection](docs/multiarea.md)
- đ [Zero Trust Network](docs/ztrust.md)
- đŗ [Docker Compose](docs/docker.md)