Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

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: 19 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