Create a SOCKS proxy with SSH

From Cramsession
Revision as of 16:45, 21 May 2025 by Mflavell (talk | contribs) (Created page with "Tech Notes > Linux > Create a SOCKS proxy with SSH === Problem === SSH access is provided to a jump box however you need HTTP / HTTPS access to the private network. === Solution === SSH can be used to create a socks proxy using the following command: ssh -F /dev/null -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no '''username'''@''''ip or fqdn''' -ND'''proxy port''' Provide the bowser the the socks infomrmation Proxy: 127.0.0.1 Port: '''pro...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
✍️ Verified Author: MflavellClick to view professional profile & credentials

Tech Notes > Linux > Create a SOCKS proxy with SSH

Problem

SSH access is provided to a jump box however you need HTTP / HTTPS access to the private network.


Solution

SSH can be used to create a socks proxy using the following command:

ssh -F /dev/null -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no username@'ip or fqdn -NDproxy port

Provide the bowser the the socks infomrmation

Proxy: 127.0.0.1
Port: proxy port