4haiko/dante-socks5-proxy

By 4haiko

Updated about 2 years ago

socks5 proxy

Image
Networking
Operating systems
1

50K+

4haiko/dante-socks5-proxy repository overview

Overview This Docker image sets up a Dante SOCKS5 proxy server based on Alpine Linux. It allows you to specify the port, username, and password through environment variables at runtime.

How to Use To run the Dante SOCKS5 proxy server with this image, use the following command:

sh docker run -d --name socks5-proxy -p 1080:1080 -e PORT=1080 -e USERNAME=myuser -e PASSWORD=mypassword yourusername/dante-socks5-proxy Environment Variables PORT: Port on which the proxy server will listen (default: 1080). USERNAME: Username for authentication (default: danteuser). PASSWORD: Password for authentication (default: dantepassword). Example sh

docker run -d --name socks5-proxy -p 1080:1080 -e PORT=1080 -e USERNAME=myuser -e PASSWORD=mypassword yourusername/dante-socks5-proxy Replace yourusername with your Docker Hub username, and set PORT, USERNAME, and PASSWORD to your desired values.

Testing the Proxy To test the SOCKS5 proxy, you can use the curl command:

sh Копировать код curl -x socks5h://myuser:mypassword@localhost:1080 http://example.com You should see the HTML content of http://example.com if the proxy is working correctly.

Browser Configuration You can also configure your browser to use this SOCKS5 proxy:

Google Chrome Open Chrome settings. Scroll down and select "Advanced." In the "System" section, select "Open proxy settings." Configure the proxy with the following settings: Protocol: SOCKS5 Address: localhost Port: 1080 Username: myuser Password: mypassword Firefox Open Firefox settings. Go to the "Network Settings" section and select "Settings." Choose "Manual proxy configuration." Set the following values: SOCKS Host: localhost Port: 1080 SOCKS v5 Username: myuser Password: mypassword Logging To view the logs of the running container:

sh docker logs socks5-proxy This will help you diagnose any issues with the proxy server.

Tag summary

Content type

Image

Digest

sha256:aba167db3

Size

6 MB

Last updated

about 2 years ago

docker pull 4haiko/dante-socks5-proxy