mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
20 lines
329 B
Bash
Executable File
20 lines
329 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
source "./scripts/tests/lib.sh"
|
|
|
|
HTTPBIN=dns.httpbin
|
|
|
|
function run_test() {
|
|
echo "# Access httpbin by DNS"
|
|
client_curl_resource "$HTTPBIN/get"
|
|
|
|
echo "# Make sure it's going through the tunnel"
|
|
client_nslookup "$HTTPBIN" | grep "100\\.96\\.0\\."
|
|
}
|
|
|
|
run_test
|
|
|
|
docker compose stop api
|
|
|
|
run_test
|