The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Last login from: **.*.***.***

Discussion in 'General Discussion' started by a2zpattaya, May 12, 2006.

  1. a2zpattaya

    a2zpattaya Member

    Joined:
    May 12, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Whenever I login to my cPanel I get greeted with:

    Welcome MyDomain.com! Last login from: MyTrueIPAddress

    I'm generally behind a High Security proxy, and have tried all manner of IP address tests (PHP,Java,PERL, etc) all over the web and all they can give me is my proxy address. The greeting message however gives my True IP Address.

    How is that done? It really is great.
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    What proxy settings do you have in your browser? If you check, you'll notice that your web proxy is set for port 80. This means it will only act as a proxy for traffic on port 80.

    cPanel is accessed through ports 2083 or 2083 and so traffic on these ports will be going direct and not through your proxy.
     
  3. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Since it's showing your IP address, it means you are going to your cpanel through port 2082, insecure, rather than 2083, secure. If you go through port 2083, it'll show the IP address as 127.0.0.1.
     
  4. a2zpattaya

    a2zpattaya Member

    Joined:
    May 12, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Answer

    I have no settings for proxy. The type of Proxy Server (Bluecoat) my ISP uses is, as best as I can determine, fully automatic and sits between the first server I connect to (My ISP) and the web. It appears to be set as High Anonymous and therefore does not pass server variables such as HTTP_X_FORWARDED_FOR.

    webignition: I have no idea what ports they allow in the proxy. Your idea sounds about right as cPanel is the only thing that I need a port number for, and that's the only place that sees MyRealIP.

    PWSowner: I can use http://www.MyDomain.com:2082 but not http://www.MyDomain.com:2083. https://www.MyDomain.com:2083 is however valid. In both cases I get MyRealIP never 127.0.0.1. That probably is because I'm entering cPanel on a different computer than the server from the other side of the world. Hence I'm not LocalHost.

    Thanks anyway for all your help guys. I'll have to try and persuade my ISP to change the proxy to a Transparent one.
     
  5. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    That's because port 2083 requires https to work. 2083 is for secure and therefore won't work without the s.

    What method it cPanel uses to get the IP address is probably buried in the compiled source code.
     
Loading...

Share This Page