containerized tinyproxy
If you need to provide HTTP/HTTPS traffic for a remote firewalled machine, passing through your notebook:
docker run --rm --name tinyproxy --detach \
--publish 127.0.0.1:3128:3128 \
codewaysa/tinyproxy
ssh -R 3128:127.0.0.1:3128 <remote_system>
# on the remote system:
export http_proxy=http://127.0.0.1:3128 https_proxy=http://127.0.0.1:3128
If you want to run a proxy on a server on your networking:
docker run --restart always --detach --name tinyproxy \
--publish <YOUR_LAN_IPADDRESS>:3128:3128 \
codewaysa/tinyproxy
running a dockerized proxy server, using Puppet and the puppetlabs/docker
module
docker::run { 'tinyproxy':
image => 'codewaysa/tinyproxy',
expose => [$facts['ipaddress'], '3128', '3128'],
restart => 'always',
restart_service => true
}