Integrations menu
Browser setup

Safari Proxy Setup on Mac: HTTP, HTTPS and SOCKS5

Safari has no proxy fields of its own: it follows the Mac's proxy in System Settings → Network → (your network) → Details… → Proxies, which Safari → Settings → Advanced → Proxies: Change Settings… opens. Turn on Web proxy (HTTP) and Secure web proxy (HTTPS), enter server gate.proxyfield.io and port 7000, turn on Proxy server requires password, add your username and password, and select OK. Safari does not pass a SOCKS5 password; use HTTP or the allowlist (the SOCKS proxy switch with your Mac's IP on the allowlist and the port you set up in the dashboard). ProxyField residential proxies cost from $1.95/GB ($2.95 for 1 GB). Start with the Easy Trial: 1 GB for $2.95, no subscription, and the traffic never expires.

residential IPs
412M+
from, traffic never expires
$1.95/GB
Easy Trial
1 GB for $2.95
gate.proxyfield.io:7000
What you enter for Safari
Proxies tab fieldProxyField value
Web proxy (HTTP)on: gate.proxyfield.io, port 7000
Secure web proxy (HTTPS)on: gate.proxyfield.io, port 7000
ProtocolsHTTP, HTTPS and SOCKS5, all on the same host and port
Proxy server requires passwordon
Username<login>-country-us-city-new_york; the optional keys are -country-<cc>, -region-<region>, -city-<city>, -session-<id> and -ttl-<seconds> (30 to 129,600 s, 20 min when ttl is left out); add -mobile or -dc right after the login for mobile or rotating datacenter IPs (-dc takes the country only)
Passwordyour ProxyField password
SOCKS proxySafari does not pass a SOCKS5 password; use HTTP or the allowlist: add your IP to the allowlist (up to 100 IPv4 addresses) and use the port you set up in the dashboard. Other tools take SOCKS5 with the same username and password, written socks5h:// in a proxy URL so the gateway resolves the site's name
No passwordadd your IP to the allowlist (up to 100 IPv4 addresses) and use the port you set up in the dashboard, with Proxy server requires password off
Auto proxy discovery, Automatic proxy configurationoff
Exclude simple hostnameson if you use local devices, such as a printer
IP behavioura new IP on every request, or one IP for 30 s to 36 h with -session-<id>-ttl-<seconds>
Headersthe gateway adds no Via, X-Forwarded-For or Forwarded header; the headers Safari sends pass through; your Proxy-Authorization is removed before the request goes to the site

Set up Safari with ProxyField

  1. Open Safari → Settings → Advanced and select Change Settings… next to Proxies.
  2. Turn on Web proxy (HTTP) with server gate.proxyfield.io and port 7000, turn on Proxy server requires password and enter your username and password.
  3. Turn on Secure web proxy (HTTPS) with the same server, port, username and password.
  4. Select OK and open https://api.ipify.org in Safari.

Check the username and password in Terminal before you enter them on the Proxies tab.

Shell
curl -x gate.proxyfield.io:7000 -U "<login>-country-us-city-new_york:<password>" https://api.ipify.org

Apple's own guide to this step: Set up a proxy server using Safari on Mac (Apple Support).

Mobile 5G/4G proxies cost $3.45/GB for 1 GB down to $2.45/GB from 1,000 GB, on the same gateway and the same balance.

Your credentials and the configurator, which generates as many proxy lines as you need, are in your ProxyField account once the payment is confirmed. Labels can differ slightly between versions.

On this page 11 sections

Where Safari's proxy settings are

Safari uses the macOS network proxy, so the settings live in System Settings, as Apple's guide Change proxy settings on Mac shows: Apple menu → System Settings → Network → (your network) → Details… → Proxies. What you set there applies to every app on the Mac that follows the system proxy, Safari included, and each network (Wi-Fi, Ethernet) keeps its own settings.

The Proxies tab lists its switches in this order. Which to turn on:

SwitchProtocolFor ProxyField in Safari
Auto proxy discoveryfinds proxy settings on the networkoff
Automatic proxy configurationa PAC file from a URLoff
Web proxy (HTTP)HTTPon, for plain http:// pages
Secure web proxy (HTTPS)HTTPSon, for https:// pages
SOCKS proxySOCKS (enter a SOCKS5 server here)on only for SOCKS5 with the IP allowlist

Set up an HTTP and HTTPS proxy in Safari

  1. In Safari, open Safari → Settings (⌘,) and select the Advanced tab.
    Screenshot Safari Settings, Advanced tab with Proxies: Change Settings
  2. Next to Proxies, select Change Settings…. System Settings opens on the Proxies tab of your active network.
  3. Turn on Web proxy (HTTP): server gate.proxyfield.io, port 7000. Turn on Proxy server requires password and enter your username, such as <login>-country-us-city-new_york, and your password.
    Screenshot macOS Proxies tab with Web proxy (HTTP) gate.proxyfield.io port 7000 and password on
  4. Turn on Secure web proxy (HTTPS) with the same server, port, username and password, so HTTPS sites go through the proxy too.
  5. Select OK. Back in Safari, open https://api.ipify.org: it shows the proxy's IP. https://ipinfo.io/json shows its country and city.
    Screenshot Safari showing the proxy IP on api.ipify.org

