Find the answer to your Linux question:
Results 1 to 6 of 6
Hi. i have configured squid as proxy server. When ever any client send email, its originating IP becomes the IP of the proxy server. i want to ask how can ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Posts
    14

    users original IP using Squid


    Hi.
    i have configured squid as proxy server.
    When ever any client send email, its originating IP becomes the IP of the proxy server.
    i want to ask how can i forward real IP of client instead of IP of proxy .

    so that when ever any client send email. it shows Client IP address instead of my Proxy server IP address.

    Thank you.

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,892
    Proxies dont generally handle email in this way - it could be that you're using the sendmail or other MTA that also happens to be on your box running squid.

    You've probably got it set up so that your mail client sends to your local mail server (on your squid server machine) which then sends to your ISP's mail server.

    You could try changing the client settings so that it talks directly to your ISP mail server rather than your local mail server, that might provide the solution.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined!
    Join Date
    Jan 2006
    Posts
    1

    Squid....

    I had installed squid many times. I am also tring that client IP address should directly go outside instead of squid server's IP address. If i find something i will post it.

  4. #4
    Just Joined!
    Join Date
    Sep 2005
    Posts
    14

    hello

    any body there?

  5. #5
    Linux User
    Join Date
    Apr 2005
    Location
    Ohio
    Posts
    326
    One of the reasons you use a proxy is to mask the real IP's of the users behind the IP of hte proxy.. that is exactly how it is supposed to function.

    Look up proxy server

    The IP address on the outbound side of the proxy is the one the Internet sees, and the address of the machine making the request is hidden to the outside world. Proxies are used in conjunction with network address translation (NAT), which hides all the IP addresses of the client machines on the internal network
    far...out

  6. #6
    Just Joined!
    Join Date
    Jan 2006
    Posts
    77
    the only thing i can think of is enabling X-FORWARDED-FOR (or something like that) in squid. it's supposed to be some sort of flag but i'm not sure if squid has this option. a google on that flag might help.

Posting Permissions

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