Proxy server with squid using docker image

Proxy server with squid

When using the docker image at https://hub.docker.com/r/minimum2scp/squid

Confirmed on Ubuntu 20.04.

Ubuntu side settings

docker run --rm --name proxy-squid -d -p 3128:3128 minimum2scp/squid
sudo apt install -y firewalld
sudo firewall-cmd --zone=public --add-port=3128/tcp  --permanent
sudo firewall-cmd --reload

client

When trying on a proxy server

curl  --proxy http://localhost:3128 https://www.yahoo.co.jp

When trying on another machine

proxy.address is the proxy address

curl  --proxy http://proxy.address:3128 https://www.yahoo.co.jp

Recommended Posts

Proxy server with squid using docker image
Build an authentication proxy server using Docker
Using PlantUml with Honkit [Docker]
Register your own Docker image with ECR using AWS CLI
Run lambda with custom docker image
Run SQL Server with Docker ToolBox
Migrate Docker image to another server
Restart apache with docker php-apache image
Use cuda11.0 with pytorch using Docker
Using proxy service with Java crawling
Image Spring Boot app using jib-maven-plugin and start it with Docker
I tried using Scalar DL with Docker
Allow image posting with [Docker + WordPress + MySQL]
Image flew when updating Docker with WSL2
GPU recognition with docker using WSL2 (August 2020)
Try using Kong + Konga with Docker Compose.
POST image with multipart / form-data using Moya
I tried to verify AdoptOpenJDK 11 (11.0.2) with Docker image
Start SQL Server with Docker & register initial data
How to give your image to someone with docker
Update container image with KUSANAGI Runs on Docker
Launch Docker image with initial data injected with docker-compose
Make Volume faster when using Docker with vscode.
A quick note on using jshell with the official Docker image of the JDK
Try using another Servlet container Jetty with Docker
Push the image to docker hub using Jib
Until you try running Apache Kafka with docker image
[ARM64] Docker server monitoring with New Relic on Docker on RasPi4
Build an Android image for Orange Pi 4 with Docker
[Docker + Rails] How to deal with Rails server startup failure
Using Pair with OpenJDK
Launch MariaDB with Docker
Rails deploy with Docker
Run Pico with docker
Explode Docker with WSL2
Use Puphpeteer with Docker
Operate Emby with Docker
Delete unused docker image
Try WildFly with Docker
Use ngrok with Docker
Run Payara with Docker
[Docker] Connection with MySQL
Php settings with Docker
Getting Started with Docker
Disposable PHP with Docker
Install Composer with Docker
Maybe it works! Create an image with Docker and share it!
Create a Docker image with the Oracle JDK installed (yum
Build Docker Image lightweight and fast with CodeBuild with Santa Banner
Configuration script for using docker in proxy environment on ubuntu 20.04.1