If Safari shows a sign-in box for the proxy, enter the same username and password. The full Mac setup, including Terminal commands with networksetup, is on Mac proxy settings.

Does Safari support SOCKS5? Yes, without a password: steps for Mac

Safari uses a SOCKS5 server through the macOS SOCKS proxy switch; macOS labels it "SOCKS proxy", and a SOCKS5 server goes there. Safari does not pass a SOCKS5 password; use HTTP or the allowlist. For SOCKS5, add your Mac's public IP to the allowlist in your ProxyField account first:

  1. Open Apple menu → System Settings → Network, select your network (Wi-Fi or Ethernet), click Details… and select Proxies. From Safari, Settings → Advanced → Proxies: Change Settings… opens the same tab.
  2. Turn on SOCKS proxy. Enter server gate.proxyfield.io and the port you set up in the dashboard for your allowlisted IP.
    Screenshot macOS Proxies tab with SOCKS proxy on and server gate.proxyfield.io
  3. Leave Proxy server requires password off.
  4. Select OK.
  5. In Safari, open https://api.ipify.org: it shows the proxy's IP.

With the IP allowlist, the product, location and session are set per port in the dashboard. To sign in with your username and password instead, use the Web proxy and Secure web proxy switches above. From Terminal, networksetup -setsocksfirewallproxy "Wi-Fi" gate.proxyfield.io <port>, with the port you set up in the dashboard, sets the same switch (Mac proxy settings). When SOCKS5 helps is covered on SOCKS5 proxies.

A proxy for Safari only

macOS sets one proxy for the whole network, so you can't give Safari a proxy that other apps skip. Safari extensions can't set a proxy either. Your options:

NeedHow
A proxy in one browser onlyUse a browser with its own setting: Firefox proxy settings
Different proxies for different sitesA rule-based extension in Chrome or Firefox, such as FoxyProxy
The whole Mac through the proxyThe system proxy above
Many separate browser profiles, each with its own IPAn antidetect browser

Safari on iPhone and iPad

Safari on iOS also follows the system: the proxy is set per Wi-Fi network in Settings → Wi-Fi → ⓘ → Configure Proxy → Manual, and Safari has no proxy option of its own. The steps, with the login and turning it off, are on iPhone proxy settings.

Country, city and sticky sessions

Change the location by editing the username in the Proxies tab, such as <login>-country-us-city-new_york for New York. Outside the US, use the two-letter country code in lowercase, as in -country-de. Targeting covers country, region (state) and city, with all 50 US states, at the same price per GB. In rotating mode every request gets a new IP; a sticky session keeps one IP from 30 s to 36 h, which suits a site where you stay signed in. Region, session and session time go in the same username: -region-<region>, -session-<id> and -ttl-<seconds> (30 to 129,600 seconds, 20 minutes by default), as in <login>-country-us-region-new_york-city-new_york-session-he9f2qga-ttl-600; every part after the login is optional. An IP idle for 120 s is replaced. Residential is the default; add -mobile after the login for mobile IPs: <login>-mobile-country-us.

Turn off the proxy in Safari

Open Safari → Settings → Advanced → Proxies: Change Settings…, turn off Web proxy (HTTP), Secure web proxy (HTTPS) and SOCKS proxy, and select OK. This turns the proxy off for the whole Mac on that network. Repeat for each network where you set one.

Fix Safari proxy errors

SymptomLikely causeFix
"Safari can't open the page" right after setupWrong server or portgate.proxyfield.io, 7000, on every switch you turned on
Safari keeps asking for a passwordWrong username, password or formatCopy them from your account; check the location part
HTTP sites change IP, HTTPS sites don'tOnly one of the two web proxies is onTurn on Secure web proxy (HTTPS) too
SOCKS proxy on, pages don't loadSafari does not pass a SOCKS5 passwordUse the IP allowlist with the password off and the port you set up in the dashboard, or the HTTP and HTTPS switches
Works on Wi-Fi, not on EthernetEach network has its own proxySet the proxy on that network as well
Some sites won't loadThe site blocks the IP, or a restricted categorySome site categories are restricted to protect the network, including financial and government services

Gateway error messages: 407 Proxy Authentication Required for a wrong login or password, an IP not on the allowlist or a malformed location, 402 Payment Required when no traffic is left and 502 Bad Gateway when no exit could be connected; a restricted site gets no separate response, and a 403 comes from the site itself. Codes are explained in proxy errors; a proxy that fails on every site has a checklist in why is my proxy not working. Test a proxy line on its own in the proxy checker: up to 100 proxies per check, and your list and results are not stored. Our 24/7 live chat helps with setup and integration.

Which proxies to use with Safari

What you doProxyPrice
See sites, prices and ads as a local visitorResidentialfrom $1.95/GB ($2.95 for 1 GB)
See sites as iPhone users on a carrier doMobile 5G/4Gfrom $2.45/GB ($3.45 for 1 GB)
One fixed IP for an account you sign in to dailyDedicated ISPfrom $2.29 per IP per 30 days

