Create a SOCKS proxy with SSH: Difference between revisions
From Cramsession
Jump to navigationJump to search
✍️ Verified Author: Mflavell • Click to view professional profile & credentials
(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...") |
No edit summary |
||
| Line 10: | Line 10: | ||
SSH can be used to create a socks proxy using the following command: | 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'''@'''' | ssh -F /dev/null -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ''''username''''@'''''p or fqdn'''' -ND''''proxy port'''' | ||
Provide the bowser the the socks infomrmation | Provide the bowser the the socks infomrmation | ||
Revision as of 16:46, 21 May 2025
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'@p or fqdn' -ND'proxy port'
Provide the bowser the the socks infomrmation
Proxy: 127.0.0.1 Port: proxy port