There is a machine number 1 with gray IP 1.1.1.1 and internal IP 192.168.56.2

There is a car №2 with WHITE IP 2.2.2.2 and internal IP 192.168.56.1

Machines # 1 and # 2 are connected by an internal network.

There is a car number 3 with WHITE IP 3.3.3.3

I want to give machine # 3 access to 1.1.1.1 through proxy authorization over IP 3.3.3.3 (so that only this IP has access to the proxy)

machine number 1

proxy -i192.168.56.2 

machine number 2

 auth iponly allow * * 192.168.56.2 tcppm -i2.2.2.2 3128 192.168.56.2 3128 

This option allows access to 2.2.2.2 ▼ 1228 from any IP, and I only need access for 3.3.3.3. What to add?

    0