I have set up a version control system using TortoiseSVN at my home to manage my pet projects, school projects etc…and it works locally.
Now I need to be able to access my code repository remotely, like from school, so that I will be able to update the source at school from the repository, and commit it again once I have finished working on it.
The question is, how can I connect to my repository remotely ? What ports do I need to open on my router for example?
Also, I cannot install the Tortoise client at school, so I will need some other portable application that does this task, be it GUI or CLI.
There are various approaches to offer remote access. In your case, the simplest thing might be to set up an svnserve server. You can either manually start it with –daemon, or install it as a Windows service. In either case, port 3690 must be open. Make sure to set up a password, and to restrict svnserve to the directory where your repository lives.
As a portable application, I recommend to use the command line svn client. Various command line clients exist for Windows. You should install one of them on your machine, make sure you understand how to use it, and then copy it along with all DLLs that it needs onto an USB stick.