You are here: RPM Installation > Additional Configuration > Opening Ports in a Firewall

2.11 Opening Ports in a Firewall

If your site is running firewall software on its hosts, you will need to configure the firewall to allow connections to the products in your installation.

This topic provides an example and general instructions for how to open ports in your firewall. The actual port numbers for the various products will be provided in the installation instructions for that product.

Red Hat 6-based systems use iptables as the default firewall software. For the ip6tables service, replace all occurrences of iptables with ip6tables in the example. If you use different firewall software, refer to your firewall documentation for opening ports in your firewall.

The following is an example of adding port 1234 when using iptables.

[root]# iptables-save > /tmp/iptables.mod

[root]# vi /tmp/iptables.mod
				
# Add the following lines immediately *before* the line matching
# "-A INPUT -j REJECT --reject-with icmp-host-prohibited"

-A INPUT -p tcp --dport 1234 -j ACCEPT
				
[root]# iptables-restore < /tmp/iptables.mod				
[root]# service iptables save

© 2016 Adaptive Computing