@ravery
iptables
isn't supported by WSL. It still relies on the Windows firewall for many things (think of it as a NAT'd setup, sharing the host network connection for things). There's no solution other than to ask Microsoft to support
iptables
as part of the WSL. (Remember that WSL uses a tweaked kernel for Microsoft compatibility -
iptables
support is needed by the
iptables
package
and the
netfilter
functionality in the kernel.) Closing as a 'bug report' - go contact Microsoft and Canonical. —
Thomas Ward ♦ 18 mins ago