mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-14 05:37:23 +08:00
fix AllowIps and Address fields for WireGuard client (#99)
- add Wireguard client cidr into AllowIps - change subnet number to 32 in Address field
This commit is contained in:
@@ -360,8 +360,15 @@ async fn main() -> Result<(), Error> {
|
||||
.into_inner()
|
||||
.vpn_portal_info
|
||||
.unwrap_or_default();
|
||||
println!("portal_name: {}\n", resp.vpn_type);
|
||||
println!("client_config:{}", resp.client_config);
|
||||
println!("portal_name: {}", resp.vpn_type);
|
||||
println!(
|
||||
r#"
|
||||
############### client_config_start ###############
|
||||
{}
|
||||
############### client_config_end ###############
|
||||
"#,
|
||||
resp.client_config
|
||||
);
|
||||
println!("connected_clients:\n{:#?}", resp.connected_clients);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user