Submit a ticketCall us

Welcome to the NEW Success Center. Search all resources (documentation, videos, training, knowledge base articles) or browse resources by product. If you are unable to find what you are looking for, please contact us at customersuccess@solarwinds.com

 

 

 

 

Home > Success Center > Virtualization Manager (VMAN) > How to block port based on Security Vulnerability Scan on Virtual Manager server

How to block port based on Security Vulnerability Scan on Virtual Manager server

Table of contents
Created by Jellouie Maligalig, last modified by MindTouch on Jun 23, 2016

Views: 781 Votes: 1 Revisions: 5

Overview

Use the following procedure to block port 1099, which is being used on OpenNMS.

Environment

  • VMAN 6.3

Steps

Log in using SSH and execute the following commands:

sudo iptables -A INPUT -p tcp --dport 1099 -s 127.0.0.0/8 -d 127.0.0.0/8 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 1099 -j DROP

sudo iptables -A INPUT -p tcp --dport 9004 -s 127.0.0.0/8 -d 127.0.0.0/8 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 9004 -j DROP

sudo /etc/init.d/iptables save

 

 

 

Last modified
04:09, 23 Jun 2016

Tags

Classifications

Public