From 8c49c789886d953df21345ded5534b7b5f532dce Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 21 Apr 2023 17:52:54 +0200 Subject: [PATCH] Continue if iptables doesnt support checksum --- run/network.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run/network.sh b/run/network.sh index 837950c..888c276 100644 --- a/run/network.sh +++ b/run/network.sh @@ -104,7 +104,7 @@ configureNAT () { iptables -t nat -A PREROUTING -i eth0 -p udp -j DNAT --to $VM_NET_IP # Hack for guest VMs complaining about "bad udp checksums in 5 packets" - iptables -A POSTROUTING -t mangle -p udp --dport bootpc -j CHECKSUM --checksum-fill + iptables -A POSTROUTING -t mangle -p udp --dport bootpc -j CHECKSUM --checksum-fill || true #Enable port forwarding flag [[ $(< /proc/sys/net/ipv4/ip_forward) -eq 0 ]] && sysctl -w net.ipv4.ip_forward=1