{% extends "base.html" %} {% block title %}Portal Guard · NEXXVU{% endblock %} {% block content %}
Settings › Security
Only the addresses on the sign-in allowlist reach this Portal. The MikroTik router in front of it drops port 443 for everyone else, so scanners get no answer at all.
Only Portal administrators manage Portal Guard.
{% elif not g %}Portal Guard is not available on this Portal yet.
{% else %}What gets through on port 443: the sign-in allowlist, the trusted addresses and the private ranges (your LAN and VPN). Port 80 stays open so the certificate keeps renewing; logs, SNMP and updates are not touched. Only IPv4 is guarded.
{% if g.problem %}{{ fresh_tag("security:guard-wide") }}{{ g.problem }}
{% elif not g.allowlist_used %}The sign-in allowlist is not in use (everyone may sign in), so there is nothing to keep out. Fill it under Settings › Security first.
{% elif not g.requester_ok %}Your current address ({{ g.requester }}) is not on the allowlist or the trusted addresses, so Portal Guard cannot be switched on from here.
{% endif %}{{ g.allowed|join(', ') or '—' }}
| Router in front of the Portal | Portal Guard | Actions |
|---|---|---|
| {{ r.label }} | {% if st and st.state == 'on' %}{{ fresh_tag("security:guard-names") }}{{ fresh_tag("security:guard-preview") }}On {% if st.last_ok == 0 and st.last_detail %} {{ st.last_detail }}{% endif %} {% elif st and st.state == 'pending' %}Waiting for your confirmation {% elif not r.ready %}Not kept up to date {% else %}Off{% endif %} |
{% if st and st.state == 'pending' %}
{% elif st %}Switch off… |
| No MikroTik router is onboarded. A router NEXXVU does not manage (for example a FortiGate) gets the policy below, to add by hand. | ||
The router sees this Portal at {{ plan.portal }}.
{{ plan.changes|join('\n') }}
From the local network or the router's console (WinBox or SSH), one line turns Portal Guard off; NEXXVU's next check shows it.
/ip firewall filter disable [find comment~"nexxvu-portal-guard"]
NEXXVU never changes a FortiGate. These lines create the address group; then use it as the source of the policy that lets HTTPS in to the Portal.
{{ g.fortigate }}