add catch-all allowed ip
This commit is contained in:
parent
bf15221a7b
commit
a1719dacf7
1 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ use anyhow::{Error, Result};
|
|||
use base64::{engine::general_purpose, Engine as _};
|
||||
pub use command::{DaemonCommand, DaemonStartOptions};
|
||||
use fehler::throws;
|
||||
use ip_network::{IpNetwork, Ipv4Network};
|
||||
use instance::DaemonInstance;
|
||||
use crate::wireguard::{StaticSecret, Peer, Interface, PublicKey};
|
||||
pub use net::DaemonClient;
|
||||
|
|
@ -52,7 +53,7 @@ pub async fn daemon_main() -> Result<()> {
|
|||
endpoint,
|
||||
private_key,
|
||||
public_key,
|
||||
allowed_ips: vec![],
|
||||
allowed_ips: vec![IpNetwork::V4(Ipv4Network::DEFAULT_ROUTE)],
|
||||
}])?;
|
||||
|
||||
iface.run().await;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue