Set up a proxy server using Safari on Mac
Your network administrator may ask you to specify a proxy server to access the internet if your Mac connects to it through a firewall. Your administrator should tell you the type of proxy server to specify, the IP address or host name, and a port number.
In the Safari app on your Mac, choose Safari > Settings, then click Advanced.
Click Change Settings (next to Proxies) to open Network settings.
Change the proxy settings using the information your network administrator provided.