{% for ev in wan_events %} {% empty %} {% endfor %}
Time Source IP Proto Dst Port Src Port Geo Target Service
{{ ev.timestamp|date:"H:i:s" }} {{ ev.protocol }} {% if ev.dst_port %} {% with p=ev.dst_port %} {% if p == 21 %}FTP {% elif p == 22 %}SSH {% elif p == 23 %}Telnet {% elif p == 25 %}SMTP {% elif p == 53 %}DNS {% elif p == 80 %}HTTP {% elif p == 110 %}POP3 {% elif p == 143 %}IMAP {% elif p == 443 %}HTTPS {% elif p == 445 %}SMB {% elif p == 1433 %}MSSQL {% elif p == 3306 %}MySQL {% elif p == 3389 %}RDP {% elif p == 5432 %}PostgreSQL {% elif p == 5900 %}VNC {% elif p == 6379 %}Redis {% elif p == 8080 %}HTTP-alt {% elif p == 8443 %}HTTPS-alt {% elif p == 9200 %}Elastic {% elif p == 27017 %}MongoDB {% endif %} {% endwith %} {% else %} {% endif %} {{ ev.src_port|default:"—" }} {% if ev.country_code %} {{ ev.country_code }} {{ ev.geo_display }} {% else %} {% endif %} {% with p=ev.dst_port %} {% if p == 21 %}FTP {% elif p == 22 %}SSH {% elif p == 23 %}Telnet {% elif p == 25 %}SMTP {% elif p == 53 %}DNS {% elif p == 80 %}HTTP {% elif p == 110 %}POP3 {% elif p == 143 %}IMAP {% elif p == 443 %}HTTPS {% elif p == 445 %}SMB {% elif p == 1433 %}MSSQL {% elif p == 3306 %}MySQL {% elif p == 3389 %}RDP {% elif p == 5432 %}PostgreSQL {% elif p == 5900 %}VNC {% elif p == 6379 %}Redis {% elif p == 8080 %}HTTP-alt {% elif p == 8443 %}HTTPS-alt {% elif p == 9200 %}Elastic {% elif p == 27017 %}MongoDB {% else %} {% endif %} {% endwith %}
No WAN events yet. Set up iptables logging on your router — see the Settings page.