Skip to content

Commit

Permalink
Use host networks
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeuw committed Oct 1, 2024
1 parent 0364a32 commit cf3eb68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
"ProxyBook": {
"iperf": [
"tcp",
"iperf-server:5201"
"127.0.0.1:5201"
]
},
"BindAddr": [
Expand All @@ -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

0 comments on commit cf3eb68

Please sign in to comment.