Page 1 of 1

Disconnect the tunnel when dns changed by client

Posted: Wed Oct 27, 2021 7:00 am
by unameaa
hi. i configured softether and client connected to the softether vpn successfully.
i configured an dns server for default that is 192.168.30.1 and user dns requests resolved from this address and this address configured on softether server.that means my client can not show any public dns server for default.
i have a problem that is my client can changing the default dns (192.168.30.1) and load the websites without any problem.
how can i prevent to changing dns server address by the client?

Re: Disconnect the tunnel when dns changed by client

Posted: Wed Oct 27, 2021 11:26 am
by solo
If the client has admin/root on the PC then there is nothing you can do.

Re: Disconnect the tunnel when dns changed by client

Posted: Wed Oct 27, 2021 12:55 pm
by unameaa
can i doing this on windows firewall that softether server installed on it that can only accept dns requests from 8.8.8.8 and when user choose 1.1.1.1 as her dns servers then tunnel connection not accept?