You will usually have to port forward (look that up) unless you use software that simulates a local network (such as Evolve, Tunngle, or Hamachi).