Skip to content

Latest commit

 

History

History
65 lines (49 loc) · 1.76 KB

README.adoc

File metadata and controls

65 lines (49 loc) · 1.76 KB

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