diff --git a/src/main.rs b/src/main.rs index 6c23988..135955b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -194,7 +194,7 @@ fn write_config( let allowed_ips: &[&str] = if config_opts.no_ipv6 { &["0.0.0.0"] } else { - &["0.0.0.0", "::0"] + &["0.0.0.0", "::/0"] }; write_list(output, "AllowedIPs = ", allowed_ips)?;