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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

    Oct 12, 2011
    Likes Received:
    Trophy Points:
    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@

    Then I use my Firefox to using this as SOCKS tunnel I always get the server's shared IP i.e(
    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 ​
    #1 bhappyz, Oct 12, 2011
    Last edited: Oct 12, 2011
  2. SB-Nick

    SB-Nick Well-Known Member

    Aug 26, 2008
    Likes Received:
    Trophy Points:
    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.

Share This Page