I always wonder about legalities when I hear of foreign nationals doing, or applying for, YCombinator or the like. I have a hard time seeing a legal route for them to do it. What is the correct way to do it? Is there one, or are they all bending the rules?