4 ms·
I did this for years until recently. Now I use wireguard instead. Now I don't need a giant ssh config with stuff like: Host myhouse.net LocalForwar
by yubiox 6y ago
I did this for years until recently. Now I use wireguard instead. Now I don't need a giant ssh config with stuff like:
Host myhouse.net
LocalForward 5902 foo:5900
LocalForward 3393 bar:3389
DynamicForward 8083
Host baz
ProxyCommand=nc -X 5 -x localhost:8083 %h %p
- Arnavion 6y agoIt depends on your use case. I use a SOCKS proxy with some applications and not others to do a little bit towards hiding my residential IP. Application-level proxy support is much easier with SOCKS because it's commonly supported. I also have a Firefox extension that can be used to route some URLs via the proxy and others not, because the browser extension API for setting per-request proxies supports SOCKS proxies. With Wireguard I'd have to create routes to route some some destination IPs over the wg interface, which not only needs management to keep up-to-date with DNS changes but also does not have any way to behave differently for routed applications vs unrouted applications.
- theandrewbailey 6y ago> I also have a Firefox extension that can be used to route some URLs via the proxy and others not FoxyProxy? I love that one. https://addons.mozilla.org/en-US/firefox/addon/foxyproxy-standard/ https://addons.mozilla.org/en-US/firefox/addon/foxyproxy-sta...
- Arnavion 6y agoNo, I wrote my own. I avoid third-party extensions because the risk is too high.
- jhvkjhk 6y agoIs there any guides or libraries to help you writing your own proxy switch extension? I have considered writing my own for the same reason, but I don’t know where to start. I have experience in writing simple WebExtension, I just don’t know how to write a socks proxy in JS. Thanks in advance.