github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/acceptancetests/repository/charms/squid-forwardproxy/README (about)

     1  A simple forward proxy use for testing closed or restricted network
     2  conditions.
     3  
     4  Squid 3 is set up as forward proxy for client hosts on a closed or
     5  restricted networks to access the outside network. Squid 3 can proxy
     6  FTP, HTTP, and HTTPS.
     7  
     8  This forward proxy works in tandem with the client-forwardproxy
     9  subordinate charm. Any Juju application or provisioned machine
    10  can be set up to use the forward proxy like so
    11  
    12      juju deploy squid-forwardproxy
    13      juju deploy xenial/ubuntu x1
    14      juju deploy client-forwardproxy --to 1
    15      juju add-relation client-forwardproxy:forwardproxy squid-forwardproxy:forwardproxy
    16  
    17  Squid listens on port 3128 and will proxy all requested sites by
    18  default. You can change the port. like so:
    19  
    20      juju config squid-forwardproxy port=4321
    21  
    22  You can restrict the sites that will proxied:
    23  
    24      juju config squid-forwardproxy sitenames="ubuntu.com canonical.com"