nxtreaming / lightway-laser

Lightway Laser is a reference point-to-point Linux client/server implementation for Lightway Core.

Home Page:https://www.expressvpn.com/lightway

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lightway Laser - Lightway Reference Client/Server

This is an intentionally limited reference client/server application that creates a point-to-point private connection between two Linux machines using Lightway Core.

Spin It All Up in Docker and Run an Integration Test

docker compose -f docker-compose.yml -f docker-compose-run.yml up --exit-code-from cli

Spin Up Interactive Docker Containers for Live Builds

docker compose -f docker-compose.yml -f docker-compose-dev.yml up
# In another terminal
docker compose exec server /bin/bash
# In yet another terminal
docker compose exec cli /bin/bash

Build and Run Client/Server

  1. Install ceedling

    gem install ceedling
  2. Setup the network (server-only)

    scripts/setup_nat_tun.sh
  3. Build binary

    ceedling release
  4. Start server

    scripts/run_server.sh
  5. Start client (on a different machine or container)

    scripts/run_iperf_client.sh

About

Lightway Laser is a reference point-to-point Linux client/server implementation for Lightway Core.

https://www.expressvpn.com/lightway

License:GNU General Public License v2.0


Languages

Language:C 95.4%Language:Shell 3.1%Language:Dockerfile 1.5%