On 20 Jul 2006 at 14:50, LoopBack Inc wrote:
Hello Ian,
Yes thats excatly what I want to do.
In fact, if possible, this I haven't described yes, I would like to encript every program I want through PC2, used as a proxy, like you said. But if it would work with the http it wouldn't be bad.
Thank you for your reply.
Hi,
Ok, this has clarified things for me.
Another question, do you have a copy of the proxy program (SocksCap ?) running on PC2?
If not then this is the problem. I believe that stunnel does not itself act as a proxy. It simply acts as a tunnel.
From your description of your config I suspect that you should have a
second copy of SocksCap listenening on PC2 which will forward data onto the internet.
A quick example:
PC1:
SocksCap listening on port 8080 ( for example) forwards to 127.0.0.1:500 stunnel listening on port 500, forwarded any data to PC2 port 500
PC2:
stunnel listening on port 500 forwards data to 127.0.0.1:8080 SocksCap listening on port 8080 forwards data out to the internet.
This will encrypt data between PC1 & PC2 but after that it will be back in plain.
In order to test this I would break it down into its individual components and test each stage. I recommend downloading netcat (http://netcat.sourceforge.net/ or google for it) and learn how to use it. Sorry I can't help you with this bit, its better if you learn it yourself - and once you have you will wonder how you ever managed without it ;)
Regards
Ian