Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: ramasule on December 27, 2015, 07:01:34 PM

Title: Port forwarding log
Post by: ramasule on December 27, 2015, 07:01:34 PM
Hello,

Is there a log to see who has accessed a port listed in the port forwarding table?

Thank you,

Ram
Title: Re: Port forwarding log
Post by: CharlieBrady on December 27, 2015, 10:22:37 PM
Is there a log to see who has accessed a port listed in the port forwarding table?

No. Usually you would expect the service which is the target to create logs.
Title: Re: Port forwarding log
Post by: mmccarn on December 28, 2015, 09:37:13 PM
iptraf (http://iptraf.seul.org/) (mentioned in Useful_Commands (http://wiki.contribs.org/Useful_Commands)) can be used to monitor network packets in real time but would not work for long term port monitoring or traffic auditing.

Traffic that has been denied by the SME firewall is logged in /var/log/iptables/current.

Traffic that is allowed is not logged at the firewall level.