Thank you very much this works but what i exactly want to do is;
assume
eth0:0 has ip 111.111.111.111
eth0:1 has ip 222.222.222.222
if i open ssh to 111.111.111.111 then i want outgoing connections will be 111.111.111.111, and if i open ssh to 222.222.222.222 then i want outgoing...
I have one vps with multiple internet ip(virtual ethernet interfaces; eth0:0 and eth0:1 ) but i can only use one ip when i use as ssh tunneling(outgoing connections).
Solution is ip routing but it seems complicated.
Is there anyone explain step by step please ?
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.