I have a connection to the internet, but it doesn't allow me to get updates or run apt. I can however, SSH to my server and get around the filter for webpages. This doesn't seem to solve my apt problem and I have no idea how to set apt/synaptic to use a socks v5 proxy. Any help would be much appreciated.

p.s. If there is another way to do it through my server, it's a VPS so I can do pretty much anything.