Closed houfukude closed 9 years ago
Please send me an error report from within AF while using Bluetooth for Internet access. On Aug 8, 2014 6:15 AM, "houfukude" notifications@github.com wrote:
Android firewall does not work on the client when i connected a device by Bluetooth Internet Access.
— Reply to this email directly or view it on GitHub https://github.com/skullone/android_firewall/issues/79.
i donot know how to catch the error report. I just use device A open bluetooth with bluetooth tethering on. this is devicA setting
and share the internet to device B. this is the deviceB setting
And the device B installed the Android Firewall . I tried every options even IPV6,VPN,LAN settings ,but all the apps has the internet access.that looks like the Android Firewall does not work.
Menu - Send Error Report from within the firewall app.
Did you enable Tethering Support as well? That is needed.
On Fri, Aug 8, 2014 at 10:07 AM, houfukude notifications@github.com wrote:
i donot know how to catch the error report. I just use device A open bluetooth with bluetooth tethering on. this is devicA setting [image: devicea] https://cloud.githubusercontent.com/assets/3358382/3857597/f9baf1fa-1f04-11e4-8e9d-a2de00f30b43.png
and share the internet to device B. this is the deviceB setting [image: deviceb] https://cloud.githubusercontent.com/assets/3358382/3857610/384bee88-1f05-11e4-8b35-95a5bc87d77d.png
And the device B installed the Android Firewall . I tried every options even IPV6,VPN,LAN settings ,but all the apps has the internet access.that looks like the Android Firewall does not work.
— Reply to this email directly or view it on GitHub https://github.com/skullone/android_firewall/issues/79#issuecomment-51606511 .
I consider that the Tethering Support is only for the device that share internet . not for the device accept the internet share. and i already send the error report to the dev mail box
You are correct. You have a unique use case in you are pairing one android device to another via BT and want AF to function on the second device. You are the first to ever bring something like this to me.
In the past everybody wanted to share their device's BT with something like a laptop. Due to that BT interfaces are only opened up when tethering is enabled but in your case that wouldn't even correct it.
You need custom rules as what you want to do is not supported. I will see what I can do about supporting this in a future build though.
You need one of two rules:
$IPTABLES -I "droidwall" 1 -o bt-pan+ -j "droidwall-3g"
$IPTABLES -I "droidwall" 1 -o bt-pan+ -j "droidwall-wifi"
If you use the -3g option the rules from Data will be applied to the BT connection. If you use the -wifi option teh rules from WiFi will be applied to the BT connection.
Add one of those to the Custom Scripts option and reapply the firewall. The firewall rules from whichever option you choose should now function correctly while using BT.
On Fri, Aug 8, 2014 at 10:48 AM, houfukude notifications@github.com wrote:
I consider that the Tethering Support is only for the device that share internet . not for the device accept the internet share. and i already send the error report to the dev mail box
— Reply to this email directly or view it on GitHub https://github.com/skullone/android_firewall/issues/79#issuecomment-51611762 .
thanks a lot.that's help me solve a big problem .I will try and give a feedback.
Android firewall does not work on the client when i connected a device by Bluetooth Internet Access.