SSH Tunnelling and port forwarding

Alexey Moseyev
AVM Consulting Blog
2 min readSep 17, 2019
SSH Tunnel

Well configured ssh environment may save a lot of your time and is less error prone. Here we are going to cover the most common case where a client needs to access an application server which is behind a gateway server/bastion host. Later on we are going to build on this setup to add port forwarding from a port on localhost to a port open in the app server.

These techniques make life of people Working with DMZ network topologies a lot easier. Also Port forwarding wraps application traffic into ssh encrypted tunnel, providing additional layer of security.

In this case gateway and app server are built in Oracle Cloud Infrastructure. Bastion server accepts only connections on port 22 and has a public IP address on which it accepts external connections. All connections are open between bastion and app servers. Local host is Oracle Linux, bastion and app ones are CentOS 7.

Continue reading -:

https://blog.avmconsulting.net/posts/2017-11-23-easy-ssh-tunneling-and-port-forwarding/

👋 Join us today !!

️Follow us on LinkedIn, Twitter, Facebook, and Instagram

If this post was helpful, please click the clap 👏 button below a few times to show your support! ⬇

--

--