Pivoting

I have a computer at my home network. I want to connect to my home network through VPN, then ssh to this computer(all done), then I want this computer to pivot through my currently using computer (a phone or something) and do something on the remote network with my computer which is at home. Is this possible? How can I set this up?