Using Proxy Strings

In this section, we'll show practical examples of using the proxy string we've created. We'll focus on setting up HTTP/HTTPS and SOCKS5 connections, illustrated through examples in various programming languages.

Keep in mind that the ports will differ depending on the protocol (HTTP/SOCKS5). To choose between HTTP or SOCKS5 proxies, please refer to the 'Proxy access' panel within the 'Order Configuration' section. Order Configuration

HTTP/HTTPS

curl -v -x gb.4g.iproyal.com:7001:IqcDPwX:Cz6hB219pDaCgEG -L https://ipv4.icanhazip.com

SOCKS5

curl -v --socks5 gb.4g.iproyal.com:3008 --proxy-user IqcDPwX:Cz6hB219pDaCgEG -L https://ipv4.icanhazip.com

We suggest opting for the HTTP protocol instead of SOCKS5 when compatible with your software, due to the particularities of our hardware. While both protocols are supported and perform efficiently, issues encountered with HTTP are typically resolved more swiftly.

Last updated