Hi, Andreas can you bring some light in this?
Thank you On Wed, Jan 16, 2019 at 12:58 PM Alberto Garcia <agarciaill...@gmail.com> wrote: > Hi, > Just to clarify what I really want is to implement dynamic port forwarding > in my libssh server. > > Is there any documentation to achieve that? > > On Wed, Jan 16, 2019 at 12:05 PM Alberto Garcia <agarciaill...@gmail.com> > wrote: > >> Hi, >> >> I have a tool that makes use of libssh and creates a server and a client. >> The server listens at port 1234 and the client does a reverse connection to >> a OpenSSH server. I can see in the OpenSSH server the connection and I can >> do ssh localhost -p [port] being port whatever port binded by the client >> and it works fine. I get a shell. >> >> the problem is that using that tunnel as a SOCKS proxy doing ssh -p >> [port] -D 0.0.0.0:11223 localhost does not work. It does create a >> listening socket at port 11223 but when I set that port and IP on my >> browser to browse the internet it does not work. >> >> >> What should I add to my code to the libssh server so I can get SOCKS >> features? >> >> Thank you >> >> -- >> Alberto García Illera >> >> GPG Public Key <https://goo.gl/yshdwh> >> > > > -- > Alberto García Illera > > GPG Public Key <https://goo.gl/yshdwh> > -- Alberto García Illera GPG Public Key <https://goo.gl/yshdwh>