The draw for the UEFA Champions League play-offs took place on Monday in Nyon, Switzerland.
Seeded and unseeded clubs were paired based on club coefficient rankings.
But restrictions prevented some teams from being drawn against each other.
In the Champions Path, 10 teams were split into five seeded and five unseeded categories. In the league path, four teams were divided into two seeded and two unseeded groups.
The fixtures will be played on August 20/21 and 27/28 and teams will be competing for a coveted spot in the main event.
Here is the full list of the draws:
Young Boys Bern (SUI) vs. Galatasaray (TUR)
Dinamo Zagreb (CRO) vs. Qarabag (AZE) or Ludogorets (BUL)
Midtjylland (DEN) or Ferencvaros (HUN) vs. Slovan Bratislava (SVK) or APOEL Nicosia (CYP)
Jagiellonia Bialystok (POL) or Bodo/Glimt (NOR) vs. Crvena Zvezda (SRB)
Malmo (SWE) or PAOK (GRE) vs. Sparta Prague (CZE) or Steaua Bucharest (ROU)
Lille (FRA) or Fenerbahce (TUR) vs Slavia Prague (CZE) or Union Saint-Gilloise (BEL)
Dynamo Kyiv (UKR) or Rangers (SCO) vs. RB Salzburg (AUT) or Twente (NED)
UEFA Champions League play-off draw confirmed [Full list]