-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
请问下bind和bind-tcp可以绑定接口吗? #1229
Comments
请阅读配置说明文档。
|
要是能支持绑网卡接口这样就更方便了 |
目前没有,可以增加绑定端口 bind [::]:53@eth0 |
可以这样的话,最好不过啦 |
最新代码改了,配置方法如上。luci没有改。 |
收到,我回去就试试 |
大佬好像有点小问题 我测试流程如下
2、运行/etc/init.d/smartdns restart
复原custom.conf后换了一种测试
2、运行/etc/init.d/smartdns restart 呃。。第一遍回复时候忘了回复网络,发帖失败了,这是又编辑又发了一次 |
呃,日志调成debug是手滑打错了 现在出来了,先贴个改smartdns文件,然后改dnsmasq上游地址的
|
光绑一个br-lan也不对哈哈,路由里的ssrp+和dnsmasq咋弄啊? 我去先试试在br-lan下边的机器dig一下 |
@br-lan时候,br-lan下边的机器正常 |
更新了luci界面,增加了bind device选项,可以验证看看。 |
原来是可以多写两行哈哈,这下完美~ bind [::]:53535@br-lan |
绑接口啥用呢,没懂,绑了影响ssrp吗 |
避免公网暴露啊 |
这边是openwrt,看现有文档似乎是可以设置监听ip和端口
之前我扫了一下外网ip的端口,发现端口是对外暴露的,然后看了一下配置文件,就在想是否可以只监听比如br-lan这样的接口呢?
或者只监听192.168.1.1/24这样?
总归现在对外暴露,目前的解决方案是防火墙建立规则,是不是可以从smartdns本身监听绑定解决问题呢?
The text was updated successfully, but these errors were encountered: