Score:0

tunel ssh: set remote listen ip

br flag

I want set a ssh tunel and Forward de remote ip/port to local ip/port

local has ip 192.168.1.20 remote has ip 12.0.3.213

so

ssh -R 12.0.3.213:6666:localhost:6666 <my_remote_user>@<my_remote_host>
my_remote_user@my_remote_host:~$ netstat -natp | grep -i listen | grep 6666
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 127.0.0.1:6666          0.0.0.0:*               LISTEN      -                   
tcp6       0      0 ::1:6666   

remote_host is listen on 127.0.0.1 instead 12.0.3.213.

How can I change the remote listen ip?

Score:0
br flag

I changed the remote_host sshd_config

GatewayPorts clientspecified

Then works.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.