Working in a foreign country generally requires a work visa. However, I’ve never heard of a digital nomad who works from their computer having any issues — some countries even offer digital nomad visas for longer stays. On the other hand, it is technically illegal to do paid in-person work without a visa—so proceed at your own risk!