Hello,
I have several hosts where I would like to run salt-minion on. However
the problem is these hosts have no direct network access to the salt
master because they are in a unrouted "private" network say "X".
One way for those hosts would be to use a http proxy (tinyproxy) say
myproxy.mydomain that has one networkinterface in network X and another
interface in the network "Y" where salt master is running. This way the
machines in Network X do run eg apt update and apt upgrade because the
proxy can be used by apt to reach external update repositories. This
works just fine.
On the salt client side I found in /etc/salt/minion the variables
"proxy_host" and "proxy_port" and tried to use them:
proxy_host=myproxy.mydomain
proxy_port=8080
Next I started salt-minion but the minion complains that it cannot
contact the master and I also do not see any message that the configured
proxy myproxy.mydomain is accessed when starting the salt-minion. So it
seems setting proxy_host and proxy_port do have no effect on the
salt_minion trying to reach the master.
Do the proxy-settings have a different meaning? How can I make
salt-minion to communicate to the master via a proxy?
Thanks
Rainer