VMware Networking Community
leotaglietti
Enthusiast
Enthusiast
Jump to solution

NSX Stateful Firewall - Connection Table

Hello.

I'm using L4 stateful distributed firewall and I would like to know if it's possible to see the current "connection table" that it's used by a stateful firewall to check the flow is related to some active connection. 

Labels (1)
Reply
0 Kudos
1 Solution

Accepted Solutions
aggarwalvinay31
Enthusiast
Enthusiast
Jump to solution

On ESXi host, vsip module maintains rules and flow table. You can use vsipioctl command to get connections or flow stats on VM.

Use summarize-dvfilter to get filter name.

vsipioctl getconnections -f <dvfilter-name> -t <refresh interval in seconds>

 

On KVM, conntrack module keep track of connections.

ovs-appctl dpctl/dump-conntrack -m

You can refer below documents for more information on dfw troubleshooting.

https://docs.vmware.com/en/VMware-NSX-T-Data-Center/3.2/administration/GUID-7BCCF652-7825-4023-A5F3-...

https://docs.vmware.com/en/VMware-NSX-T-Data-Center/3.2/administration/GUID-E7A7C5BE-C23E-4E6A-8B73-...

Hope this helps.

View solution in original post

1 Reply
aggarwalvinay31
Enthusiast
Enthusiast
Jump to solution

On ESXi host, vsip module maintains rules and flow table. You can use vsipioctl command to get connections or flow stats on VM.

Use summarize-dvfilter to get filter name.

vsipioctl getconnections -f <dvfilter-name> -t <refresh interval in seconds>

 

On KVM, conntrack module keep track of connections.

ovs-appctl dpctl/dump-conntrack -m

You can refer below documents for more information on dfw troubleshooting.

https://docs.vmware.com/en/VMware-NSX-T-Data-Center/3.2/administration/GUID-7BCCF652-7825-4023-A5F3-...

https://docs.vmware.com/en/VMware-NSX-T-Data-Center/3.2/administration/GUID-E7A7C5BE-C23E-4E6A-8B73-...

Hope this helps.