≡ Menu

Squid Proxy Server Change Outgoing IP Address

I have Squid caching proxy server deployed on Rackspace based server in UK. This server has four IP address. I would like to change outgoing IP addresses from default to How do I change proxy server outgoing IP address under Linux or Unix operating systems?

You need to configure the option tcp_outgoing_address in squid.conf file. This option allows you to map requests to different outgoing IP addresses. The IP address can be based on the username or source address of the user making the request. The syntax is:

tcp_outgoing_address YOUR-IP-ADDRESS-HERE


Edit the squid.conf file:
# vi /etc/squid/squid.conf
Find or add the following configuration directive:


Save and close the file. Reload the squid proxy server / config file changes by typing the following command:
# squid -k reconfigure
# srinivas May 13, 2013, 9:01 am

I installed squid transparent proxy server in one system(eth0= ,eth1= I deployed one application in one system (proxy Client, eth0= .We have router with IP

Now i can access this application from lan (proxy server area .But i am unable to access this application from and External network.

Can you please help me how can i give remote access of app. of proxy client system.

Thanks, Srinivas

  • srinivas June 1, 2013, 11:27 am

    please help me , i searched a lot but i didnt find any where.

    • bobbi jo June 6, 2015, 2:39 am

      hey squid can u please tell me your server that u play on and what day and what time
      thank u

  • Abdulraziq April 26, 2016, 5:39 am

    Guys, i need my web cache to show client or system’s exact IP public address instead of showing its own IP.

    Thanks in advance.

  • Security: Are you a robot or human?

    Leave a Comment

    You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">