In the Gauss' Law formulation, we consider a sphere with charges Q inside it and compute the flux. However, this formulation does not take into account any possible outer charges. We assume that any outer field effects will cancel out because the flux coming from them must go through surfaces with opposite normals. But why can we use Gauss' Law in this case when we don't know if there are any effects from outer charges fields?