1 --- a/wgengine/router/router_linux.go
2 +++ b/wgengine/router/router_linux.go
3 @@ -129,7 +129,7 @@ func newUserspaceRouter(logf logger.Logf
5 ipt4, err := iptables.NewWithProtocol(iptables.ProtocolIPv4)
8 + ipt4, err = iptables.NewFakeWithProtocol(iptables.ProtocolIPv4)
11 v6err := checkIPv6(logf)
12 @@ -148,7 +148,7 @@ func newUserspaceRouter(logf logger.Logf
13 // if unavailable. We want that to be a non-fatal error.
14 ipt6, err = iptables.NewWithProtocol(iptables.ProtocolIPv6)
17 + ipt6, err = iptables.NewFakeWithProtocol(iptables.ProtocolIPv6)
21 @@ -1676,11 +1676,6 @@ func checkIPv6(logf logger.Logf) error {
22 return fmt.Errorf("kernel doesn't support IPv6 policy routing: %w", err)
25 - // Some distros ship ip6tables separately from iptables.
26 - if _, err := exec.LookPath("ip6tables"); err != nil {