What are the regulations for working on campus or off campus in the US?

What are the regulations for working on campus or off campus in the US?