Skip to content

Commit

Permalink
Enable DNS spoofing by default on non-Windows systems, disable on Win…
Browse files Browse the repository at this point in the history
…dows
  • Loading branch information
nullchinchilla committed Sep 7, 2024
1 parent 3b96f2b commit e651b46
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,13 @@ pub static GEPH5_CONFIG_TEMPLATE: LazyLock<Config> = LazyLock::new(|| Config {
mizaru_plus: "cf6f58868c6d9459b3a63bc2bd86165631b3e916bad7f62b578cd9614e0bcb3b".into(),
}),
vpn: false,

#[cfg(not(target_os = "windows"))]
spoof_dns: true,

#[cfg(target_os = "windows")]
spoof_dns: false,

passthrough_china: false,
dry_run: false,
credentials: geph5_broker_protocol::Credential::TestDummy,
Expand Down

0 comments on commit e651b46

Please sign in to comment.