A method for setting up a peer-to-peer communication link between a first communication medium (3) and a second communication medium (4) by means of a mediation server (5), wherein the first communication medium (3) comprises a multitude of communication ports, which are assigned in