Skip to content

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

License

Notifications You must be signed in to change notification settings

expressvpn/lightway-laser

Repository files navigation

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