Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Connect to SSH server everytime get a specific IP instead of the the shared

Discussion in 'Workarounds and Optimization' started by bhappyz, Oct 12, 2011.

  1. bhappyz

    bhappyz Registered

    Joined:
    Oct 12, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    I am using my server as a SOCKS host for my connection, I have like 20 IP address on the server but when I connect using SSH


    i.e ssh -C -2 -D 4567 root@74.74.215.100




    Then I use my Firefox to using this as SOCKS tunnel I always get the server's shared IP i.e(207.114.213.34)
    The question is how to get my server to give me the IP I requested when connecting and not the shared IP
    Knowing that I use WHM control panel and I have access to the root account so any tweak should be doable
    My server is

    CENTOS 5.7 i686 standard ​
    Thanks
     
    #1 bhappyz, Oct 12, 2011
    Last edited: Oct 12, 2011
  2. SB-Nick

    SB-Nick Well-Known Member

    Joined:
    Aug 26, 2008
    Messages:
    175
    Likes Received:
    9
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Re: Connect to SSH server everytime get a specific IP instead of the the sh

    I believe you posted this on the wrong board.
    Anyhow, you will likely need to learn about how iptables work or find a already made app that does this automatically for you such as ss5.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice