print range

Catalin-Emil Fetoiu committed Aug 9, 2024 at 17:30 UTC f8ff32084def316b1c74cdc3da936b02f752f1ca
1 file changed +4
diagnostics/networking.sh
+4
@@ -24,6 +24,10 @@ if [ -z ${WSL_PAC_URL+x} ]; then echo "WSL_PAC_URL is unset"; else echo "WSL_PAC
24 echo "Printing DNS configuration"
25 cat /etc/resolv.conf
26
27 +# This is only configured in mirrored mode. WSL configures only the v4 port range - Linux will use the same range for v6
28 +echo "Printing ephemeral port range"
29 +cat /proc/sys/net/ipv4/ip_local_port_range
30 +
31 echo "Printing iptables and nftables rules"
32 # iptables can be configured using both "iptables" and the legacy version "iptables-legacy". It's possible they can be used together
33 # (although not recommended). Collect both to make sure no rules are missed.