by saltcured · 5mo ago · 0 comments
I need VPN to get into some internal resources via SSH, but there are lots of external/public/AWS resources I also need to access, and the full VPN adds too much overhead and fragility for those.
Using the available split VPN, I can point a browser instance at a localhost SOCKS proxy port to relay over SSH + VPN for other web resources I need to access internally.
Unfortunately, Firefox proxy config rules are sort of backwards for my needs. I want to say "only use proxy for these 3 domains" whereas it wants to use the proxy by default and only allow me to bypass specific domains.
- Use Multi-Account Containers plugin, where you define which domain should be opened in which container.
- Use Container Proxy to configure which socks proxy to use for different containers.
Pair that with ssh tunnel that you use as socks proxy and you have nive tunneling solution for browser.
Here's my ad-hoc proxy. Use it for only these domains (while everything else goes direct).
After I complete my special tunneling task, I'm going to flip it back to "no proxy" and resume normal life.