Skip to content

Commit

Permalink
fix: enables bridge-nf-call-iptables by default
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Berning <[email protected]>
  • Loading branch information
sam-berning committed Aug 22, 2023
1 parent bbdd782 commit 916adf3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions finch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,15 @@ provision:
- mode: boot
script: |
modprobe virtiofs
- mode: boot
script: |
modprobe br_netfilter
cat <<EOF > /etc/sysctl.d/99-finch.conf
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.ip_forward = 1
EOF
sysctl --system
# # `user` is executed without the root privilege
- mode: user
script: |
Expand Down

0 comments on commit 916adf3

Please sign in to comment.