Class ServiceSet

java.lang.Object
com.aoindustries.firewalld.ServiceSet

public class ServiceSet extends Object
A service set is one service opened on a set of specific IP and port combinations. Because each Service only supports a single <destination />, to open only the specific IP and port combinations, a set of additional services are created using the base service as a template.

The first service in the set uses the template service name. Additional services are named with "-2", "-3", ... added to the template service name.

Consider the example of opening SSH on two addresses, but leaving it closed on others. One port could be 192.0.2.14:22 while the other is 192.0.2.16:22. This would result in two services: ssh with a destination of 192.0.2.14:22 and ssh-2 with a destination of 192.0.2.16:22.

Author:
AO Industries, Inc.