I'm curious was this a situation where ssh port-forwarding would not have worked?
There might have been another way to do it, but given that wrapping HTTP in a SOCKS proxy is easy and ssh has a built in SOCKS proxy, this was quick win.
ps. It's SOCKS and not Socks - for the subject line of this story.
if you point firefox to use a remote ssh host as socks proxy then you can browse internet as if you were in the ssh host subnet.
it's basically a poor man's vpn, but if all you do is www browsing it works perfectly.