diff --git a/debian/control b/debian/control
index 0fa041324f566306a359dacfbff1bccac300eb05..1e16a502e5cdee0a617c429751cc5bc7d55f032d 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Build-Depends: debhelper (>= 9),
  libdbus-c++-dev, libsndfile1-dev, libxext-dev,
  libxfixes-dev, yasm, autopoint, unbound-anchor, git-core, libspeex-dev,
  libspeexdsp-dev, autotools-dev, chrpath, check, astyle,
- uuid-dev, libudev-dev, libjsoncpp-dev, libnatpmp-dev, cmake
+ uuid-dev, libudev-dev, libjsoncpp-dev, libnatpmp-dev, cmake, libupnp-dev
 
 Package: ring-daemon
 Architecture: any
diff --git a/docker/debian_8/Dockerfile b/docker/debian_8/Dockerfile
index 1c1255e3e029b5811a2308ea51849a879add2bfa..36fe3054bc7f138d2da13d7c63d600a9f5375b99 100644
--- a/docker/debian_8/Dockerfile
+++ b/docker/debian_8/Dockerfile
@@ -6,5 +6,5 @@ RUN apt-get install -y devscripts debianutils debhelper build-essential tar \
  libdbus-1-dev libasound2-dev libexpat1-dev libpcre3-dev libyaml-cpp-dev \
  libboost-dev libdbus-c++-dev libsndfile1-dev libxext-dev libnatpmp-dev \
  libxfixes-dev yasm autopoint unbound-anchor git-core libspeex-dev \
- libspeexdsp-dev autotools-dev chrpath check astyle \
+ libspeexdsp-dev autotools-dev chrpath check astyle libupnp-dev \
  uuid-dev libudev-dev cmake libjsoncpp-dev --fix-missing
diff --git a/docker/debian_8_i386/Dockerfile b/docker/debian_8_i386/Dockerfile
index 03a3cf97de875c89116bfe26b5fc87323e475a7f..099232f55c1d5c4eaff07d9836c3cc529f6ef0e8 100644
--- a/docker/debian_8_i386/Dockerfile
+++ b/docker/debian_8_i386/Dockerfile
@@ -6,5 +6,5 @@ RUN apt-get install -y devscripts debianutils debhelper build-essential tar \
  libdbus-1-dev libasound2-dev libexpat1-dev libpcre3-dev libyaml-cpp-dev \
  libboost-dev libdbus-c++-dev libsndfile1-dev libxext-dev libnatpmp-dev \
  libxfixes-dev yasm autopoint unbound-anchor git-core libspeex-dev \
- libspeexdsp-dev autotools-dev chrpath check astyle \
+ libspeexdsp-dev autotools-dev chrpath check astyle libupnp-dev \
  uuid-dev libudev-dev cmake libjsoncpp-dev --fix-missing
diff --git a/docker/debian_9/Dockerfile b/docker/debian_9/Dockerfile
index 33998f9a86b43a2aa70a26f7b4aed06152455b7a..8c7e8d67bc7dadf83cb657dfeb9e8a79c61fa28f 100644
--- a/docker/debian_9/Dockerfile
+++ b/docker/debian_9/Dockerfile
@@ -6,5 +6,5 @@ RUN apt-get install -y devscripts debianutils debhelper build-essential tar \
  libdbus-1-dev libasound2-dev libexpat1-dev libpcre3-dev libyaml-cpp-dev \
  libboost-dev libdbus-c++-dev libsndfile1-dev libxext-dev libnatpmp-dev \
  libxfixes-dev yasm autopoint unbound-anchor git-core libspeex-dev \
- libspeexdsp-dev autotools-dev chrpath check astyle \
+ libspeexdsp-dev autotools-dev chrpath check astyle libupnp-dev \
  uuid-dev libudev-dev cmake libjsoncpp-dev --fix-missing
diff --git a/docker/debian_9_i386/Dockerfile b/docker/debian_9_i386/Dockerfile
index c4dc6f54ef60edf55938bdcad6d5a1df0b63fa9c..c5a1b2a88943afb7a5f80673a26de2f608e689f3 100644
--- a/docker/debian_9_i386/Dockerfile
+++ b/docker/debian_9_i386/Dockerfile
@@ -6,5 +6,5 @@ RUN apt-get install -y devscripts debianutils debhelper build-essential tar \
  libdbus-1-dev libasound2-dev libexpat1-dev libpcre3-dev libyaml-cpp-dev \
  libboost-dev libdbus-c++-dev libsndfile1-dev libxext-dev libnatpmp-dev \
  libxfixes-dev yasm autopoint unbound-anchor git-core libspeex-dev \
- libspeexdsp-dev autotools-dev chrpath check astyle \
+ libspeexdsp-dev autotools-dev chrpath check astyle libupnp-dev \
  uuid-dev libudev-dev cmake libjsoncpp-dev --fix-missing
diff --git a/ring-daemon.spec b/ring-daemon.spec
index 11f8466d4f69e75be426da3ac0976336e0146828..6b4dd19ab48e7d55ce5854d91bebb54ae80f21c1 100644
--- a/ring-daemon.spec
+++ b/ring-daemon.spec
@@ -18,7 +18,7 @@ BuildRequires:      dbus-devel libsndfile-devel libXext-devel libXfixes-devel
 BuildRequires:      yasm git speex-devel chrpath check astyle uuid-c++-devel
 BuildRequires:      gettext-devel gcc-c++ which alsa-lib-devel systemd-devel
 BuildRequires:      libuuid-devel uuid-devel gnutls-devel nettle-devel
-BuildRequires:      opus-devel jsoncpp-devel libnatpmp-devel
+BuildRequires:      opus-devel jsoncpp-devel libnatpmp-devel libupnp-dev
 
 %description
 Ring is free software for distributed and secured communication.