Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i change the default DNS for the VPN server #41

Open
rajkotraja opened this issue May 30, 2017 · 2 comments
Open

How can i change the default DNS for the VPN server #41

rajkotraja opened this issue May 30, 2017 · 2 comments

Comments

@rajkotraja
Copy link

i want to change default DNS of the VPN server, how can i change that?

@Nebukad93
Copy link

They are in the etc/strongswan.conf file

@bindiry
Copy link

bindiry commented Aug 17, 2017

之前一直用的是ikev1,配合dnsmasq使用,使用了这个ikev2之后,发现即使在连接设置里面指定了dns为127.0.0.1(dnsmasq智能分流)也没用,用dig命令测试,还是使用的8.8.8.8来解析。

尝试在etc/strongswan.conf中把dns配置去掉,自己生成images,连上后浏览器会提示找不到dns服务器。

所以怎样才能让ikev2指定本地dnsmasq的127.0.0.1来解析呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants