I am trying to set up the simplest system to be able to proxy from my Firefox via one of our Ubuntu servers.
Initially http/s ports would be enough and it would only happen from 2 concrete IPs (office and home). The server already has a complex IPTables firewall configuration so I really don't want to go via the Squid or Shorewall routes that I've seen published here. I do not need that many features, ACL, cache, etc... just sufficient IPTables rules (or alternative software) so I can set up a proxy on my Firefox and connect via that server. I know an SSH tunnel can be done but no idea how to make Firefox speak with my local SSH and use it as a proxy.
Any help or links would be appreciated.
EDIT: For windows, you can try
https://web.archive.org/web/1/http://blogs.techrepublic%2ecom%2ecom/security/?p=421
Below instructions for Linux :)
Set up a dynamic proxy using ssh:
Update the proxy settings in firefox. Look under Preferences, Advanced icon, Network tab, then the Settings button under connection. Change your proxy connection to manual, then put 127.0.0.1 as your SOCKS host and the port as whatever you used in the
ssh -D
command.You can script it all up by creating a second Firefox profile, let's say it's called "proxy". Then set up a script to handle it all:
I'll leave it up to you to decide if this is all within the bounds of your local security policy.