KB 322346 - Accessing Services Running on a Different Network via Jumphost using SSH Local Port Forwarding
Objective
Learn how to access services hosted on a remote network (such as an internal web server or application) from your local machine by leveraging a jumphost (also known as a bastion host) and SSH local port forwarding.
What is SSH Local Port Forwarding?
SSH local port forwarding creates a secure tunnel between your local machine and a remote server (via the jumphost). This tunnel allows you to securely access services running on the remote network by forwarding your local port traffic through the SSH connection.
Requirements
✅ Local machine with SSH client (Linux/macOS terminal or Windows PuTTY).
✅ SSH credentials for the jumphost.
✅ Access to the remote service from the jumphost.
Steps to Access the Remote Service
1️⃣ Identify the Remote Service and Jumphost Details
-
Remote Service Host IP/Hostname: 10.5.1.102
-
Remote Service Port: 80 (HTTP example)
-
Jumphost IP/Hostname: 100.105.71.94
-
Jumphost Username: user (replace with actual username)
Using SSH Local Port Forwarding (Linux/macOS)
Open a terminal and run:
ssh -L 8080:10.5.1.102:80 user@100.105.71.94
Explanation:
-L 8080:10.5.1.102:80:
user@100.105.71.94:
This creates a secure tunnel from your local port 8080 to the remote service.
Access the Service in Your Local Browser
Open your browser and navigate to: http:
Using PuTTY on Windows
If you’re using PuTTY, follow these steps:
1️⃣ Open PuTTY and enter the jumphost IP: 100.105.71.94.
2️⃣ In the Category tree, navigate to: Connection > SSH > Tunnels (see step 1,2,3 on below screenshot)
3️⃣ In the Source port field, enter: 8080
4️⃣ In the Destination field, enter: 10.5.1.102:80
5️⃣ Select the
Local radio button and click
Add.
6️⃣ Return to the
Session category and click
Open to start the SSH session.
7️⃣ In your browser, go to:
http://localhost:8080
Related Articles
KB 216005 - Enabling X11 Forwarding on Ubuntu 22.04 to Run qluman-qt from a Head Node
Objective This article provides step-by-step instructions to enable X11 forwarding on a head node running Ubuntu 22.04 server edition and how to access GUI applications like qluman-qt from a login node using SSH with X11 forwarding. Edit SSH Server ...
KB 470118 - Troubleshooting on Server Network Speed
Steps to troubleshoot speed on server for 10G NIC Verify Network Configuration Network Adapter Settings: Check the settings of the Intel® Dual Port X710-T2L 10-Gigabit Ethernet Network Adapter on each server. Ensure that the adapter is configured for ...
Ruijie Access Point Configuration - Putty
Ruijie Access Point Configuration - Putty Required components: POE Switch, Console cable, Laptop / Desktop, Ruijie Access Point, Network cable Power in POE switch with power cable and connect AP and Switch using a Network cable. Connect the Console ...
How to configure Extreme Networks X620-16P - Switch
Configure the Management IP Connect a management station to the console port using either an Ethernet to serial adapter or DB-9 serial cable. Using PuTTY, or other terminal emulator, connect to the switch using serial port connection. Be sure that ...
KB 598003 - Configuration to Enable ssh(Remote) Login in Ubuntu.
How to Enable ssh (Remote) Login in Ubuntu. Have a Trouble to Access ssh Login in Ubuntu. Steps to Configure ssh configuration file. Go to your system/VM and Open Terminal (use ctl+atl+t) and Follow Commands. Open sshd_config file in any editor like ...
Recent Articles
KB-630208 | How to use Find and Locate to search for files in Linux
Purpose To provide Linux administrators and Field Engineers with guidance on using the find and locate utilities to efficiently search for files and directories within a Linux filesystem based on criteria such as name, type, size, timestamps, ...
KB-630164 | How to use rsync to Synchronize Files
Purpose To provide a clear and practical procedure for using the rsync utility to synchronize files and directories between local systems and remote hosts, including push and pull operations, while preserving file attributes and optimizing data ...
KB-630107 | How to create a Linux swap file
Purpose To provide Field Engineers and Linux administrators with a standardized procedure for creating, configuring, and validating a Linux swap file. This procedure helps ensure sufficient virtual memory is available when physical RAM is exhausted ...
MSI All-in-One (AIO) PC – Physical Damage Policy for Warranty Claims
MSI All-in-One (AIO) PC – Physical Damage Policy for Warranty Claims MSI's standard warranty does not cover physical or accidental damage to an All-in-One (AIO) PC. If the damage is determined to be caused by external factors rather than a ...
KB 134833 - Troubleshooting NVSM Alert NV-CPU-XX – Unrecoverable CPU Internal Error
Purpose This document provides a general troubleshooting procedure for the NVIDIA System Management (NVSM) alert NV-CPU-XX, which indicates that a CPU has reported an internal error. The article outlines how to verify whether the alert represents an ...
Popular Articles
CP Plus Camera and NVR Configuration
NVR Configuration The CP Plus Pro Series of NVRs have been meticulously designed for providing you with upgraded performance and higher recording quality in your IP video surveillance solution. The robust processor that has been inculcated in this ...
KB 775235 - Kerberos Authentication – Overview
What is Kerberos? Kerberos is a secure authentication method used in our Active Directory (AD) environment (mbuzztech.com). It allows users to: Access multiple systems without re-entering passwords (Single Sign-On – SSO) Log in once Where We Use It ...
How to Remove and Reinstall NVIDIA Drivers on Ubuntu
This article provides step by step guide to completely remove existing NVIDIA drivers and reinstall specific version of the NVIDIA driver on the Ubuntu system Prerequisites Administrative (sudo) access to the Ubuntu system. Internet access to ...
KB 692001 - Personal Computers and Servers - Classification and Point of Contact
We can classify the computers that MBUZZ handles based on their form-factor as below: Tower Workstations, Desktops, Gaming PCs and SFF (Small form factor) PCs fall under this category. These are computers people would use on a desk and rarely move. ...
KB 298031 - M.2 SSD Tier List
The sequential read and write speeds, which are usually the most advertised number, are not a proper benchmark of real-world performance or the quality of an SSD. This article categorizes and tiers SSDs based on factors like the type of NAND flash, ...