Chapter 8. Server setup

The packages are available in a convenient format in popular Linux operating systems including Debian, Ubuntu and Fedora. the section called “Choice of operating system” discusses the choice of operating system.

If using Debian 8 (jessie) you must use the reSIProcate 1.10.x packages from jessie-backports .

Users of Red Hat Enterprise Linux (RHEL) and CentOS can easily build the reSIProcate package using rpmbuild. All required dependencies are available in the operating system or the EPEL collection.

It is strongly recommended that you either use 1.9.7-4 or later. Previous versions available in older distributions do not have the most recent fixes for OpenSSL SSLv23_method issues. For any new installations, it is recommended to start with version 1.10.0 or later as it offers several more improvements in features and interoperability.

Install the operating system using the normal process, set up an IP address on the machine and make sure network connectivity is working.

If you are not familiar with server installation, a useful resource is the Debian Administrator's Handbook.

Debian/Ubuntu servers

To set up both of the IP addresses on the same box (as required by the ICE/STUN/TURN protocol), modify the /etc/network/interfaces file as demonstrated in Example 8.1, “Adding IP addresses in /etc/network/interfaces.

Example 8.1. Adding IP addresses in /etc/network/interfaces

allow-hotplug eth0
iface eth0 inet static
        address 198.51.100.19
        netmask 255.255.255.0
        network 198.51.100.0
        broadcast 198.51.100.255
        gateway 198.51.100.1
        up ip addr add dev eth0 198.51.100.20/24 scope global

iface eth0 inet6 static
        address 2001:DB8:1000:2000::19
        netmask 64
        gateway 2001:DB8:1000:2000::1
        dns-nameservers 2001:DB8:1000:2000::5
        dns-search example.org

Notice the line using the ip addr add command to add the additional IP address.

Fedora, RHEL and CentOS servers

To set up both of the IP addresses on the same box (as required by the ICE/STUN/TURN protocol), see the documentation about alias and clone files for network interfaces