FG

UDP traffic through SSH tunnel

Fresh3 days ago
Mar 15, 2026197281 views
Confidence Score1%
1%

Problem

The title pretty much sums it up. I would like to send UDP traffic through a SSH tunnel. Specifically, I need to be able to send UDP packets through the tunnel and have the server be able to send them back to me on the other side. I know how to do it for TCP connections. Is this it possible with UDP?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: UDP traffic through SSH tunnel

Low Risk

This small guide tells you how to send UDP traffic via SSH using tools that come standard (ssh,nc,mkfifo) with most UNIX-like operating systems. Performing UDP tunneling through an SSH connection Step by step Open a TCP forward port with your SSH connection On your local machine (local), connect to the distant machine (server) by SSH, with the additional -L option so that SSH will do TCP port-forwarding: This will allow TCP connections on the port number 6667 of your local machine to be forward…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment