Can anyone point me to a direction, on how to create a simple web proxy server (supports both http and https) in golang? My use case is like this:
machine A (does not have internet connectivity) -----> machine B (it has internet connectivity) ------> Internet
I am using machine A and I want to install proxy server app in machine B, so that all traffic from A goes to internet via B. A is a windows box and B is a linux one. I don't want to use ssh port forwarding as some applications like (node etc.) does not support socks proxy.
Thanks in advance.