Changes to be committed:

modified:   src/client.rs
This commit is contained in:
Michael Wain 2024-09-08 20:34:51 +03:00
parent 066c1613d3
commit edadf5a518

View File

@ -31,10 +31,11 @@ fn configure_routes(endpoint_ip: &str, s_interface: Option<&str>) {
let mut ip_output = Command::new("sudo") let mut ip_output = Command::new("sudo")
.arg("ip") .arg("ip")
.arg("-4")
.arg("route") .arg("route")
.arg("add") .arg("change")
.arg("0.0.0.0/0") .arg("default")
.arg("via")
.arg("10.66.66.1")
.arg("dev") .arg("dev")
.arg("tun0") .arg("tun0")
.output() .output()