Blocking traffic except IPsec VPN traffic (esp port 5432)
Hi, guys.
I would like to know if I can block all the traffic except the traffic over the IPsec VPN.
We have AWS RDS (Postgres) database, we would like to block all communication from specific computer except the pgAdmin4 access to the Postgres database.
Router will be only connected to this PC, so far, I created rule "Block all access except THIS COMPUTER and AWS IP". It didn't work.
They I tried to create allow only communication between these two. And the few others, nothing seemed to work. It does block the traffic, but pgAdmin doesn't connect to the DB.
Let me know if you have any suggestions on this. Or if someone else has already done it. Really appreicate it.
Thank you in advance.
Max