Ssh – Puppet over ssh tunnel

puppetsshssh-tunnel

Hi I am trying to use puppet client/master to set up my servers. I have everything working perfectly on local VM's and now I'm trying to set up my first external server. However I can't get the client on the external server to connect to the master; probably because the master is behind a firewall with only port 22 open. I started looking into SSH tunnels but I can't seem to get it working. Does anyone have any experience with this?

Best Answer

Your best bet is to file a ticket requesting the following firewall rule be enabled:

PuppetClients -> PuppetMaster 8140/tcp

The Client<->Master communication is already encrypted over an SSL tunnel. In order to have it go over ssh will require some configuration hackery on both clients and server that will only serve to confuse and confound anyone else that works on your environment. You're better off having off opening the firewall.