[MDEV-28026] Replication through proxy Created: 2022-03-08  Updated: 2022-03-09

Status: Open
Project: MariaDB Server
Component/s: Replication
Fix Version/s: None

Type: Task Priority: Minor
Reporter: RK Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: proxy, replication


 Description   

I have a standard master-slave replication for MariaDB to sync one database (master) to multiple slaves. One of the slaves lives behind a proxy, so I need to proxy the replication request to the proxy and from the proxy to the master. The proxy only supports port 80 or 443.

Can I use the proxy_protocol_networks parameter to proxy the requests? Can I proxy replications requests?

Example:

master: 192.168.1.1:3306
slave: 172.16.1.20:3307
  mysqld.cnf: proxy_protocol_networks= "172.16.1.1"
proxy: 172.16.1.1

slave:3307 ---> proxy:80/443 ----> master:3306


Generated at Thu Feb 08 09:57:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.