Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2008

    How to configure reverse proxy Squid to hide client IP?


    I was able to configure Squid as a forward proxy and hide IP of clients when used through browser proxy config.

    However, I want to reconfig my Squid as a reverse proxy to shield between my users and the server.

    I'm using host file to redirect request.

    For example, if User A enters "", the host file will redirect the request to Squid. Squid will then act as a reverse proxy and communicate with "". Users' real IP will be hidden and "" will be fooled into thinking the actual request comes from Squid.

    I'm able to redirect the request to squid but "" can still see client's real IP address.

    Please help and thank you!
    Attached Thumbnails Attached Thumbnails squid.jpg  

  2. #2
    Join Date
    Mar 2009

  3. #3
    Join Date
    Mar 2003
    Moved > Hosting Security and Technology.
    Specially 4 You
    JoneSolutions.Com ( Jones.Solutions ) is on the net 24/7 providing stable and reliable web hosting solutions and services since 2001

  4. #4
    Join Date
    Jun 2008

    I tried the reverse proxy on and it worked except showing "suspected" network sharing device.

    However, I tried again on and the HTTP header returned my real IP.

    This is my config in Squid:

    http_port 80 accel
    cache_peer parent 80 0 no-query originserver name=myAccel
    acl our_sites dstdomain
    http_access allow our_sites
    cache_peer_access myAccel allow our_sites
    #cache_peer_access myAccel deny all

  5. #5
    Join Date
    Oct 2007
    Northampton, UK
    You could try telling squid to strip out some headers -

    header_access From deny all
    header_access Referer deny all
    header_access Server deny all
    header_access WWW-Authenticate deny all
    header_access X-Forwarded-For deny all
    header_access Via deny all
    header_access Link deny all
    SysAdminMan - Asterisk PBX hosting - FreePBX, A2Billing and Elastix

  6. #6
    Join Date
    Mar 2009
    "suspected" network sharing device. = you are probably sending a "Via: Squid x.x" or something

    Fox does a lot of tomfoolery, from flash to DNS geolocation

Similar Threads

  1. Set Up a Private Proxy or Squid Proxy Server Website
    By handsomeabhi in forum Systems Management Requests
    Replies: 8
    Last Post: 08-20-2010, 09:42 AM
  2. Squid Proxy Showing Client's IP Address
    By sam7777 in forum Hosting Security and Technology
    Replies: 2
    Last Post: 08-17-2009, 03:12 PM
  3. Reverse Proxy for Server-A through Server-B using Squid
    By qwer2007 in forum Hosting Security and Technology
    Replies: 1
    Last Post: 06-12-2007, 12:58 AM
  4. Squid Proxy Help
    By white_2kgt in forum Hosting Security and Technology
    Replies: 1
    Last Post: 05-09-2006, 06:37 PM
  5. Squid proxy doesn't hide the client IP and infos
    By FIAHOST in forum Hosting Security and Technology
    Replies: 4
    Last Post: 03-12-2006, 02:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts