-
Notifications
You must be signed in to change notification settings - Fork 349
Open
Description
Problem:
The -i option for exposing the health status endpoint does not seem to work on macOS. When running wireproxy with the following command:
wireproxy -c ~/.config/wireproxy/wireproxy.conf -i "127.0.0.1:9080"The server starts successfully, and the SOCKS5 and HTTP proxies bind to their respective ports (127.0.0.1:1080 and 127.0.0.1:8080). However, the health status endpoint (127.0.0.1:9080) does not respond to curl requests, and the check_wireproxy.sh script reports that the server is not running.
Configuration:
Here is the wireproxy.conf file used:
WGConfig = /Users/pritam/Downloads/wg.conf
LogLevel = info
[Socks5]
BindAddress = 127.0.0.1:1080
UDPForwarding = true # Enables UDP for DNS resolution over SOCKS5
[http]
BindAddress = 127.0.0.1:8080
EnableMetrics = true
Step, which I have used:
- Use the above
wireproxy.conffile. - Run the following command:
wireproxy -c ~/.config/wireproxy/wireproxy.conf -i "127.0.0.1:9080"
- Check the health status endpoint:
# Define the health status endpoint HEALTH_ENDPOINT="127.0.0.1:9080" # Check if the server is running if curl --silent --fail "$HEALTH_ENDPOINT" >/dev/null; then echo "Wireproxy server is running successfully." else echo "Wireproxy server is NOT running." exit 1 fi
- Observe that the health status endpoint does not respond.
Observed Behavior:
- The SOCKS5 proxy (
127.0.0.1:1080) and HTTP proxy (127.0.0.1:8080) work as expected. - The health status endpoint (
127.0.0.1:9080) does not respond tocurlrequests.
Expected Behavior:
The health status endpoint should respond to curl requests and provide information about the server's health.
System Information:
- Operating System: Macbook air m2 with [OS: macOS 26.1 25B78 arm64]
- Wireproxy Version: wireproxy, version 1.0.9
Metadata
Metadata
Assignees
Labels
No labels