If International Law hasn't given you a pass, you need a recognized gov't's sanction to participate in war lawfully. Lawful combatants 'may' commit crimes for which they may be tried. Unlawful combatants 'are' committing a crime whether they live or not.
Still looking!