Legal obligations of working a remote contract outside of Ireland

Hi everyone, I'm looking to take up a remote contracting role and I'm wondering what would be the legal obligations on working outside Ireland. Here are my main queries. 1) Would I taxed under PAYE or would I be taxed in the host country that I'll be working from? 2) How can I find such companies that allow Remote contracting? Any help will be appreciated please.