I followed this tutorial to set up a proxy using an AWS instance. I was able to do so, and upon running this command:
ssh -L 3128:localhost:8888 -i /path/to/yourkey.pem email@example.com
I am able to connect to the instance. However, my mac still doesn't use this machine as a proxy (checked this from my IP, it was still the same as before using a proxy).
I have checked
Auto Proxy Discovery in the Proxy Settings on my mac, but that still didn't help. Any help resolving this would be highly appreciated.