Wifi Tether
时,除非我禁用 DroidWall
防火墙,否则计算机将无法获取IP地址。 dw以白名单模式运行,但我在其菜单上运行,以启用它找到的所有无线相关的应用程序。没有。我必须阻止它来制作DHCP服务器工作。
Android 4.1中的应用程序,或者至少在库存GS3 ROM中,请在无线系绳中管理DHCP,应使用DroidWall启用?
否则,我如何在大量应用程序中没有尝试和失败的情况下发现它。 Wifi Tether
时,除非我禁用 DroidWall
防火墙,否则计算机将无法获取IP地址。 dw以白名单模式运行,但我在其菜单上运行,以启用它找到的所有无线相关的应用程序。没有。我必须阻止它来制作DHCP服务器工作。
Android 4.1中的应用程序,或者至少在库存GS3 ROM中,请在无线系绳中管理DHCP,应使用DroidWall启用?
否则,我如何在大量应用程序中没有尝试和失败的情况下发现它。I have a very simple problem: when I run Wifi Tether
on my Galaxy S3 the computer won't get the IP address unless I disable DroidWall
firewall.
DW runs in whitelist mode, but I ran across its menu to enable all wireless related applications it found. Nothing. I have to stop it at all to make DHCP server work.
What application in Android 4.1, or at least in the stock GS3 ROM, governs DHCP in wireless tethering and should be enabled with DroidWall?
Or else, how do I find it out without try-and-fail across a large number of applications.
作为1.2.5版,Tetering已包含在AFWALL +中,您只需要启用
As of version 1.2.5, tethering has been included in AFWall+, you should only need to enable
我安装了Droidwall后,我对WiFi系列有同样的问题。虽然WiFi连接成功,但我没有互联网接入。
我通过在笔记本电脑中添加DNS来完成它。希望,它适合您或任何面临同样问题的人。
在PC /笔记本电脑中更改/添加DNS 4.2.2.2和8.8.8.8。就是这样。
I had the same problem with wifi tethering after I installed Droidwall. Though the wifi connection was successful but I got no internet access.
I got it working simply by adding the DNS in my laptop. Hope, it works for you or anyone facing the same problem.
Change/Add DNS 4.2.2.2 and 8.8.8.8 in your PC/Laptop. That's it.
禁用DROIDWALL是正常的,因为它阻断了端口67的任何传入数据包,以允许WIFI系列工作。或者非常简单,允许a 自定义脚本与端口号67匹配DHCP通过。
关于Droidwall的fyi - 已停止的功能和发展努力,提交人将其销售为avast。
droidwall的叉子被称为afwall +,可以找到这里并在 google play ,它显然比旧的droidwall更好。
由于Wifi-Tether在TCP / UDP端口号67(对于DHCP工作)上,这是必要的规则:
$IPTABLES -A "droidwall-wifi" -p TCP --destination-port 67 -j RETURN $IPTABLES -A "droidwall-wifi" -p UDP --destination-port 67 -j RETURN
此规则在这里,可以通过启用DROIDWALL来互联网。
$IPTABLES -A "droidwall-wifi" --destination "0.0.0.0" --destination-port 5555 -j RETURN
您还必须启用Wi-Fi访问"以root身份运行" 的"应用程序" 以工作。
It is normal to disable Droidwall, for the reason that it blocks any incoming packets for port 67, to allow Wifi Tethering to work. Or quite simply, allow a custom script that matches the port number 67 which is dhcp to pass through.
FYI about Droidwall - the functionality and development efforts have been discontinued and the author sold it off to Avast.
The fork of Droidwall is called AFWall+ which can be found here and found on Google Play which is apparently better than the old Droidwall.
Since Wifi-Tether operates on both TCP/UDP's port number 67 (for dhcp to work), here's the rules necessary:
$IPTABLES -A "droidwall-wifi" -p TCP --destination-port 67 -j RETURN $IPTABLES -A "droidwall-wifi" -p UDP --destination-port 67 -j RETURN
This rule here enables adbWireless to work with DroidWall enabled.
$IPTABLES -A "droidwall-wifi" --destination "0.0.0.0" --destination-port 5555 -j RETURN
You also have to enable Wi-Fi access for "Apps running as root" for this to work.
$IPTABLES -A droidwall-wifi -j RETURN -m owner --uid-owner 9999
In my case allowing user id 9999 (nobody) to connect through WiFi fixed the problem. So I added this line as a custom script to DroidWall:
$IPTABLES -A droidwall-wifi -j RETURN -m owner --uid-owner 9999
此解决方案应为根部或无根的所有防火墙工作。最初我尝试了两种设备,并且在找到此信息后,都没有工作过。所以我相当肯定这将为你工作。要将其融入完整的答案,因为我确定为大多数用户更改DNS的方式/地点是不清楚的。基本上没有更改在应用程序方面,就在PC上。
我使用NOROOCE防火墙(在UnoRoed Device上),USB系列不起作用。我还使用了一种运行AFWALL +的扎根设备,但它具有"(系列) - DHCP + DNS服务" 的特定设置,使其无法进行系列工作。所以最后我禁用了它。事实上,我只尝试了它的浏览器,而不尝试过浏览器,也没有其他事情,并且使用这个解决方案仍然有效。
使用电话连接和系列,转到控制面板网络和Internet 网络和共享中心,然后单击本地连接"连接:"
在下一个屏幕上选择属性,然后突出显示"Internet协议版本4" ,然后按下下面的属性。
现在在下部分中,您可以看到首选和备用DNS服务器盒。输入4.2.2.2和8.8.8.8(谢谢@michaelsangma)
This solution should work for all firewalls, on root or no root. Initially I tried both kinds of devices and neither worked and after I found this info both worked. So I'm fairly sure this will work for you. To make it into a complete answer, as I'm sure it would be unclear how/where to change DNS for most users. Basically no change is done on the app side, just on the PC.
I used NoRoot Firewall (on unrooted device) and USB tethering wasn't working. I also used a rooted device running AFWall+ and though it has specific setting for "(tethering) - DHCP+DNS services" enabling it didn't make tethering work. So in the end I disabled it. In fact I tried only enabling Chrome browser on it, and none of the other things, and with this solution tethering still worked.
Having the phone connected and tethered, Go to Control Panel\Network and Internet\Network and Sharing Center, and click on the Local Area connection "Connections:"
On the next screen select Properties, then highlight "Internet Protocol Version 4" and press properties below.
Now in the lower portion you see Preferred and Alternative DNS server boxes. Enter 4.2.2.2 and 8.8.8.8 there (thanks @michaelsangma)
© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有