Skip to content

Commit

Permalink
Switch to legacy iptables.
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-schlichtherle committed Nov 17, 2022
1 parent ad87c85 commit 00195f6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions roles/debian-up/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,15 @@
dest: /etc/default/locale
src: locale.j2
notify: require reboot
# See https://docs.k3s.io/advanced#additional-preparation-for-debian-buster-based-distributions :
- name: flush iptables
iptables:
flush: yes
- name: use iptables-legacy
alternatives:
name: iptables
path: /usr/sbin/iptables-legacy
- name: use ip6tables-legacy
alternatives:
name: ip6tables
path: /usr/sbin/ip6tables-legacy

0 comments on commit 00195f6

Please sign in to comment.