Howtoforge published a tutorial about setting up APT proxy on Ubuntu 20.04 LTS.
How to Setup APT Proxy on Ubuntu 20.04 LTS
A proxy server is an intermediate server that sits between the client computer and the internet. Generally, it is used in the internal networks for unexpected access and to prevent attacks. It is also used to control internet access, bandwidth control and content filtering and blocking.