TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Free book to master SSH tunneling concepts

240 pointsby opsdiskover 3 years ago

8 comments

crims0nover 3 years ago
Looks interesting, will give it a read as it looks to cover more than the basics.<p>Years ago I worked in a SOC doing managed services for a major telco provider, and for some reason they thought that we didn&#x27;t have the need to do any kind of SSH tunneling to manage routers&#x2F;switches&#x2F;firewalls. They kept blocking it at various layers, and we kept having to find more and more creative ways to get around it. I think at one point we were hosting our own PAC files local to our machines, building three layers of tunnels (the last of which being a dynamic SOCKS tunnel), and using a portable browser (because we couldn&#x27;t be trusted with admin!) with FoxyProxy (or similar) to finally reach our destination.
评论 #29948104 未加载
np1810over 3 years ago
Thank you for such a thorough book...<p>This book does discuss autossh [1] which I came to know about recently while setting up my dynamic home ip (w&#x2F; CG-NAT) as the exit node in a wireguard network to overcome geo-restrictions on streaming services when traveling... :p<p>autossh [1] is such a simple and useful utility, wish I had known about it earlier when any connection changes in VPN&#x2F;WiFi used to break my ssh tunnels to the corporate network during development...<p>If you&#x27;re a frequent user of ssh tunnels, do check out autossh... ;)<p>[1] <a href="https:&#x2F;&#x2F;linux.die.net&#x2F;man&#x2F;1&#x2F;autossh" rel="nofollow">https:&#x2F;&#x2F;linux.die.net&#x2F;man&#x2F;1&#x2F;autossh</a>
评论 #29948299 未加载
tomxorover 3 years ago
Similarly, with &quot;sshuttle&quot; you can pick n mix from different subnets with ease, or even forward your entire internet over SSH without a proxy for &quot;poor mans VPN&quot;<p>... although for the later purpose it&#x27;s no where near as CPU efficient as wiregaurd, but with non root access to any SSH server it can get you around barriers in a pinch with only TCP 443 available, and effectively &quot;VPN&quot; multiple potentially conflicting subnets at the same time - I&#x27;ve not seen any other tool that can do the latter so effortlessly.
anderspitmanover 3 years ago
I used local forwarding for years before learning about remote forwarding, which is useful for creating your own self-hosted ngrok-like service. A good number of the solutions on this list are based on SSH remote forwarding:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;anderspitman&#x2F;awesome-tunneling" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;anderspitman&#x2F;awesome-tunneling</a>
chxover 3 years ago
May I take this occasion to ask for help with merging my autossh commands? <a href="https:&#x2F;&#x2F;serverfault.com&#x2F;q&#x2F;1088997&#x2F;64874" rel="nofollow">https:&#x2F;&#x2F;serverfault.com&#x2F;q&#x2F;1088997&#x2F;64874</a>
stonecharioteerover 3 years ago
Without even opening the link I was about to say that the only book on the topic you should read is the Cyber Plumber&#x27;s Handbook. I&#x27;m smiling that it&#x27;s the same link. Haha.
egberts1over 3 years ago
Can’t even open it on macOS, iPhone with either Firefox nor Safari.
mlnhdover 3 years ago
Is this just the man page for ssh? I’m not sure what’s going on here. If you understand the tool you know the ways it can be used.