SOCKS5 protocol uses an encrypted base64 string for authentication.
Therefore, when using SOCKS5, if you need to define a proxy IP country (-country-<COUNTRY_CODE>), you will have to convert your basic authentication information into base64 token:
- Browse https://www.base64encode.org
- Encode lum-customer-<YOUR_CUSTOMER_ID>-zone-<YOUR_ZONE>-country-<COUNTRY>:<ZONE_PASSWORD> to Base64 format token
- Use the "Basic authorization token" header you generated on the SOCKS5 request that you send the Proxy Manager port:
curl --socks5 127.0.0.1:24000 "http://lumtest.com/myip.json" -H "Proxy-Authorization: Basic <Basic authorization token>" -v
- Check the response you got: you will see that SOCKS5 protocol is being used. and that the proxy country IP is the one you set