Is proven in my book using field lines. I stumbled upon something that I however can't understand. They say that a charge outside a closed surfrace contributes nothing to the total flux out of the surface since every field line that goes into the surface also comes out. But what if it terminates on a charge inside the closed surface? Like if you have a negative charge outside your closed surface and a positive charge inside it.