Usually on a KVM node with CentOS,
- iptables support is enabled on the bridge (bridge-nf-call-iptables)
- iptables rules can be used to log the data, 2 chain rules one for incoming and one for outgoing
- then a bash script is used to extract the data/store the data
- iptables counter is flushed (iptables -Z iirc)
I’m pretty new to SmartOS and have tried looking up a way to install iptables (which I assume isn’t possible since this is based off solaris?) so what would be the best way to get a similar setup going on SmartOS?
Answer
Attribution
Source : Link , Question Author : Arjit Chaudhary , Answer Author : Community