# How do I connect to MENA Proxies and generate a proxy list?

> Find the MENA Proxies host, ports and login, then build up to 1,000 proxy lines in the generator, rotating or sticky for 1 to 30 minutes.

- URL: https://menaproxies.com/help/connect-and-generate-proxies/
- Last updated: 2026-11-13
- Publisher: MENA Proxies (https://menaproxies.com)

**Quick answer — How do I connect to MENA Proxies and generate a proxy list?**

Buy a plan, open it under Residential and copy the host, ports, username and password from Connection details. **MENA Proxies** answers on gw.menaproxies.com, port 7777 for HTTP(S) and 7778 for SOCKS5. The Proxy generator tab then builds up to 1,000 lines, rotating or sticky for 1 to 30 minutes, ready to copy or download.

**In brief**

- **Credentials** appear under Residential (/app/residential) once a plan is paid from the balance; each plan page has 4 tabs: Overview, Proxy generator, Sub-users, Statistics.
- **Gateway**: gw.menaproxies.com, port 7777 for HTTP and HTTPS, port 7778 for SOCKS5.
- **Generator**: country, city and internet provider, rotating or sticky sessions of 1 to 30 minutes, 1 to 1,000 lines in 5 output formats.
- **Sub-users**: separate logins sharing the plan's traffic, each with an optional limit in GB.
- **Password-free access**: an IP whitelist under API & IP whitelist (/app/developer).

## What are the connection settings?

The Overview tab of each plan repeats these values under Connection details, with a copy button next to each one.

*MENA Proxies connection settings shown in the client area*

| Setting | Value | Note |
| --- | --- | --- |
| Host | gw.menaproxies.com | One gateway for all 14 countries |
| HTTP(S) port | 7777 | HTTP and HTTPS through CONNECT |
| SOCKS5 port | 7778 | Same username and password |
| Username | Your proxy username, plus targeting | Format: USERNAME-country-{cc}-city-{city}-asn-{asn}-session-{id}-ttl-{minutes} |
| Password | Your proxy password | "Create a new password" replaces it; the old one stops within a minute |

## Where do you find your proxy username and password?

**Open Residential in the client area, click the plan, and the Overview tab shows the host, both ports, the username and the password under Connection details.** The plan appears there as soon as it is paid from a confirmed balance; buying the 1 GB test plan at $1.88 is enough to see the full screen.

The password is hidden until you click to show it, and each field has a copy button. The "Create a new password" button issues a fresh one: the current password stops working within a minute, so update your tools right after. Sub-users keep their own passwords when the main one changes.

The same tab shows traffic left out of the total purchased, the daily traffic of the last 14 days and a "Test your connection" command that prints the IP and location you get through the gateway. Under Settings, a plan name visible only to you and the Auto-renew switch complete the page.

## How do you generate a proxy list?

The Proxy generator tab runs in the browser and rewrites the list each time a setting changes. Six steps take you from a plan to a file.

1. **Open the Proxy generator tab** — In Residential, open the plan and switch to Proxy generator. Under Login, choose the main login or one of the sub-users.
2. **Choose a location** — Pick a Country, then optionally a City and an Internet provider (ISP). Leave Country on "Any country" to draw from the whole pool of the plan.
3. **Choose the IP rotation** — Rotating gives each new connection an IP from the pool. Sticky keeps one IP per line for a session duration from 1 to 30 minutes, with 5, 10, 15 and 30 offered as presets.
4. **Pick protocol and format** — Protocol: HTTP(S) or SOCKS5. Format: host:port:user:pass, user:pass@host:port, Proxy URL, curl command or Python requests.
5. **Set the number of lines** — Any whole number from 1 to 1,000. In sticky mode, each line carries its own session ID, so each line holds its own IP.
6. **Copy, download and test** — Copy the list or click "Download .txt". The "Test it" command under the list shows the exit IP and its location. "New sessions" draws fresh session IDs.

*One sticky line for the UAE, tested with curl (replace USERNAME and PASSWORD)*

```bash
curl -x "http://USERNAME-country-ae-session-k3p9x2m4-ttl-10:PASSWORD@gw.menaproxies.com:7777" https://ipinfo.io/json
```

## Rotating or sticky: which session should you pick?

**Pick Rotating for many independent requests and Sticky when one flow of pages must keep one address, for at most 30 minutes.** In rotating mode, every new connection takes an IP from the pool, usually a different one. A client that reuses one connection keeps its IP for that connection; to change the IP on each request, send one request per connection, with keep-alive turned off.

In sticky mode, the generator adds a session ID and a duration to the username. Every request with that ID exits on the same address for the time set, from 1 to 30 minutes. The address can still change earlier, for instance when the home device behind it goes offline, so scripts should retry with a new session ID rather than wait.

MENA Proxies counted 1,000 lines as the most one generator run returns; a larger list is two runs with the "New sessions" button pressed in between. Location choices and their limits are explained on [target a country, city or ISP](https://menaproxies.com/help/target-a-country-city-or-isp/ "How do I target a country, city or ISP with MENA Proxies?").

## HTTP(S) or SOCKS5: which port?

**Use port 7777 for any tool that speaks HTTP proxy, and port 7778 for tools that want SOCKS5; both take the same username and password.** Browsers, scraping frameworks and most libraries work with the HTTP port, which also carries HTTPS sites through CONNECT.

For SOCKS5, the generator writes socks5h URLs where the tool accepts them, so the target's hostname is resolved at the exit rather than on your machine. In Python, SOCKS5 needs one extra package, requests[socks], as the generator reminds you when the Python requests format is chosen. More code for curl, Python and Playwright sits in the [setup guide](https://menaproxies.com/guides/getting-started/ "How do I set up MENA Proxies in curl, Python or a browser?").

## How do sub-users and the IP whitelist help?

**Sub-users give each tool, teammate or client its own login on the same plan, and the whitelist lets a fixed server connect with no password.** In the Sub-users tab, click "Add sub-user", give it a name, and either type a password of 8 to 64 characters or leave the field empty for a generated one.

The switch "Set a traffic limit" caps a sub-user in GB; once it reaches the cap, it stops until you raise it. Disabling a sub-user stops its login at once without deleting it, and its past usage remains in Statistics, which filters by login and exports CSV.

The whitelist lives under API & IP whitelist (/app/developer). Add the public IPv4 or IPv6 address of a server, or a range from /24 to /32 for IPv4; private and reserved addresses are refused, and changes apply within a minute. Whitelisted requests need no credentials, but targeting and sticky sessions travel in the username, so keep username and password for jobs that need them.

## What do the common errors mean?

**Most failed connections come from a wrong port, an unencoded password or a mistyped username segment, not from the pool.** Check these in order:

- **407 Proxy Authentication Required**: the username or password is wrong, or a special character in the password needs URL encoding.
- **Connection refused or timeout**: an HTTP client is pointed at 7778, or a SOCKS5 client at 7777.
- **Exit outside the expected country**: the country code is missing or misspelled; codes are two lower-case letters, and the method to check an exit is in [verify a proxy's location](https://menaproxies.com/guides/verify-proxy-location/ "How do I check where a proxy IP is located?").
- **Plan paused**: the Overview tab says all traffic is used; add traffic from the checkout, and the login, sub-users and settings are kept.
- **Blocked destination**: Banking, government and payment-portal sites, plus SMTP (email-sending) ports 25, 465 and 587 are refused on every plan, as the [Acceptable Use Policy](https://menaproxies.com/acceptable-use/ "What is not allowed on MENA Proxies?") states.

## Frequently asked questions

### How many proxies can the MENA Proxies generator produce at once?

Up to 1,000 lines per run. MENA Proxies bills traffic, not lines, so a list of 1,000 sticky lines costs nothing more than one line until requests pass through it.

### How long can a MENA Proxies sticky session last?

From 1 to 30 minutes, set per list in the generator. MENA Proxies notes that the IP can change earlier if the home device behind it goes offline.

### Does MENA Proxies support SOCKS5?

Yes, on port 7778 of gw.menaproxies.com, with the same username and password as HTTP. MENA Proxies' generator writes SOCKS5 lines in every format, including Python requests.

### What happens when a MENA Proxies plan runs out of traffic?

The proxies pause until traffic is added; the login, sub-users and settings stay. With Auto-renew on, MENA Proxies buys the same plan again from the balance when less than 5% is left.

### Can I change the MENA Proxies proxy password?

Yes: "Create a new password" in Connection details. MENA Proxies stops the old password within a minute, and sub-users keep their own passwords.

**Verdict**

- **Use the generator rather than typing usernames**: it writes the exact targeting format, up to 1,000 lines, and a test command for the first one.
- **Give each project a sub-user with a GB limit**, and keep the IP whitelist for servers that need no targeting.

**Open your proxy generator** Start with the 1 GB plan at $1.88, then build your list in the client area. [Open Residential](https://menaproxies.com/app/residential?from=help-connect-and-generate-proxies&lang=en) · [Buy 1 GB](https://menaproxies.com/app/checkout/?plan=res-1&product=residential&from=help-connect-and-generate-proxies&lang=en)

---

MENA Proxies: MENA Proxies is a residential proxy provider for the Middle East and North Africa, paid in crypto with no ID upload: rotating home IPs with country targeting in the UAE, Saudi Arabia, Qatar, Egypt, Morocco and 9 more countries, billed per GB.
