S
S
sazhyk2017-02-21 15:47:59
linux
sazhyk, 2017-02-21 15:47:59

How to set up squid on such a network?

There is a local network1 192.168.0.0/24. It raised the Squid3 proxy on Debian. There is a need to raise a test bench on virtual machines where the gateway (virtual machine) will look at one interface to the local network1, and the other to the virtual network2 192.168.1.0/24. The question is how to organize access to the Internet for machines in network2?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
silverjoe, 2017-02-21
@sazhyk

The proxy can be with one setevukha.
The rest is solved by routing
iptables all requests on port 80 from network2 are wrapped on the IP of the proxy server. Well, 443 if you have squid able to proxy https traffic

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question