A proxy changes the IP and location sites see; it doesn't clear cookies or change Safari's fingerprint, and it is not a VPN (proxy vs VPN). Use ProxyField for public pages only, and follow each site's terms and our acceptable use policy.

Get started

Start with the Easy Trial: 1 GB for $2.95, with no minimum purchase and no subscription. The traffic never expires and all purchases are final. See pricing per GB.

Safari Proxy Setup on Mac FAQ

How do I set up a proxy in Safari?

ProxyField proxies work in Safari from $1.95/GB ($2.95 for 1 GB): open Safari → Settings → Advanced → Proxies: Change Settings…, turn on Web proxy (HTTP) and Secure web proxy (HTTPS) with gate.proxyfield.io and port 7000, and add your username and password. Select OK and check the new IP at https://api.ipify.org.

Does Safari support SOCKS5 proxies, and where do I set one up on a Mac?

Yes, but Safari does not pass a SOCKS5 password; use HTTP or the allowlist. Safari has no proxy setting of its own and follows the macOS SOCKS proxy switch: Apple menu → System Settings → Network → (your network) → Details… → Proxies → SOCKS proxy, where a SOCKS5 server goes. For ProxyField, add your Mac's IP to the allowlist, enter gate.proxyfield.io and the port you set up in the dashboard, leave Proxy server requires password off, and select OK.

Where are the proxy settings in Safari?

In Safari → Settings → Advanced, next to Proxies, select Change Settings…. It opens the Proxies tab of your network in System Settings, because Safari uses the Mac's network proxy.

Can I use a proxy in Safari only, and not in other apps?

No. Safari follows the macOS proxy, which applies to every app that uses the system setting on that network. For a browser-only proxy, use a browser with its own proxy setting, such as Firefox.

How do I add a proxy username and password in Safari?

On the Proxies tab, turn on Proxy server requires password for each proxy you use and enter your username, such as <login>-country-us-city-new_york, and your password. If Safari still shows a sign-in box, enter the same details there.

Why is Safari asking for my password?

The proxy needs a login and Safari has none saved, or the saved one is wrong. Enter the username and password from your ProxyField account, including the location part; a box that keeps coming back means one of them doesn't match.

How do I disable the proxy in Safari?

Open Safari → Settings → Advanced → Proxies: Change Settings…, turn off the web, secure web and SOCKS proxies, and select OK. That turns the proxy off for the whole Mac on that network.

How do I check the proxy connection in Safari?

Open https://api.ipify.org to see the exit IP, and https://ipinfo.io/json to see its country and city. If HTTP pages show the proxy but HTTPS pages don't, turn on Secure web proxy (HTTPS) as well.

What should I do if Safari proxies refuse to connect?

Check the server gate.proxyfield.io and port 7000 on every switch you turned on, then the username and password. If one network works and another doesn't, set the proxy on that network too, since macOS keeps it per network.

Do I need a Safari proxy extension?

No: Safari extensions can't set a proxy, and Safari takes the macOS proxy without one. For per-site rules or one-click switching, use a proxy extension in Chrome or Firefox instead.

Show 8 more questionsShow fewer questions

Can I manage multiple Safari proxies for different tasks?

Safari takes one proxy per network at a time; to switch, edit the location in the username in the Proxies tab. For several proxies at once, use separate browsers or an antidetect browser with one profile per proxy.

Can I use proxies and a VPN together in Safari?

Usually one of them takes over: with a VPN on, Safari's traffic may go through the VPN tunnel and skip or stack with the proxy. Use one at a time unless you know how your VPN handles the system proxy.

Will using proxies slow down my Safari browsing?

Each page takes one extra hop, so it can load a little slower than direct. ProxyField residential proxies have under 1 s typical response, according to our service data.

Do Safari proxies stop websites from tracking my activity?

No. A proxy changes the IP address and location sites see, but cookies, sign-ins and the browser's fingerprint still identify the browser. Use Safari's own privacy settings for tracking.

Which proxy is best for Safari?

ProxyField residential proxies, from $1.95/GB, for browsing as a local visitor in a chosen country or city, or mobile 5G/4G proxies, from $2.45/GB, to see what carrier users see. For one fixed IP for days, a dedicated ISP proxy costs from $2.29 per IP per 30 days.

How much do Safari proxies cost?

ProxyField charges per GB, not per browser: residential from $2.95/GB for 1 GB down to $1.95/GB from 1,000 GB, with no subscription. The traffic never expires.

What is a Safari proxy?

A proxy server that Safari's traffic goes through, set in the Mac's or iPhone's network settings. Sites then see the proxy's IP and location instead of yours.

How do Safari proxies help avoid geo-blocks?

A proxy in another country makes Safari appear to be there, so you see the public pages, prices and search results shown to local visitors. Set the country in the username, and stay within the site's terms and our acceptable use policy.

Easy Trial: 1 GB for $2.95.

Try for the price of 1 GB, no subscription, traffic never expires.