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
-
Install ceedling
gem install ceedling
-
Setup the network (server-only)
scripts/setup_nat_tun.sh
-
Build binary
ceedling release
-
Start server
scripts/run_server.sh
-
Start client (on a different machine or container)
scripts/run_iperf_client.sh