PF pf traffic counter by port?

I have an EC2 instances in AWS running FreeBSD. I'm trying to get some insight into network transfer out cost. Is there a way get a count of network traffic by port using pf?

Thanks in advance.
 
The counters in pf are reset on reboot so you need accounting software like netflow and flows then can be analyzed and stored using nfsen.


 
Back
Top