Skip to content

Commit

Permalink
feat: change tun dns parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Mythologyli committed Nov 14, 2023
1 parent 1f0f15b commit 5ae9222
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions zjuconnectcontroller/zjuconnectcontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,7 @@ void ZjuConnectController::start(
if (tunMode)
{
args.append("-tun-mode");
args.append("-dns-server-bind");
args.append("127.0.0.1:53");
args.append("-tun-dns-server");
args.append("127.0.0.1");
args.append("-dns-hijack");

if (addRoute)
{
Expand Down

0 comments on commit 5ae9222

Please sign in to comment.