D
D
Dubrovin2020-05-23 23:58:36
ISPmanager
Dubrovin, 2020-05-23 23:58:36

How to view firewall logs in ISP Manager?

There is a server with ubuntu 16 and ISPManager. The firewall rules are configured to block everyone except allowed IPs on ports 80 and 443.
Where can I see a log with a list of IP addresses, who exactly connected to ports 80 and 443 and whom the firewall blocked or did not block.
Or how to enable such logging if it is disabled by default?
Firewall, as far as I understand, iptables.
I'm not good at Linux, please help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Official account of the Timeweb team, 2020-06-01
@timeweb_team

Check the logs /var/log/messages or /var/log/syslog and /usr/local/mgr5/var/ispmgr.log.
The rules themselves are configured through Ispmanager in the "Firewall" section. You can view the list of current iptables rules with "iptables -L". You can configure iptables logging to a separate file by following the instructions: https://tokmakov.msk.ru/blog/item/483

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question