Connect to AWS RDS Postgres DataBase with Windows 10 proxy

I have got a PostgreSQL database stored on AWS RDS. I am using PG Admin 4 to connect with the database and make queries. It works perfectly when I’m not using my company proxy server, but I need to be able to connect to the database with the proxy turned on. I’ve tried to set an exception to the host of the database (host direction looks like on Windows Proxy exceptions menu (see image below), but it doesn’t work.

enter image description here

Does anybody know how to connect to a RDS database from PG Admin 4 with a proxy on Windows 10.

Thanks in advance!!

Source: Windows Questions