Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Networking»How To Connect To A Proxy Server

How To Connect To A Proxy Server

Anup ThapaBy Anup ThapaAugust 27, 2022
how to connect to a proxy server

A proxy server can serve various purposes, from disguising traffic origin and caching to acting as a firewall. 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 to a Proxy Configuration Script, the steps we’ve listed in this article will guide you to connect to a proxy server easily on various platforms.

Table of Contents

  • How to Set Up A Proxy On Windows
    • Automatic Proxy Setup
    • Proxy Setup With Script
    • Manual Setup With Server IP
    • Set Up Proxy For VPN
  • Connect To A Proxy On Mac
  • Connect To A Proxy On Linux
  • Connect To A Proxy On Android
  • Connect To A Proxy On iOS
  • Set Up A Proxy Through A Browser
  • How To Connect To A Proxy Server on PS4

How to Set Up A Proxy On Windows

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

Automatic Proxy Setup

With Web Proxy Auto-Discovery (WPAD), the system tries 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’s downloaded, compiled, and run, and an appropriate proxy server is used to send requests on behalf of the system. Assuming the scripts are available, this is the easiest way to set up a proxy, as you can see. Here’s how you can enable automatic proxy detection:

  1. Press Win + I and select Network & Internet  > Proxy.
    network-and-internet-proxy-settings
  2. Enable the Automatically detect settings option.
    windows-proxy-automatically-detect-settings

Proxy Setup With Script

If you know the address of the proxy configuration scripts we discussed earlier, you can also use it to set up the proxy directly. This will be useful if automatic detection doesn’t work. Here’s how to connect to a proxy server with this method:

  1. Press Win + I and navigate to Network & Internet  > Proxy.
  2. In the Use setup script section, click on Set up.
    windows-proxy-use-setup-script
  3. Toggle the button on, enter the script address, and press Save.

Manual Setup With Server IP

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

  1. Press Win + I and navigate to Network & Internet  > Proxy.
  2. Under Manual proxy setup, click on Set up.
    windows-use-a-proxy-server
  3. Toggle on 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.
    windows-manual-proxy-setup
  5. Additionally, you can enable the Don’t use proxy server for local addresses option if necessary.
  6. Review the configurations and press Save.

Set Up Proxy For VPN

Windows Proxy settings don’t directly apply in the case of VPN connections. You must go to the VPN’s settings page and configure the proxy again separately. Here’s how you can do so:

  1. Press Win + I and select Network & Internet  > VPN.
  2. Select the VPN connection and click on Advanced options.
    vpn-advanced-settings-windows
  3. In the proxy settings for this VPN connection section, click on Edit.
    vpn-proxy-settings
  4. Set up 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 both automatic and manual proxy server setup. 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 go to Advanced > Proxies.
    mac-ethernet-advanced
  3. Select a protocol to configure:
    • Select Auto 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 any of the remaining options to manually set up the proxy server’s IP address and port.
    • If the proxy server requires authentication, enable the Proxy server requires password option and enter the username and password.
      mac-proxy-protocols
  4. If you don’t 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 On Linux

On Ubuntu, you can go to Settings > Network > Network Proxy and easily set up the proxy via the GUI. However, a more universal method across most distros is to set up persistent proxies by setting environment variables. 

1. First, use sudo nano /etc/environment to open the environment file. Add the appropriate lines (both lower and upper case versions) for the proxy type you’re trying to set up. For instance, we’ve set up an HTTPS proxy, as an example in the picture shown below.

http_proxy="http://<proxyserver>:<portno>/"
https_proxy="http://<proxyserver>:<portno>/"
ftp_proxy="http://<proxyserver>:<portno>/"
no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
HTTP_PROXY="http://<proxyserver>:<portno>/"
HTTPS_PROXY="http://<proxyserver>:<portno>/"
FTP_PROXY="http://<proxyserver>:<portno>/"
NO_PROXY="localhost,127.0.0.1,localaddress,.localdomain.com"
etc environment

