A Syrian proxy for software and scripts
If your software or script accepts a proxy setting, you do not need an app. Connect to gw.syriaproxy.com with a username and password, and the request exits from the Syriatel 4G network inside Syria.
Connection details
- SOCKS5 and HTTP: port 2080.
- HTTPS: port 2443.
- Username and password: under Connect in your account. Copy as link puts them into a single URL that most software accepts.
In the examples below, replace USER and PASS with your own details.
A quick test with curl
curl -x "socks5h://USER:PASS@gw.syriaproxy.com:2080" https://api.ipify.org curl -x "http://USER:PASS@gw.syriaproxy.com:2080" https://api.ipify.org curl -x "https://USER:PASS@gw.syriaproxy.com:2443" https://api.ipify.org
Each line prints the Syrian address the request left from. The socks5h scheme makes domain names resolve in Syria rather than on your machine.
Python
With the requests library, after installing SOCKS support with pip install "requests[socks]":
import requests
proxy = "socks5h://USER:PASS@gw.syriaproxy.com:2080"
r = requests.get("https://api.ipify.org",
proxies={"http": proxy, "https": proxy}, timeout=30)
print(r.text)
For HTTP, change the scheme to http:// and keep the same port.
Which protocol to choose
- HTTPS: the connection between your device and our server is encrypted, including the username and password. Use it if your software supports it.
- SOCKS5 and HTTP: not encrypted between your device and our server. The content of https sites stays protected by their own encryption.
Static address or new address
Address type in your account sets how your main username behaves. Static keeps the same address for about two hours, until Syriatel changes it. Rotating changes it automatically. Request a new address switches it right away.
If you need several sessions at once, the Proxy generator in your account gives you a ready list. You choose the protocol, the number and the format, and for Static a duration from 10 to 120 minutes.
Limits to know about
- Mail ports 25, 465 and 587 are blocked. Everything else that is not allowed is listed in the Acceptable use policy.
- The addresses are shared mobile addresses, and we cannot guarantee that every website accepts them.
Questions
Does proxy usage come from the same balance?
Yes. One balance covers every way of connecting, at $5.00 per GB sent and received. See Pricing.
Why do some sites still see my real address?
Usually because the software does not send all of its requests through the proxy. Make sure the setting applies to every request, and with SOCKS5 use socks5h or turn on Proxy DNS.
My script stopped after a password change. Why?
New password in your account stops the old proxy password in all your software at once. Put the new one in every program that uses the proxy.
The illustrated steps are in Proxy setup. For other questions, see the FAQ. For an overview of the service, see Syrian proxy.