Challenge

                    

Veeam Backup & Replication fails to connect to Linux servers based on Debian, SLES or RHEL/CentOS distributions with default firewall configuration.

                                            

Cause

                                                    

Linux OS firewall configuration and/or security rules restrict connections to the required ports.

                                                                            

Solution

                                    

Default security settings differ for each Linux OS distribution and may require additional configuration to allow connections to the required ports.

NOTE: keep in mind that the port range for earlier versions is from 2500 to 5000.


Firewall rules

Debian
In most Debian distributions, ports from 2500 to 3300 are opened by default. If connections to the Linux server fail, make sure that Linux OS does not have restrictions for this range of ports.

SLES
Use the iptables utility to allow connections to the port range 2500–3300:i

iptables -I INPUT -p tcp —dport 2500:3300 -m state —state NEW -j ACCEPT

RHEL/CentOS
Use the iptables utility to allow connections to the port range 2500–3300:

iptables -I INPUT -p tcp —dport 2500:3300 -m state —state NEW -j ACCEPT

 

SELinux policy

SELinux policy must be configured to allow connections to the required range of ports. By default, SELinux policy restricts such connections.

To disable SELinux policy, open the /etc/selinux/config file and disable the SELinux mode. Save the file and reboot your system.