[stunnel-users] client-server tunnelling

Michał Trojnara Michal.Trojnara at mobi-com.net
Wed Jul 9 14:08:23 CEST 2008


Pietro Di Primo wrote:
> Hi, I have a client server application, and want to tunnel it in this
way:
> a script select a free port in a random way, write the stunnel.conf file.
> with "accept=<the_found_port>" and "connect=<my_server>" and run my
client
> application passing to 127.0.0.1:<the_found_port> as server address.
> The problem is that i need to be sure that no other client or user can
> access <the_found_port> while the application is running.
> I guess that it should be possible to do it, but i wasn't able to.

Simply bind the specific network interface with:
    accept=127.0.0.1:<the_found_port>

Best regards,
    Mike




More information about the stunnel-users mailing list