2. Additionally, you should also create a file in /etc/apt/apt.conf.d/ called 95proxies with the following contents so that the proxy will be applicable for apt commands as well:

Acquire::http::proxy "http://<proxyserver>:<portno>/";
Acquire::ftp::proxy "ftp://<proxyserver>:<portno>/";
Acquire::https::proxy "https://<proxyserver>:<portno>/";

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

Connect To A Proxy On Android

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

  1. Go to Settings > WiFi.
    wifi-network-details-android
  2. Tap the Network Details arrow next to the network you want to set up the proxy for.
  3. Scroll down to Proxy and select Manual or Proxy Auto-Config as you prefer.
    android-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 you want to set up the proxy for.
  3. Select Manual or Automatic as you prefer.
    ios-http-proxy

Set Up A Proxy Through A Browser

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

  1. Launch the browser and open Settings.
    firefox-settings-proxy
  2. Enter proxy in the search bar or scroll down to the Network Settings section and click on Settings.
  3. You can choose to use system proxy settings, auto-detect proxy settings, auto-configure with a URL, or enter the values to configure manually.
    firefox-manual-proxy-configuration
  4. You can also specify which connections are not proxied 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, set up the proxy server on your Windows or Mac system. Once that’s done, note the computer’s IP address and port number of the proxy and follow the steps listed 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. In the DHCP Host Name screen, select Do not specify.
    dhcp-host-name-do-not-specify-ps4
  5. Leave DNS Settings and MTU Settings to Automatic.
  6. Enter the Proxy Server Address and Port No and press Next.
    proxy-server-ps4
  7. Scroll to the right and save the settings.
  8. You should test the proxy connection now. Assuming the computer is powered on, and the proxy server is online, things should proceed smoothly.
    ps4-proxy-test-internet-connection
how-to
Anup Thapa
  • LinkedIn

Anup Thapa is a tech writer at TechNewsToday. He mostly writes informative articles, tutorials, and troubleshooting guides related to Windows systems, networking, and computer hardware. Anup has been writing professionally for almost 5 years, and tinkering with PCs for much longer. His love for all things tech started when he got his first PC over 15 years ago. It was a Pentium IV system running Windows XP on a single 256 MB stick. He spent his formative years glued to this PC, troubleshooting any hardware or software problems he encountered by himself. Professionally, Anup has had brief forays into a variety of fields like coding, hardware installation, writing, etc. In doing so, he's worked with people of different backgrounds and skill levels, from average joes to industry leaders and experts. This has given him not just a versatile skillset, but also a unique perspective for writing that enables him to concisely communicate complex information and solve his reader's problems efficiently. You can contact him at anup@technewstoday.com

Related Posts

wifi-keeps-disconnecting-windows-11

Wi-Fi Keeps Disconnecting on Windows 11? 9 Ways to Fix It

February 26, 2023
windows-cannot-access-network-drive

Fix: Windows Cannot Access Network Drive

February 23, 2023
how to check wifi speed in laptop

3 Simple Ways to Check Wi-Fi Speed in Laptop

February 23, 2023
network_adapter_not_working

Network Adapter Not Working? 15 Ways to Fix It

February 22, 2023
Surface WiFi Not Working

Why is My Wi-Fi Not Working on Surface Laptop? 10 Ways to Fix It

February 22, 2023
change-network-profile-windows

4 Ways to Change Network Profile in Windows

February 22, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
Memory-Compression

What is Memory Compression in Windows? Should You Enable or Disable It

March 1, 2023
dism-vs-sfc-vs-chdsk

DISM, SFC, CHKDSK: What’s the Difference

February 28, 2023
bios-settings-for-gaming

Best BIOS Settings for Gaming

February 16, 2023
You may also like
how-to-clean-hp-printer-rollers

How to Clean HP Printer Rollers

March 3, 2023
keyboard input lag

9 Ways to Fix Keyboard Input Lag

March 3, 2023
keyboard key is stuck

How to Fix a Stuck Key on a Keyboard

March 3, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.