How to connect to a proxy server

A proxy server can serve a variety of purposes, ranging from hiding the origin of traffic and caching to firewalling. While they’re generally not the best for security, they’re handy for other purposes, like bypassing geo-restrictions and speeding up your connection.

Assuming you have the necessary credentials (proxy server address and IP address) or the address of a proxy configuration script, the steps we have listed in this article will guide you to easily connect to a proxy server on different platforms.

How to configure a proxy on Windows

Here are the ways to connect to a proxy server on Windows:

Automatic proxy configuration

With Web Proxy Auto-Discovery (WPAD), the system attempts to locate a proxy configuration script through the WebProxy class in the following order:
WinINet Function (InternetQueryOption) > DHCP Server > DNS

If a script is found, it is downloaded, compiled, and executed, and an appropriate proxy server is used to send queries on behalf of the system. Assuming the scripts are available, this is the easiest way to setup a proxy, as you can see. Here’s how to enable automatic proxy detection:

  1. Press Win + I and select Network & Internet > Proxy.
  2. Activate it Automatically detect settings option.Windows proxy auto-detect settings

Proxy configuration with script

If you know the address of the proxy configuration scripts we discussed earlier, you can also use it to directly configure the proxy. This will be useful if auto-detection is not working. Here’s how to connect to a proxy server with this method:

  1. Press Win + I and go to Network & Internet > Proxy.
  2. In the Use Setup Script section, click Implement.
  3. Activate the button, enter the script addressthen press Save.

Manual configuration with server IP

The most common proxy configuration method is to directly use a proxy server IP address and port for manual configuration. Here’s how to connect to a proxy server using this method:

  1. Press Win + I and go to Network & Internet > Proxy.
  2. Under Manual proxy configuration, click Implement.
  3. Activate the button and enter the Proxy IP address and Port.
  4. If you want to specify addresses to not use the proxy for, you can enter them in the box and separate the entries with semicolons.
    manual windows proxy configuration
  5. Additionally, you can enable the Don’t use a proxy server for local addresses optional if needed.
  6. Review the configurations and press Save.

Configure Proxy for VPN

Windows proxy settings do not apply directly to VPN connections. You need to go to the VPN settings page and reconfigure the proxy separately. Here’s how:

  1. Press Win + I and select Network & Internet > VPN.
  2. Select the VPN connection and click Advanced options.
  3. In the proxy settings for this VPN connection section, click Edit.vpn proxy settings
  4. Configure the proxy using your preferred method. The steps are the same as above.

Connect to a proxy on Mac

Similar to Windows, Mac offers options for automatic and manual proxy server configuration. Here’s how to connect to a proxy server on macOS:

  1. Click on the Apple menu and select System Preferences > Network.
  2. Select Ethernet or Wi-Fi and navigate to Advanced > Proxies.
  3. Select a protocol to configure:
    • Select Automatic proxy discovery for automatic configuration.
    • Select Automatic proxy configuration to use a .pac file and enter its URL.
    • Select Secure Web Proxy (HTTPS), SOCKS Proxy, or one of the remaining options to manually configure the proxy server IP address and port.
    • If the proxy server requires authentication, enable the Proxy server requires password option and enter username and password.mac-proxy-protocols
  4. If you do not want to use the proxy for certain addresses, you can enter them in the Bypass proxy settings box.
  5. Review the configurations and press OK.

Connect to a proxy in Linux

On Ubuntuyou can go to Settings > Network > Network Proxy and easily configure the proxy through the GUI. However, a more universal method in most distributions is to configure persistent proxies by setting environment variables.

1. First, use sudo nano /etc/environment to open the environment file. Add the appropriate lines (lowercase and uppercase versions) for the type of proxy you are trying to configure. For example, we configured an HTTPS proxy, as an example in the image below.

environment etc

2. Additionally, you also need to create a file in /etc/apt/apt.conf.d/ called 95proxies with the following content so that the proxy is also applicable to apt commands:

Acquire::http::proxy "http://:/";
Acquire::ftp::proxy "ftp://:/";
Acquire::https::proxy "https://:/";

3. Restart your system and check if the proxy is working.

Connect to a proxy on Android

Android asks you to configure proxy settings for individual networks. And like on other platforms, you can use a PAC file for automatic configuration or configure the proxy manually. Here’s how to connect to a proxy server with one of these methods:

  1. Go to Settings > Wi-Fi.
  2. Press the Network details arrow next to the network for which you want to configure the proxy.
  3. Scroll down to Proxy and select Manual Where Automatic proxy configuration as you proxy settings

Connect to a proxy on iOS

Here’s how to connect to a proxy server on iOS:

  1. Go to Settings > Wi-Fi.ios-wifi-settings
  2. Tap the network for which you want to configure the proxy.
  3. Select Manual Where Automatique as you like.ios-http-proxy

Configure a proxy through a browser

You can also access the proxy configuration page from a browser’s settings, as browsers usually just redirect you to the system’s proxy settings. But some browsers like Firefox allow manual proxy configuration only for browser traffic. Here are the steps for this method:

  1. Launch the browser and open Settings.firefox-proxy-settings
  2. Enter proxy in the search bar or scroll down to the Network Settings section and click Settings.
  3. You can choose to use system proxy settings, auto-detect proxy settings, auto-configure with a URL, or enter values ​​to configure manually.firefox-manual-proxy-configuration
  4. You can also specify which connections are not proxy and configure additional options like DNS over HTTPS.firefox-proxy-settings
  5. Review the configurations and press OK.

How to Connect to a Proxy Server on PS4

First, configure the proxy server on your Windows or Mac system. Once done, write down the computer’s IP address and proxy port number and follow the steps below to configure your PS4 to use the proxy server on the computer:

  1. Go to Settings > Network > Connect to the Internet.
  2. Select the connection method (wired or wireless) and select Custom.
  3. If you selected WiFi, select your WiFi network and enter its password.
  4. On the DHCP Hostname screen, select Does not specify.
  5. Leave DNS settings and MTU settings on Automatique.
  6. Enter the Proxy server address and Port No. and press Next.
  7. Scroll right and save settings.
  8. You should test the proxy connection now. Assuming the computer is powered on and the proxy server is online, things should be fine.ps4-proxy-test-internet-connection

Comments are closed.