Skip to content

MonoPanel 0.8.1

Choose a tag to compare

@github-actions github-actions released this 14 Sep 07:05
· 39 commits to main since this release

v0.8.1 — firewall: порядок правил и защита от самоблокировки / firewall rule order and lockout guard

Русский

  • Правила firewall собираются по полкам: allow с источником → deny → всегда открытые порты и allow без источника. «deny --port 8443» вместе с «allow --port 8443 --source » теперь означает «панель только с VPN»; раньше deny шёл первым и закрывал порт для всех.
  • Защита от самоблокировки: deny без источника на SSH или порт панели принимается только при наличии allow с источником; удаление последнего такого allow, а также deny или ban, накрывающие ваш текущий адрес, отклоняются с понятной подсказкой.
  • Статус показывает закрытые порты и кому они открыты: строка в «mp firewall status», теги и подсказка о порядке на странице Firewall, объяснение в «mp firewall deny --help».

English

  • Firewall rules are assembled in tiers: allows with a source → denies → always-open ports and allows without a source. "deny --port 8443" together with "allow --port 8443 --source " now means "panel only from the VPN"; before, the deny came first and closed the port to everyone.
  • Lockout guard: a source-less deny on SSH or the panel port is accepted only once an allow with a source exists; removing the last such allow, or adding a deny or ban that covers your current address, is refused with a clear hint.
  • Status lists restricted ports and who still gets in: a line in "mp firewall status", tags and an order hint on the Firewall page, an explanation in "mp firewall deny --help".

Обновление

mp update
mp update apply

Панель скачает пакет для своей ОС, проверит подпись и перезапустится сама.