Is there any way that I can track any network access (on any port) made to my server by a particular IP? I'm on Ubuntu Server 16.04 LTS and am using uncomplicated firewall.
Preferably, I'd be able to hook whatever the solution is into a script to email me whenever any activity occurs - but I'd be okay with results stored in a logfile instead.
Any help would be much appreciated