to restart all Holistics tunnels, run sudo service h_autossh restart.to stop all Holistics tunnels, run sudo service h_autossh stop.to start all Holistics tunnels, run sudo service h_autossh start.Note that the display of the status varies between systems.Īs described in Script Operation / Final steps below, the reverse tunnel script creates a service for you to manage all tunnel connections to Holistics, and runs them automatically on startup. After the data source is saved, the reverse tunnel will be running in a system service called h_autossh.If the test is successful, you can finish by clicking Save Data Source.The database configurations will now appear on your form.Return to your browser when this message appears:.Read the script introduction and follow the script execution.See this section to know all the actions that the script carries out. You will be asked for superuser privileges to install packages and set up system services later. Note that you should not prepend the command with sudo, because some packages will be installed for current user only. Copy the command and execute it on your proxy/bastion server.Click Generate Script and wait for the script to be generated.NOTE: If your database in on an AWS machine, specifying localhost may not work, so use the machine's local IP instead (e.g. Fill in the Host and Port where your database can be accessed from your proxy server.Enter the Display Name of the data source and choose your Database Type.Thus, within a single bastion server, please use the same user to setup all tunnel connections. The tunnel service only runs as one user per machine.For other systems, please see this doc on setting up the tunnel manually. The script only fully supports Debian and RHEL based distros, and partially supports MacOS (see this section for notes on MacOS).With our automated bash script, connecting Holistics to your data source using a reverse tunnel is much faster and more convenient. Set up Reverse SSH Tunnels Automatically When dealing with the tunnel servers manually, please make sure you are connecting to the correct tunnel server of your region. Holistics provides tunnel service from these tunnel servers according to your region: Unless you have special requirements or configurations, we strongly recommend you follow the automated tunnel script generation right below. Holistics provides 2 methods to set up reverse SSH tunnels: This way, all connections to your DB will look as if it originates from your bastion server, and all data transfer will securely go through the tunnel. This will open a dedicated secure connection from your bastion server to our tunnel server. If your database is behind a firewall/closed network you don't want to modify any firewall rules, you can consider setting up a reverse SSH tunnel.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |