logo

Forwarding Traffic Through SSH

ID: b0d1d0bb-3c73-56dc-8010-d51670922c62

STIX ID: report--b0d1d0bb-3c73-56dc-8010-d51670922c62

Feed Name: Black Hills Infosec Blog

Date Published: 2023-02-23

Date Updated: 2026-04-27

Author: BHIS

...
...

This technical blog explains how to use OpenSSH for local, remote, and dynamic (SOCKS) port forwarding, and how to create an SSH-based layer-3 VPN with tun/tap interfaces, routing, IP forwarding, and NAT. It provides step-by-step commands and configurations on both tester and target systems to enable full network access and scanning (including SYN/UDP) beyond SOCKS limitations, positioning the techniques as useful tools for penetration testing.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.