What's Illum? Anyway, the simple solution would be to not place these locations within PvP zones. Problem solved.
Illum's an open-world PVP planet with factional objectives. Problem with it is that since launch it's been too laggy for decent battles so not much goes on there. Devs have said that they intend to fix it.
Once you get familiar with the areas on different planets you'll know where ganking usually happens and where it doesn't. Camping nimrods like you've run into aren't common, at least not on the 4 different servers I've been on.