A proxy is used to relay all queries to the database server or instance. A query directed to a front-end IP address and port of the GreenSQL server is relayed to the original IP address and port of the database or instance. Such queries are monitored or intercepted by GreenSQL before reaching the database or instance as soon as a rule is created.
Note that GreenSQL is preconfigured with a default policy which allows all queries. If this policy is removed or disabled, all queries will be denied, due to the nature of GreenSQL to block all traffic by default.
Configuring a proxy and a database will not forward the traffic to your backend Database without a policy.