000028860 - KB-1074 - How to open TCP/IP ports

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000028860
Applies ToAffected Versions: All Versions
ResolutionRedHat
Modify "iptables" files with the following process:
1. SSH or local console into the appliance.
2. Become the root user
3. Edit the file /etc/sysconfig/iptables
4. Add the following line:
 
iptables -I RH-Firewall-1-INPUT -j ACCEPT -p tcp --destination-port **** -i eth0

Replace "****" with the port number you want opened, that port will be 'opened' (available) for access.
5. save and exit the /etc/sysconfig/iptables file
6. Restart the firewall with the command:
 
service iptables restart

SuSe
Add the relevant ports in the Advanced mode of the Firewall Allowed Services module.
1. SSH or local console into the appliance.
2. Become the root user
3. Start Yast:
 
Yast --> Security & Users --> Firewall --> Allowed Services --> Advanced

4. Add your ports as space delimeted/separated lists in the appropriate row (TCP, UDP and so on). Ranges are designated by a colon; e.g. ten VNC ports from 5905 to 5914 would be 5905:5914. You may use service names insted of numerical ports; e.g. http and 80 are the same.
5. Exit Yast, the firewall will be automatically restarted
 

Attachments

    Outcomes