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
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 ...
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 ...
How to configure Sophos VPN for External Users
The Sophos VPN provides secure remote access to MBUZZ network. Follow the below steps to install and configure Sophos VPN Download and Install Sophos VPN Client Click on below link to download the Sophos VPN Client. After downloading, Install the ...
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 ...
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 ...
Recent Articles
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 ...
PCIe Gen5 Switch Board Replacement
1. Objective The objective of this Method of Procedure (MOP) is to safely replace the defective PCIe Gen5 Switch Board in the Supermicro server while minimizing system downtime and ensuring all PCIe devices, including GPUs, NICs, NVMe drives, and ...
Local Boot Support for DGX H200 with BCM 11
Overview This Knowledge Base (KB) article explains the supported method for deploying and managing a DGX H200 system using Bright Cluster Manager (BCM) 11 while booting the operating system from the node's local NVMe storage. To be managed by BCM, ...
Execution of NVIDIA Field Diagnostic (FD) Tool and Collection of Diagnostic Logs, and troubleshooting of GPU(s) not detected
1. Objective To provide a standardized procedure for executing the NVIDIA Field Diagnostic (FD) tool, verifying GPU status, collecting the required diagnostic logs, and documenting the findings for further analysis. 2. Scope This procedure applies to ...
Fiber Optic Bend Radius Measurement and Compliance
1. Purpose This article outlines the procedure for verifying that installed fiber optic cables comply with minimum bend radius requirements. Proper verification prevents signal degradation, ensures optimal optical performance, and protects the ...
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 ...
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 ...
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. ...
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, ...