This package implements a TCP proxy that uses PGP encryption.
To see this in action run:
go run server/main.go
and then
go run client/main.go
and point your browser to localhost:9003
.
You will be able to browse www.imdb.com through the proxy.
The server supports the following flags:
-l interface:port
- Sets the server's listen address.
-o address:port
- Sets the address of the remote server. This defaults to www.imdb.com:80
.
The client supports the following flags:
-l interface:port
- Sets the client's listen address.
-o address:port
- Sets the address of the proxy server.