Firewall rules for NSX through 2 vCentres

I have 2 vCentres, 1 in each physical site, in bound mode and NSX (single component DFW) running on two of them. In each site, the ESX hosts in the pools where I installed NSX are behind a firewall, so I found this doc to get the required ports:

6.2 NSX VMware vSphere Documentation Center

I now have the ports to open for guests of ESX NSX managers/vCentre on each site server, i.e. rules allow of NSX Manager/vCentre/ESX hosts communicate within the site 1 only.

I have similar firewall for site 2 rules.

My question is, do I need the firewall rules to allow the Manager to communicate with the vCentre NSX site 1 and ESX hosts in site 2 and vice versa?

Thanks for any help.

Take a look at the annex in the latest version of the hardening guide - put him to date with some tricks to cross-VC.  You need primary and managers of NSX secondary to communicate for universal synchronization, two managers communicate with the Cluster of universal controller (site 1) and hosts on site 1 and 2 to be able to communicate with the UCC but I don't think you have to your site 2 vCenter/Hosts to communicate with the site 1 NSX Manager if I read it correctly.

NSX - v 6.2.x - Security Hardening Guide (Published version 1.6)

Tags: VMware

Similar Questions

  • How to create the firewall rule for Windows 7 for javaw.exe?

    How to create the firewall rule for Windows 7 for javaw.exe? The application path differs from the new versions and user profiles. Is there generic symbols allowed for example asterisk?

    Hello

    I recommend you to send the request to another Department for assistance:

    Security in Windows 7

    http://social.technet.Microsoft.com/forums/en/w7itprosecurity/threads

    I hope this helps.

  • Firewall rules for creative cloud

    I use Photoshop and Illustrator in creative cloud, and it freezes sometimes on my machine. This happens when he tries to update or connect to the internet. It seems like it might be a firewall problem. What are the ports need to be open to Creative Cloud to connect properly? Also, there are sites that should be trusted sites?

    Hello

    Please refer to Creative Cloud help | All cloud creative Packer.

    Thank you

    Saurabh Rai

  • How to import a TXT file in my list of firewall rules?

    Good then I exported a list of firewall rules in a txt file. I then copied on some firewall rules. Then I saved the file txt and I wonder how I can re - import the txt file. Please note that I don't know of import policy...

    UH I thank you for responding, but apparently you misunderstood what I meant... When I go into windows firewall, there is an option to export the list of rules I want to know is how to re - import this list of rules in because there is no other choice... If so how do I do?

    Since I couldn't find a solution that I found something different that also works. I found a .bat file that you can put in the folder in which you want to block the program and it crashes all the exe files in this folder and all subfolders. You can even choose a fix before custom firewall rule... If any other person having this problem follow the instructions, I provide below:

    Instructions (found online modified by me)

    Create a .bat file, named "addfwrs.bat" without the quotes using italic text, then follow the additional instructions:

    off @echo
    REM FILE OF ORDERS CREATED BY CHARLES DE HAVILLAND 20/02/2012
    CLS
    If '%1 'is' ' GOTO: norulename
    RULENAME SET = %1
    ECHO creating/starting of firewall rules for all files with the rulename of 'RULENAME '? % *.exe
    ECHO.
    ECHO.

    pause
    Echo.
    FOR /r %% in ("*.exe") Do (@echo %%d KB
    ("NETSH advfirewall firewall add rule name =" "% RULENAME-% ~ nxG" dir = program = "% G" action = 'block' enable = 'yes')
    FOR /r %% in ("*.exe") Do (@echo %%d KB
    ("NETSH advfirewall firewall add rule name =" "% RULENAME-% ~ nxG" dir = program = "% G" action = 'block' enable = 'yes')
    Echo.
    ECHO done.
    Echo.
    GOTO: finish
    : norulename
    Echo error! -You have not specified a type Rulename - Addfwrs 'Rulename '.
    Echo.
    : Finishing
    ECHO batch finished...

    Additional instructions:

    Firewall Windows 7 works fine, but it's not easy to set up with several (very long) programs.
     
    I watched for centuries, trying to find a way to block several files .exe to Windows 7 only once; It seems that the only method was to create my own batch (windows script) file.
    I've added below for anyone to use / modify for their own purposes.
     
     
    Run the commands below (addfwrs.bat) file, will create inbound AND outbound firewall rules that block all .exe files in your chosen folder and subfolders to access internet.
    Very useful.
     
    To use:

    (1) place addfwrs.bat in the folder in which you want to block .exe programs (it crashes all the programs exe in no matter what subfolders if you can place it in a folder without any exe it blocks)
    exe in several subfolders both programs)

    (2) now run CMD as administrator.

    (3) copy the new directory (eg. c:\Programs Files (x 86) \YourProg\) where you put the addfwrs.bat file

    (4) paste it into the directory with "cd" CMD and a space before the directory (example: cd c:\Programs Files (x 86) \YourProg\) and press ENTER.

    (5) now run the batch file by typing: addfwrs.bat "rulename" example: addfwrs "BLOCK_PROGRAM_NAME_HERE".
    (Make sure there is no space in the rulename of the firewall rule, so use underscores as spaces.)

    N.B: It is important that you add a rulename firewall, so that you can identify the rules when adding to the firewall at a later date.

    (6) follow the information on the screen, he will advise you what rules he is creating.

    (7) check the Windows Firewall for new rules listed and you can then delete the addfwrs.bat file where you put it (it is necessary even if you can keep it somewhere for later).

    Quite.  Hope you find it useful, I certainly have!
    Enjoy!

    N.B: The new rules contained in the bosom of your firewall (In/Out rules), change as and when you need.

  • QUESTION: Can't create a firewall rule to (edge) with the REST API

    Dear Sir

    I am trying to create a firewall rule for simple and basic edge using the REST API.

    I use the REST API guide as a reference on page 158.


    edge-fw-rule.png

    I use the following code (single) in my client REST API (with good content Type (application/xml)):

    < rule >

    < ruleTag > < / ruleTag >

    < name > edge5-rest-rule < / name >

    all < source > < / source >

    < destination > all < / destination >

    < application > all < / application >

    < matchTranslated > true < / matchTranslated >

    < management > in < / direction >

    < action > deny < / action >

    < enabled > false < / enabled >

    < loggingEnabled > true < / loggingEnabled >

    rest-api-rule of the < description > < / description >

    < / rule >

    The error message that I receive is the following:

    <? XML version = "1.0" encoding = "UTF-8"? >

    < error >

    request details invalid <>. Found no match for item rule. < / details >

    < > 223 errorCode < / errorCode >

    < / error >

    The full screenshot of my action REST API is in the screenshot below:

    full-request.png

    Anyone know what I'm doing wrong here?

    Thank you!

    Try this as the body...

    rest-rule

    user

    true

    in

    deny

    fake

    true

    rest-api-rule

  • NSX 6.1.5 - distribute Firewall rules are not applied to the empty virtual switches

    Hi all

    We have a big problem since we have improved the NSX to version 6.1.3 to 6.1.5.

    I get a bug following this procedure:

    . In vSphere Client--> NSX, create a new virtual switch

    . Distribuer distribute the firewall, create a rule to deny traffic between two survey periods. Example: source: all, destination: all, service: all, Action: reject, applies: the new virtual switch

    . Connect two VMS to the virtual switch and you can test the other (this is false due to the firewall rule)

    . Publish ANY changes on the firewall distribute (could not be related to our rule. Example to change its name to another rule), and the rule starts to operate.

    Additional steps:

    . Remove the firewall rule

    . Identify the virtual machines in the virtual switch

    . Re-create the firewall with applies rule: the virtual switch (still empty)

    . Connect the virtual machines and ping between them. Yet once, the rule does not work.

    . Publish ANY changes on distributed firewalls and the rule starts to operate.

    NSX version 6.1.3 and 6.2.0 both work correctly. But I can't downgrade to 6.1.3 or upgrade to 6.2.0. 6.2.1 upgrade involves the upgrade of several other components.

    I use the following versions:

    . NSX 6.1.5

    . vCenter Version 5.5.0 Build 2414847

    . ESXi, 5.5.0, 2718055

    Please, any ideas?

    Thank you very much

    D.

    She seems to be a bug in 6.1.5 NSX and there is no solution for this yet. There are workarounds, but none of them apply to my "fully automated" environment

    We need to wait for a fix or upgrade to NSX 6.2.1 requiring an upgrade of several components as well.

    D.

  • NSX - distributed weight of the firewall rule

    How are sections of firewall rule and the weighted rules. It is in the order of the section, and then rules or each rule in firewall in the section has a weight value?

    Found the answer on Page 30

    https://www.VMware.com/files/PDF/products/NSX/VMW-NSX-network-virtualization-design-guide.PDF

  • [Solved] Research of firewall rule allowing Windows Update

    The problem has been resolved here: https://social.technet.microsoft.com/Forums/en-US/62b9fd5c-10b2-4266-bc15-fcf3e79d20d4/solved-windows-firewall-rule-that-allows-windows-update?forum=w7itpronetworking

    Everything down here is obsolete. (But you can read the true story about the virus of Bagel).

    Someone at - it an outbound Windows Firewall rule allowing Windows Update?

    Details.

    Yesterday, I tried to run Windows Update. The rule of outbound firewall to allow Windows Update to get through, I added was:

    Name: Allow Windows Update
    Group:
    Profile: Public
    Activated: Yes
    Action: allow
    Program: %SystemRoot%\System32\wuapp.exe
    Local address: no
    Remote address: all
    Protocol: all
    The local railway: no
    Remote port: any
    Computers permit: all

    I got 10 updates to install and all 10 failed. The only way that they have all been able to fail is: '% SystemRoot%\System32\wuapp.exe' is the wrong program, OR "wuapp.exe" passes control to another program, I don't know.

    Can anyone help me with this? I'll be forever grateful if you can.

    Note that I had to fall back to the default settings (see 'Background', below) in order to succeed and who has not made me happy.

    Background.

    Despite what you think it means, "outbound connections (green check mark) that do not match a rule are allowed" (which is the default) means only, unless you went to the extreme penalty to create the blocking rules, the firewall is wide open for outbound - connections, essentially, you have no firewall for outbound connections. " That means, 1, if you have a Trojan horse on your computer that is looking to download his main-payload of viruses in your computer (see "A history of real virus", below), or 2, if you have a virus keylogger in your computer who wants to 'phone home' him make his Masters criminal of your online banking user name & password There is absolutely nothing to stop.

    That's why I put my firewall: "(entry not red) outbound connections that do not match a rule are blocked".

    A story real virus.

    A couple of years ago, I visited a well known web site that had been hijacked - was - it cnet? I think so. The site seemed basically OK, but something made me shy away. I've left without clicking anything whatsoever. But the visitor of this site (with active javascript) transferred a Trojan horse in my computer (i.e. "Trojan", below).

    Once it was in my computer, the Trojan horse, then went through my firewall, out - was my firewall zonealarm at this time? I think so - and downloaded Bagel, a key logger to rootkit.

    I had no warning of the firewall as the Trojan horse used a well-known port that was wide open, and I had no antivirus warning because Bagel does not change any existing program. It uses the unallocated file space, patched itself in the initialization string, charged before the mode protected of windows at the next startup and reprogrammed the hardware memory to hide its presence in memory. It took me 2 months to discover Bagel and another 4 months to get rid of him. It was hell. My keyboard and mouse acted constantly upward. I didn't a bank online at this time. If I had, I'm sure that my account would have been cleaned up because that's what Bagel. It's a keylogger monitoring keyboard and browser waits to catch a connection to the Bank.

    Details of Trojan.

    The Trojan horse was a javascript function which ran automatically when the page is loaded. He created a table (similar to a mathematical object matrix) made up of identical over 1 million members of the group. Each Member of the Group was a short string of numbers. As it looped to add table-members, the Trojan horse later (in fractions of a second) overflowed the heap memory management hardware had allocated to my browser. That overflow has partially replaced the next higher segment in memory - which is called a "violation of the limits", and Yes, it is possible, if you position the base register just below the upper part of your segment and then use a large lag. There was a flaw in Windows that could not detect this type of violation of the limits and Bagel is designed to exploit this vulnerability. But the story does not stop there. To take control, the short string of numbers in a table-member of the "wrong"side of this segment limit had to be performed. Now, it of the roll of the dice that viruses are facing, but if the program that was partly crushed is always loaded in memory and running and if it executes the code at the bottom of its segment, then - Voila! -the virus takes control of the timeslice allocated to the program that was partly crushed. In other words, the program that was partly crushed no longer control, the virus is in control. So, what did the do Trojan horse? Completely in the background and without any idea for me, he went to a web site in Ukraine and downloaded the main payload of Bagel. How do I know all this? I looked at the javascript trojan and I disassembled - disassembly is as kind of decoding - the payload of Bagel (the rootkit) that I saved after I found some 6 months later. I still have the payload of Bagel sequestered in a zip in quarantine - in fact, I have a menagerie of dozens of viruses that I use to test antivirus programs.

    Hi Mark,

    Please keep us updated on the issue.

    I ask that you continue to try the suggestions in this article because the information in the article is good for Windows 7 as well.

    Please let us know the result.

  • RV320 firewall rules, VLAN and IP Aliasing

    I bought and RV320 to replace our router SA520W.  I have 2 servers SBS located on the VLANS separated.

    The 320 RV is set with 1 WAN IP XX. XX. XX.43

    SBS1 a IP internal of the XX. XX.16.2 on VLAN 1 port 1 on the router

    SBS2 a IP internal of the XX. XX.2.2 on the VLAN 5 port on Router 2

    On the old SA520W, I was able to configure alias IP XX. XX. XX.47 and XX. XX. XX.46 with firewall rules if 47 designated SBS1 and 46 stressed SBS2 to their respective ports.

    How to make on the RV320 so I can have 2 isp server IP addresses to go through WAN1 to their VLAN respective?

    SBaalman1,

    The feature you're looking for is called NAT of individuals on most routers Cisco SMB. You can find under Setup.

    -Marty

  • Cannot add firewall rules using the REST API vShield App

    Hi all

    I get the following error

    "< errors > < error > < code > 100039 < / code > < description > Unmatched rules found in the configuration." "< / description > < / error > < / errors >.

    When you use the App API vSheild:

    POST https:// /API/2.0/app/firewall/dvportgroup-55/config < vsm-ip >

    Paylod XML:

    <? XML version = "1.0" encoding = "UTF-8" standalone = "yes"? >
    < VshieldAppConfiguration >
    < firewallConfiguration = "dvportgroup-55" the contextId >
    < layer3FirewallRule disabled = "false" priority = "none" id = "1021" >
    < action > allow < / action >
    < connected > false < / connected >
    < source >
    < address >
    < ipAddress > 172.30.68.212 < / ipAddress >
    < / address >
    < > 222 portInfo < / portInfo >
    < / source >
    < destination >
    < address >
    < ipAddress > 172.30.68.166 < / ipAddress >
    < / address >
    < application >
    < > 333 portInfo < / portInfo >
    < Protocol > 6 < / Protocol >
    < / application >
    < / destination >
    < / layer3FirewallRule >
    < / firewallConfiguration >
    < / VshieldAppConfiguration >

    Is anyone has seen this before or any idea why this might be happening?

    In addition, create a wall of fire to provide the variable "id"... How do I know which id to use to create a new firewall rule. I'm using id = "1021" I see one last created after quesrying API... but when you call it through automation, what will the process to define an id invalid?

    Thank you

    xar

    ID must be present, for the new rule Id must be '0' while that for others it should kept as what. The reason for this error which I believe is the same. Replacement of 1021 with 0 should solve this problem. http://blogs.VMware.com/security/2011/11/using-the-VShield-API.html should also be useful to start with vShield firewall App REST API.

    -Kone

  • (Management and port number) firewall rules

    Someone at - it information on how to get management and port number for a given ESX host firewall rules using the 'VI Perl Toolkit?'

    For some reason, I can't work this one on. I can get to:

    $host - & gt; config - & gt; Firewall - & gt; set of rules

    and from there I can get the label and the State enabled, etc., but I want to delve into the section rule to get the port number and the management as well as for each service.

    For example, from the CROWD:

    HostFirewallRule

    Name

    Type

    Value

    Direction

    HostFirewallRuleDirection

    "entrants".

    dynamicProperty

    [DynamicProperty]

    Unset

    dynamicType

    string

    Unset

    endPort

    int

    Unset

    port

    int

    5989

    Protocol

    string

    "tcp".

    |

    How can I get this information for each service?

    Thanks in advance

    If you found this helpful, please consider awarding points

    Hi Paul,.

    You will need to first loop through the array rule set of firewall and from there you will get some properties this State if it is active, service, etc. and you will also have access to an array called rule that contains the rules within each of the ruleset. Once you go through the rules, you will find information about the direction, endPort, port and Protocol

    Something like this should work (there will be values that will not fill as endPort, so make sure you check before printing/etc.)

    my $fw_ruleset = $host->config->firewall->ruleset;
    
    foreach(@$fw_ruleset) {
         my $rules = $_->rule;
         if($_->enabled) {
             print "Firewall Rule: ", $_->label, "\n";
             foreach(@$rules) {
                  print "Direction: ", $_->direction->val, "\n";
                 print "End Port: ", $_->endPort, "\n";
                 print "Port: ", $_->port, "\n";
                 print "Protocol: ", $_->protocol, "\n";
              }
              print "-------------\n"
         }
    }
    

    Here's a quick snippet out:

    Firewall rule: SNMP Server

    Direction: inbound

    Use of uninitialized value, catalogue in ligne./vmwareHealthCheck.pl 1748.

    Ending port:

    Port: 161

    Protocol: udp

    Direction: outgoing

    Use of uninitialized value, catalogue in ligne./vmwareHealthCheck.pl 1748.

    Ending port:

    Port: 162

    Protocol: udp

    -

  • FVS336Gv3 multi-NAT inbound firewall rules does not

    I have about 30 Netgear FVS338 and a few FVS336Gv2 routers in use. I use for firewall and provide multi-NAT between industrial machines and WAN. The configuration was changed on Gv3 models and I can't get an answer behind the firewall or router in the diagnostics page when you use the WAN address.

    In the examples below the WAN is 10.62.

    Figure 1. Two different devices with two different configuration options.

    Figures 2 and 3. The first is bad - it would only connect from this address. Have I set up another correctly to the NAT WAN to LAN 10.3.110.215 address 10.62.31.55 address?

    Q1: Is Figure 3 configured correctly?

    Q2: Why is it forcing me to create a range of addresses? On the older routers, I had the opportunity to address.

    Q3: Is anyone aware of any problem with this router?

    For anyone having the same problem, the FVS336Gv3 requires the manual addition of each new address WAN-side. He is buried in the menu structure:

    Figure 1. Network configuration | WAN settings | WAN configuration. WAN1 - Edit.

    Figure 2. Select the secondary addresses.

    Figure 3. Add the required WAN addresses.

    Now configure the inbound firewall rules:

    Figure 4. Security | Firewall rules. Add or change. Note that the WAN secondary addresses are available in the drop-down list address WAN IP.

    Password

    There seems to be a problem with this router about the session timeout. I got them several times on the navigation menu and log on again and renavigate. Idle time-out is set to 90 minutes. I never saw this problem on routers earlier.

    Also, note that the password field now has a limited character set. for example, it does not accept ' $'.

  • quick way to add multiple subnets of Server 2008 firewall rules?

    I set up a firewall in windows server 2008.  I need to add several subnets to a rule for inbound traffic, but it is making me add subnets one at a time.  Is it possible to add several subnets simultaneously?  I tried separating them by commas and add them via the GUI, but he wouldn't take it (he said that specify an address valid).  Also if you have already entered a long list of subnets in a firewall rule is it possible to copy it to another firewall rule?

    Hi Goatberg,

    Your question of Windows Server 2008 is more complex than what is typically covered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the Technet Forum. You can follow the link to your question:

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • RVL200 - SSL VPN and firewall rules

    Forgive my ignorance, but I have been immersed in the configuration of this device RVL200 to allow Remoting SSL VPN to a customer site, sight unseen.  I have the basics of the VPN set up in config, but now move the firewall rules.  We want to block all internal devices to access the Internet, but I don't want to cripple the remote clients that will be borrowed by blocking their return via the SSL VPN traffic.  This leads to my questions:

    (1) a rule of DENIAL of coverage for all traffic OUTBOUND will prevent the primary function of the VPN (to allow the administration away from machines on the local network)?

    (2) if the answer to #1 is 'Yes', what ports/services do I need to open the side LAN?

    (3) building # 2, configuring authorized outbound rules apply only for VPN clients, rather than all the hosts on LAN?

    (4) as the default INCOMING traffic rule is to REFUSE EVERYTHING, do I have to create a rule to allow the VPN tunnel, or guess that in the configuration of the router?

    Here are some other details:

    • The LAN behind the RVL200 is also isolated LAN in a manufacturing environment
    • All hosts on this network have a static IP address on a single subnet.
    • The RVL200 has been configured with a static, public IP on the WAN/INTERNET side.
    • DHCP has been disabled on the RVL200
    • Authentication to the device will use a local database.
    • There is no such thing as no DNS server on the local network
    • The device upstream of the RVL200 is a modem using PPPoE DSL, and the device has been configured for this setting.
    • Several database of local users accounts were created to facilitate the SSL VPN access.

    I worked with other aspects of it for a long time, but limited experience with VPN and the associated firewall rules and zero with this family of aircraft.  Any help will be greatly appreciated.

    aponikikay, there is no port forwarding necessary to the function of the RVL200 SSL - VPN.

    Topic 1. That is not proven. It shouldn't do. The router should automatically make sure that the SSL - VPN router service is functional and accessible.

    Re 2. No transfer necessary. In addition, never before TCP/UDP port 47 or 50 for VPN functions. The TCP 1723 port is used for PPTP. UDP 500 is used for ISAKMP. You usually also to transmit TCP/UDP 4500 port for IPSec encapsulation.

    Let's not port 47. ERM is an IP protocol that is used for virtual private networks. It is a TCP or UDP protocol. GRE has 47 IP protocol number. It has nothing to do with TCP or UDP port 47. TCP and UDP are completely different protocols of free WILL.

    It goes the same for 50: ESP is the payload for IPSec tunnels. ESP is the Protocol IP 50. It has nothing to do with TCP or UDP port 50.

    'Transfer' of the GRE is configured with PPTP passthrough option.

    'Transfer' of the ESP is configured with IPSec passthrough option.

  • Example rule for WebMonitor on Foglight 5

    Hello dear members,

    I'm looking for an example rule for WebMonitor agent.

    Kind regards

    David

    Could you not make a copy of the default rule and then select only the DEADLY condition and set the behavior through the tab behavior, such as the alarm goes off only if three consecutive samples fail?  Looks like that fits your use case.

    Jeff

Maybe you are looking for

  • Why is my iMac so slow?

    We have an iMac 27 inches that was about 3 years old and in recent weeks he began to be very slow. We often get the beach ball of rotation for simple things like opening an e-mail or from Finder. I tried a number of things without success: reset my h

  • HP 17-f053us: mobo replacement and windows 8.1 activation code

    Model # 17 - f053us Product # G6R30UA #ABA Windows 8.1 I bought this laptop News 16 months ago and the two USB 3.0 ports failed and he is now out of warranty.  I bought a used mobo 763422-501 similar to that of the computer now.  I read on the map af

  • Satellite C855-1john - some keys are dead

    Satellite C855-1Jn A key is dead on my keyboard, it is not a real problem, except to enter My computer is off when the battery is low, and now I'm stuck in recovery menu: I have two choices, but I need to necessarily validate with the Enter key, ther

  • How to transfer the backup from pc to ipad

    How to transfer the backup from pc to ipad

  • levels of ink onto printer officejet K5400 with windows 7

    recently turned to a new computer with windows 7 and downloaded the compatible print driver 64 bit works fine but there is no tool more for ink levels and no way to determine which of the 4 ink ink cartridges when I get a message of ink out of.  prin