Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions network/vyos/ansible/playbooks/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,23 @@
- "{{ ansible_user }}@{{ ansible_host }}"
- "sudo {{ remote_dns_mirror_fetch_script_path }}"

- name: Ensure IPv4 TCP MSS nftables chain exists before interface commit
delegate_to: localhost
ansible.builtin.command:
argv:
- ssh
- -i
- "{{ ansible_ssh_private_key_file }}"
- -o
- StrictHostKeyChecking=no
- -o
- UserKnownHostsFile=/dev/null
- "{{ ansible_user }}@{{ ansible_host }}"
- >-
sudo nft list chain ip raw VYOS_TCP_MSS >/dev/null 2>&1 ||
sudo nft 'add chain ip raw VYOS_TCP_MSS { type filter hook postrouting priority raw; policy accept; }'
changed_when: false

- name: Load, commit, and save configuration
vyos.vyos.vyos_command:
commands:
Expand Down
Loading