Advise on freelancing in Bangalore

Hello, I am thinking of freelancing in Bangalore. I am looking for some advise on the requirements: -how to apply for a visa/which type of visa? -other paperworks/regulations/registrations to be dealt with?