Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

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

Tags

Classifications

Public