From a Linux client (18.104.22.168), run this command in a terminal:
ssh -L 3130:localhost:3128 192.168.1.1
This redirects connections to TCP port 3130 on the Linux client to TCP port 3128 on 192.168.1.1. You can pick whichever port you like instead of 3130 on the local machine. On the proxy, use whatever port the proxy program is running on (it could be 3128, or 8080, or another port altogether).
When you want to use the proxy, tell your browser to use localhost port 3130 as the proxy (
If you don't want to have to edit your browser settings every time you start and stop using the proxy, use a browser extension such as Foxy Proxy for Firefox or a Chrome equivalent and set it up to use
http://127.0.0.1:3030/ as a proxy only for URLS matching
If you're going to do this often, add the following lines to the file
LocalForward 3130 localhost:3128
ssh some_proxy (you can choose a more significant name than
Note: SSH version 1 is antique. I think the commands I mentioned existed back then, but I didn't check. I'm surprised that an SSH version 1 server is still running. Are you sure you can't use SSH protocol version 2?