From cf3eb68f384746f8cc07c5918b64b3cb8a6a4a4e Mon Sep 17 00:00:00 2001 From: Andy Wang Date: Tue, 1 Oct 2024 23:25:33 +0100 Subject: [PATCH] Use host networks --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8086b86..aba2bfa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: "ProxyBook": { "iperf": [ "tcp", - "iperf-server:5201" + "127.0.0.1:5201" ] }, "BindAddr": [ @@ -58,10 +58,10 @@ jobs: } EOF - name: Start iperf3 server - run: docker run -d -p 5201:5201 ajoergensen/iperf3:latest --server + run: docker run -d --network host ajoergensen/iperf3:latest --server - name: Start Cloak server - run: docker run -d -p 80:80 -p 443:443 cbeuw/cloak:latest build/ck-server -c config/ckserver.json --verbosity debug + run: docker run -d --network host cbeuw/cloak:latest build/ck-server -c config/ckserver.json --verbosity debug - run: | make client - build/ck-client -c config/ckclient.json -s cloak-server --verbosity debug & + build/ck-client -c config/ckclient.json -s 127.0.0.1 --verbosity debug & docker run --network host ajoergensen/iperf3:latest --client 127.0.0.1 -p 1984 \ No newline at end of file