VMware NSX for vSphere 6.2.x
VMware NSX for vSphere 6.3.x
VMware NSX for vSphere 6.4.x
To determine/control whether a VM has a slot 4 filter created for it, review the service profile for the partner service.
The specific rules that are applied can be listed by using the vsipioctl getrules command, providing the name of the slot 4 filter found above: vsipioctl getrules -f nic-9214649-eth0-serviceinstance-5.4 which will return rules in the following format.
Note: "punt" indicates traffic matching the rule will be redirected to the partner appliance. Punt rules should always be created in pairs for bi-directional traffic to work, since the return traffic must be sent back to the partner appliance for it to track stateful flows, and the return traffic is sent to the partner service before it can be inspected by the stateful DFW to determine if it matches an existing flow. Only adding one rule will result in the partner appliance only seeing one side of the traffic flow, which could result in unintended network communication failure for the VM.
ruleset 7854
{
# Filter rules
rule 13982 at 1 inout protocol any from addrset ip-vm-194 to any punt with log;
rule 13979 at 2 inout protocol any from any to addrset ip-vm-194 punt with log;
rule 13973 at 3 inout protocol any from addrset ip-securitygroup-11 to addrset ip-securitygroup-11 punt with log;
rule 13969 at 4 inout protocol any from addrset ip-securitygroup-11 to addrset ip-securitygroup-11 punt with log;
}
ruleset 7854_L2
{
}