I have had an EU Blue Card for a couple of years and was working as an employee for a German company while living in Germany during that time.
At the moment, I'm interested to move out of Germany to a non-EU country while keeping my job for a German company. Am I allowed to continue working for a German company while not living in Germany? Will I lose my Blue Card? Where should I pay taxes? Am I allowed to avoid paying health insurance in Germany during that time (as I'm not in Germany).
Clarification: My question is about working remotely for a German company. For example: Living in Thailand, and programming for a German company as an employee, not a contractor or freelancer.