X-dea / flutter_vpn

Plugin to access VPN service for Flutter | Flutter 的 VPN 插件
GNU Lesser General Public License v3.0
345 stars 125 forks source link

Can I use for change DNS? #77

Open sahmadreza opened 3 years ago

sahmadreza commented 3 years ago

Hi, Can I use this to change the DNS phone?

justatipfromthedeadsequoiatree commented 2 years ago

Any update on this?

realbitt commented 2 years ago

this is client app, if you want to use custom dns this is done from vpn server and you need dns server too.

vitasha10 commented 2 years ago

To change dns open /etc/ipsec.conf on your server and add to your conn rightdns=1.1.1.1,1.0.0.1 (cloudflare or any custom)

Or use the ready-made installer

Don't forget to ipsec restart or systemctl restart ipsec Check status and logs systemctl status ipsec

bugrevealingbme commented 1 year ago

++