Skip to main content

SlashLogs

Tag: cli

How to connect to a service behind a firewall using ssh tunneling

SSH Tunnel When we have a service behind a firewall in a remote server sometimes we want a simple way to connect to it without setting up port forwarding. Setting up a ssh tunnel is pretty straight forward and pretty secure because your traffic will be encrypted on his path. This is perfect for a quick and simple connection for yourself without sacrificing the security of your server. Let’s get started with SSH tunnels Before you start, if you’re connecting to a remote host over the internet just make sure that your ssh connection is secured.