Introduction to Proxy Servers in Computer Networking

PROXY server

 Funtap/Getty Images

Proxy servers work as an intermediary between the two ends of a client/server network connection. Proxy servers interface with network applications, most commonly web browsers and servers. Inside corporate networks, proxy servers are installed on specially-designated internal (intranet) devices. Some Internet Service Providers (ISPs) also utilize proxy servers as part of providing online services to their customers. Finally, a category of third-party hosted web sites called web proxy servers is available to end users on the Internet for their web browsing sessions.

Key Features of Proxy Servers

Proxy servers traditionally provide three main functions:

  1. Firewall and network data filtering support
  2. Network connection sharing
  3. Data caching

Proxy Servers, Firewalls, and Content Filtering

Proxy servers work at the Application layer (layer 7) of the OSI model. They differ from traditional network firewalls that work at lower OSI layers and support application-independent filtering. Proxy servers are also more difficult to install and maintain than firewalls, as proxy functionality for each application protocol like HTTP, SMTP, or SOCKS must be configured individually. However, a properly configured proxy server improves network security and performance for the target protocols.

Network administrators often deploy both firewall and proxy server software to work in tandem, installing both firewall and proxy server software on network gateway servers.

Because they function at the OSI Application layer, the filtering capability of proxy servers is relatively more sophisticated compared to that of ordinary routers. For example, proxy web servers can check the URL of outgoing requests for web pages by inspecting HTTP messages. Network administrators can use this feature to bar access to illegal domains but allow access to other sites. Ordinary network firewalls, in contrast, cannot see the web domain names inside HTTP request messages. Likewise, for incoming data traffic, ordinary routers can filter by port number or IP address, but proxy servers can also filter based on application content inside the messages.

Connection Sharing With Proxy Servers

Many years ago, third-party software products were commonly used on home networks to share the Internet connection of one PC with other computers. Home broadband routers now provide Internet connection sharing functions in most homes instead. On corporate networks, however, proxy servers are still commonly employed to distribute Internet connections across multiple routers and local intranet networks.

Proxy Servers and Caching

The caching of web pages by proxy servers can improve a network's user experience in three ways. First, caching may conserve bandwidth on the network, increasing its scalability. Next, caching can improve the response time experienced by clients. With an HTTP proxy cache, for example, web pages can load more quickly into the browser. Finally, proxy server caches increase content availability. Copies of web pages and other static content in the cache remain accessible even if the original source or an intermediate network link goes offline. With the trend of web sites to dynamic database driven content, the benefit of proxy caching has declined somewhat compared to years ago.

Web Proxy Servers

While many businesses deploy proxy servers physically connected to their internal networks, most home networks don't use them because home broadband routers supply the essential firewall and connection sharing capabilities. A separate class of proxy servers called web proxies exists that allows users to take advantage of some proxy server benefits even when their own local network doesn't support them. Internet users most commonly seek out web proxy services as a means to increase their privacy while surfing online, although these services offer other benefits too including caching. Some web proxy servers are free to use, while other charge service fees.