# ProxySQL w/ PXC and private subnet

**URL:** <https://forums.percona.com/t/proxysql-w-pxc-and-private-subnet/5751>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [July 19, 2017, 4:36pm UTC](https://forums.percona.com/t/proxysql-w-pxc-and-private-subnet/5751 "2017-07-19T16:36:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![00sivan](https://avatars.discourse-cdn.com/v4/letter/0/51bf81/32.png) [@00sivan](https://forums.percona.com/u/00sivan)\
**Post date:** [July 19, 2017, 4:36pm UTC](https://forums.percona.com/t/proxysql-w-pxc-and-private-subnet/5751/1 "2017-07-19T16:36:51Z")

</div>

SQL boxes each have 2 NICs, one attached to a private switch on a network like ‘10.%’, with the other NIC configured for a public IP on another network. ProxySQL boxes have public IPs but are not attached to that switch.

proxysql-admin configures users like ‘proxysql\_monitor’@‘10.%’ but of course those don’t work, because it needs to connect using the public IP not the internal cluster switch.

Is there any way to get ProxySQL / proxysql-admin to work with this configuration? Seems like this would be the preferred method for a cluster, no?
