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

    Joined:
    Oct 12, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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:
    134
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
Loading...

Share This Page