I was born and grew up under foreign occupation. We even had the blockade, the siege, and a wall around our densely-populated area, everything you need for a full-blown occupation.
Here is what I learned:
1. If you don’t fire rockets at the surrounding country, they probably won’t shoot at you a lot. (I figured this out by not firing rockets at that country.)
2. If you don’t attack occupation forces, they probably won’t fight you. (I figured this out by not attacking members of the occupying armies. Sometimes I didn’t even throw rocks. Actually, I never threw rocks at them.)
3. If you manage to get a visa for the surrounding country, try entering it without a bomb belt around your waist, even if the country is likely to have lots of schools filled with children you could easily blow up. (One way to make sure that didn’t happen was VERY strict border controls enforced by the surrounding country. Another way to make sure that didn’t happen was not wearing bomb belts.)
If anybody has any questions about how to live in an occupied territory surrounded by a hostile country, feel free to ask me.