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

MIUI: Disable IPv6 tethering not working #52

Closed
Mygod opened this issue Dec 20, 2018 · 12 comments
Closed

MIUI: Disable IPv6 tethering not working #52

Mygod opened this issue Dec 20, 2018 · 12 comments
Labels
vendor-specific Definitely not my fault wontfix

Comments

@Mygod
Copy link
Owner

Mygod commented Dec 20, 2018

Real IPv6 is leaking to connected clients. "Disable IPv6 tethering" option does nothing for my phone.

Originally posted by @githuborer in #6 (comment)

@Mygod
Copy link
Owner Author

Mygod commented Dec 20, 2018

@githuborer Have you tried reapply rules?

@Mygod
Copy link
Owner Author

Mygod commented Dec 27, 2018

Closing due to inactivity.

@Mygod Mygod closed this as completed Dec 27, 2018
@githuborer
Copy link

Hello,
on version 2.1.1>
yes I tried to reapply rules many times . My vpn IPv4 is applied after I reconnect the client to hotspot for first time.
IPv6 is still leaking.
https://mega.nz/#!nHwRXCob!i5XOGP9oRcUQsTF8_oJiaT-rnCSTW7GGCiao0ZXR6Tw

@Mygod Mygod reopened this Jan 3, 2019
@Mygod
Copy link
Owner Author

Mygod commented Jan 3, 2019

Interesting. Your phone seems to be using a non-standard approach for IPv6 tethering (bridging). Can you try to run adb shell su -c 'echo 1 >/proc/sys/net/ipv6/conf/bridge0/disable_ipv6' and see if that fixes it for you?

@Mygod
Copy link
Owner Author

Mygod commented Jan 11, 2019

@githuborer If you need further help, feel free to tell me. 😄

@githuborer
Copy link

Hi, Thank you.
I checked out now option disable_ipv6=1 and IPv6 at client disabled immediately.
So VPN tethering is working well for clients, but only with IPv4.
Here is log after that.
https://mega.nz/#!eegVXSLT!MRjjNB0G4mosmyxsipjfqigwXATMLvwCtyz9Iv-kxYg

@Mygod
Copy link
Owner Author

Mygod commented Jan 13, 2019

Great. Now if only there is a way to reliably tell when the device will do this. Before that, I'm afraid you have to do this manually. 😛

@githuborer
Copy link

githuborer commented Jan 13, 2019

Device disabled ipv6 tethering immediately while connected to vpn. Didn't need to refresh rules or reconnect clients. You could add some additional custom command options to your app to run scripts or something like that. I could do the rest to automate it
ps: Its an custom MIUI Epic ROM 9.0

@Mygod
Copy link
Owner Author

Mygod commented Jan 22, 2019

I just noticed that you said you were using a custom ROM. Does official MIUI ROM also have this issue?

@githuborer
Copy link

I can't answer your question. Use this custom rom for a long time and don't have other devices with MIUI

@Mygod
Copy link
Owner Author

Mygod commented Feb 1, 2019

So based on #71, this bug seems to be exclusive to MIUI as they have implemented their own IPv6 tethering (entirely different from AOSP). Unfortunately, MIUI seems to be no longer open source so I will not provide support for MIUI.

@Mygod Mygod added vendor-specific Definitely not my fault wontfix and removed enhancement help wanted vendor-specific Definitely not my fault labels Feb 1, 2019
@Mygod Mygod added the vendor-specific Definitely not my fault label Mar 12, 2019
@Mygod Mygod changed the title Disable IPv6 tethering not working MIUI: Disable IPv6 tethering not working Mar 12, 2019
@Mygod
Copy link
Owner Author

Mygod commented Jan 20, 2020

Should be fixed by c483c5a.

@Mygod Mygod closed this as completed Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vendor-specific Definitely not my fault wontfix
Projects
None yet
Development

No branches or pull requests

2 participants