Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/expressvpn/lightway-laser
Lightway Laser is a reference point-to-point Linux client/server implementation for Lightway Core.
https://github.com/expressvpn/lightway-laser
vpn vpn-protocols vpn-server
Last synced: 17 days ago
JSON representation
Lightway Laser is a reference point-to-point Linux client/server implementation for Lightway Core.
- Host: GitHub
- URL: https://github.com/expressvpn/lightway-laser
- Owner: expressvpn
- License: gpl-2.0
- Created: 2021-08-10T07:06:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-26T07:14:09.000Z (about 1 year ago)
- Last Synced: 2024-07-30T21:00:42.036Z (3 months ago)
- Topics: vpn, vpn-protocols, vpn-server
- Language: C
- Homepage: https://www.expressvpn.com/lightway
- Size: 57.6 KB
- Stars: 27
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
////
Lightway Laser
Copyright (C) 2021 Express VPN International Ltd.This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
////
= Lightway Laser - Lightway Reference Client/ServerThis is an intentionally limited reference client/server application that creates a point-to-point
private connection between two Linux machines using https://github.com/expressvpn/lightway-core[Lightway Core].== Spin It All Up in Docker and Run an Integration Test
[source,bash]
docker compose -f docker-compose.yml -f docker-compose-run.yml up --exit-code-from cli== Spin Up Interactive Docker Containers for Live Builds
[source,bash]
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
+
[source,bash]
gem install ceedling. Setup the network (server-only)
+
[source,bash]
scripts/setup_nat_tun.sh. Build binary
+
[source,bash]
ceedling release. Start server
+
[source,bash]
scripts/run_server.sh. Start client (on a different machine or container)
+
[source,bash]
scripts/run_iperf_client.sh