From edadf5a518e3e53f6a10eb6769a29ce4c9ee9473 Mon Sep 17 00:00:00 2001 From: alterdekim Date: Sun, 8 Sep 2024 20:34:51 +0300 Subject: [PATCH] Changes to be committed: modified: src/client.rs --- src/client.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/client.rs b/src/client.rs index 740e6d0..72452a9 100644 --- a/src/client.rs +++ b/src/client.rs @@ -31,10 +31,11 @@ fn configure_routes(endpoint_ip: &str, s_interface: Option<&str>) { let mut ip_output = Command::new("sudo") .arg("ip") - .arg("-4") .arg("route") - .arg("add") - .arg("0.0.0.0/0") + .arg("change") + .arg("default") + .arg("via") + .arg("10.66.66.1") .arg("dev") .arg("tun0") .output()