What network ports are used by Amanda Enterprise?

This article is for Amanda Enterprise (AE)

Info Description:

Ports used by Amanda

For Amanda 3.3 and earlier

  • Outbound TCP ports from Amanda server: 700-710
    • Note: “700-710” is the default source port range. The port range(s) of outbound connects allowed by the firewall should include all port ranges for all Backup Sets as configured by field “Ports for Parallel Backups” on Backup|how

For Amanda 3.4 and higher

  • Outbound TCP ports from Amanda server: 800-840
    • Note: “800-840” is the default source port range. The port range(s) of outbound connects allowed by the firewall should include all port ranges for all Backup Sets as configured by field “Ports for Parallel Backups” on Backup|how

Inbound TCP ports on Amanda clients (including Windows client): 10080, 10081

  • Note: This also applies to the Amanda server when backing up itself.

Firewall configuration

There are a number of tools to configure firewall rules. Such tools are the simplest way to open new ports and add trusted hosts to firewall rules. If such a tool is not available, the iptables command such as available on Linux can be used from command line.

The following is an example of adding a firewall rule using iptables command to allow incoming packets on port 10080 from any source IP to any destination IP when the inbound rules are in chain “INPUT”.

# iptables -I INPUT -j ACCEPT -p tcp --state NEW --dport 10080 -s 0.0.0.0/0 -d 0.0.0.0/0

The following is a similar example showing a rule to allow all incoming connections from a trusted host, 192.168.1.23, such as an Amanda server to all network interfaces on the localhost.

# iptables -I INPUT -j ACCEPT -p all -s 192.168.1.23 -d 0.0.0.0/0