Concerning the Netcat/Socat utility . From the man page, it seems like it is possible to create a secure proxy using netcat by which I could point my web browser to like a proxy server , that could fork/drive my web traffic through the proxy. Is this possible? Any hints on how to do this? Socat on windows is preferrable but netcat on linux is ok.
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
Using netcat or socat as proxy will only work for a single website, if at all. This is because your browser can't instruct netcat/socat to connect to a specific target IP. socat's proxy connection functionality is also limited to connecting to a single IP through an existing HTTP proxy. For an ad-hoc HTTP proxy, use ssh. This will open a socks 5 compatible server on port 8080: ssh -NCD8080 user@your.proxy.server Option -N removes shell, -C adds compression, -D is for socks proxy. Any browser supporting socks proxy can now connect to localhost port 8080. |
|||||
|