chore(security): disable vector on external VPS nodes and restrict exit node LAN access
ansible-deploy / plan (push) Successful in 2s
ansible-lint / lint (push) Successful in 2s
ansible-deploy / deploy (core-mon, ) (push) Successful in 8s
ansible-deploy / deploy (core-net, ) (push) Successful in 9s
ansible-deploy / deploy (core-secrets, ) (push) Successful in 8s
ansible-deploy / deploy (ger-nod-02, ) (push) Successful in 2m18s
ansible-deploy / deploy (rus-central, ) (push) Successful in 2m0s

This commit is contained in:
karpenok committed 2026-11-18 12:05:37 +07:00
1 parent 425d878ec7
commit ca25b1d042
5 files changed
+78 -42

No files matched your search

@@ -32,6 +32,14 @@
changed_when: "'added' in (ufw_netbird_wg.stdout | lower) or 'deleted' in (ufw_netbird_wg.stdout | lower)"
failed_when: false
- name: Ограничить исходящий доступ с exit node в домашнюю LAN (только VictoriaMetrics на core-mon)
ansible.builtin.command: "{{ item }}"
loop:
- ufw allow out proto tcp from any to 192.168.1.108 port 8428
- ufw deny out to 192.168.1.0/24
register: ufw_lan_restrict
changed_when: "'added' in (ufw_lan_restrict.stdout | lower)"
- name: Клиент NetBird на ноде
ansible.builtin.include_role:
name: netbird_client