diff --git a/server/MaxScale_template.cnf b/server/MaxScale_template.cnf index c322fec8f..6c980b03b 100644 --- a/server/MaxScale_template.cnf +++ b/server/MaxScale_template.cnf @@ -131,6 +131,24 @@ service=HTTPD Router protocol=HTTPD port=6444 +# Enable the maxadmin interface to MaxScale +# +# Listen on the default port of 6603 and restrict +# to connections from localhost only. +# Remove the address=localhost entry to enable +# maxadmin connections from any host + +[CLI] +type=service +router=cli + +[CLI Listener] +type=listener +service=CLI +protocol=maxscaled +address=localhost +port=6603 + # Definition of the servers [server1]