Re:Show HN: Mole – an open source tool to easily create ssh ...
by Symbiote on Wednesday October 17, 2018 @04:15AM
(#18237145)
Here are the example commands, with the SSH equivalent. There's a small syntax difference, but otherwise I don't think this tool adds much.
I don't know if Mole supports it, but SSH also has the option to forward a remote port through the local machine.
But the most useful of all is perhaps:
Then configure Firefox to use a SOCKS proxy on localhost:3128. You now bypass any corporate HTTP proxy.
[ Parent
| on HN ]
Re:Show HN: Mole – an open source tool to easily create ssh ...
by darrenf on Wednesday October 17, 2018 @04:26AM
(#18237197)
mole also doesn't seem to support DynamicForward for creating SOCKS proxies. Mind you, I'm not sure how it could improve on native ssh for concision:
ssh -D *:1080 work
Combined with a .pac file that proxies my work domain(s) through the tunnel, it's all the forwarding I ever need.ETA: largely redundant comment now the parent now also mentions this option. :)
Re:Show HN: Mole – an open source tool to easily create ssh ...
by Symbiote on Wednesday October 17, 2018 @04:37AM
(#18237243)
I think it's worth drawing attention to it. It's a very useful feature; just don't tell the network administrators.
NB including
*:
does mean anyone on your local network (assuming a firewall at the gateway) can use your computer to proxy to work. That's great if you're on a private LAN and want to look at a work site on your phone, but not great at a coffee shop.
Re:Show HN: Mole – an open source tool to easily create ssh ...
by Bluecobra on Wednesday October 17, 2018 @08:58AM
(#18238479)
> You now bypass any corporate HTTP proxy.
Assuming that said corporation isn’t blocking random ssh connections with their fancy NGFW. ;)
Re:Show HN: Mole – an open source tool to easily create ssh ...
by loeg on Wednesday October 17, 2018 @11:09AM
(#18239794)
Yeah, this hits close to home. Our corp firewall blocks anything other than 80 and 443, and MITM's 443.
Re:Show HN: Mole – an open source tool to easily create ssh ...
by YouKnowBetter on Thursday October 18, 2018 @06:46AM
(#18247272)
And when that proxy is worth it's salt, it shall detect attempts to tunnel plain ssh over said ports.
This is 2018, anyone who can bypass their corporate proxy with that example, should find employment elsewhere or atleast prepare to do so since your company's internals will surface on twitter any time now.