Skip to content

flomesh-io/openwrt-ztm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flomesh ZTM OpenWrt Package

This repository contains the OpenWrt package for Flomesh ZTM (Zero Trust Mesh). It provides pre-built .ipk packages for multiple platforms, allowing easy integration of Flomesh ZTM into OpenWrt-based systems.

Overview

Flomesh ZTM is a lightweight, zero-trust networking solution designed for secure and efficient communication in distributed environments. This package enables you to deploy Flomesh ZTM on OpenWrt-supported devices.

Supported Platforms

Pre-built .ipk packages are available for the following platforms:

  • x86_64
  • arm_cortex-a9
  • arm_cortex-a7
  • mips_24kc
  • aarch64_generic
  • And more (check the releases section for the full list)

Installation

  1. Download the appropriate .ipk file for your platform from the releases page.

  2. Upload the .ipk file to your OpenWrt device.

  3. Install the package using the following command:

    opkg install ztm_<version>_<platform>.ipk
  4. Configure Flomesh ZTM according to your requirements.

Building from Source

If you want to build the package from source, follow these steps:

  1. Clone this repository:

    git clone https://github.com/flomesh/ztm-openwrt.git
    cd ztm-openwrt
  2. Ensure you have the OpenWrt build environment set up.

  3. Include the ztm package in your OpenWrt build configuration:

    make menuconfig

    Navigate to Network -> Flomesh ZTM and enable the package.

  4. Build the package:

    make package/ztm/compile
  5. The compiled .ipk file will be located in the bin/packages/ directory.

Usage

After installation, you can run ztm agent service

/etc/init.d/ztm_agent enable
/etc/init.d/ztm_agent start

Once service started you can access ztm console by visiting port 7777 of your openwrt router. Refer to the Flomesh ZTM Wiki for detailed usage instructions.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Submit a pull request with a detailed description of your changes.

License

This project is licensed under the Apache License.

Support

For support, questions, or feature requests, please open an issue in this repository or contact the Flomesh team at [email protected].