I have a server running HAProxy, and would like to change iptables on that server in order to preform some maintenance on my app servers. What would be the easiest way to do this? Is there a way I can preform system commands on a remote machine from C++? Or would I need to have a program running on the HAProxy machine in order to change the iptables for that machine? Any guidiance for this would be really helpful.
Thank you
1 Answer