First put the autopatch and config.ini wherever, and if your on a router open port 9528 tcp/udp i think thats the only one you need i'm not sure.
next, Just follow the config file to the letter , set the version that you want it doesn't really matter whatever number you want works...
and for the address, if you're running it through a website or vps then put the link.... if not just put the ip address of the host..... save.. open autopatch2.exe
next go into your client... Edit the autopatch.dat using hex editor or just notepad again following what i said before...
Next in the client edit play.ini and your oem should be already.... follow same thing
And last, open version.dat and the version you choose when you edited the config.ini for autopatch put it their... so if you chose version 4000-4050 and set the current version 4036 then you have to put that at version.dat and when you update you change the config file from 4036 to 4037 so that the client updates to patch 4037.. or whatever version you use.
I think i explained it well enough, post your replys if you don't understand something... and theirs a thanks button!