Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
[solved] Transparent Proxy and WLAN on Android: No Internet
« previous
next »
Print
Pages: [
1
]
Author
Topic: [solved] Transparent Proxy and WLAN on Android: No Internet (Read 16255 times)
ruggerio
Sr. Member
Posts: 295
Karma: 11
[solved] Transparent Proxy and WLAN on Android: No Internet
«
on:
March 20, 2018, 10:33:07 pm »
Hi,
i changed today to opnsense. Everything works fine, except connections from Android-Devices. There i always get "no internet". But i can connect to internet, it works. On Windows, it works without any error.
Why do i get this message, that there is no internet connection? Anybody else having this issue? Btw. connection passes by transparent proxy. If i change to not use the proxy, it works fine.
Roger
«
Last Edit: April 02, 2018, 09:12:27 am by ruggerio
»
Logged
ruggerio
Sr. Member
Posts: 295
Karma: 11
Re: Transparent Proxy and WLAN on Android: No Internet
«
Reply #1 on:
March 22, 2018, 09:33:00 pm »
i am a little bit @the end...
The problem is:
- all Android-Devices warn "no Internet Connection" when connecting to an AP which ist connected to LAN
- all other devices (Windows-Tabs) connect via WLAN with no warning
- Devices connected by cable connect without any problem
So, the problem seems to be Android-related (Android Oreo?)
- If the Android connects via Proxy...error
- If the Android connects directly...works
*grummel*
So, after googling, i found that all Android-Devices connect to a specific URL, depending on its version. So for oreo, its something like
http://play.googleapis.com/generate_204
I tried to insert rules, that play.googleapis.com is not redirected to proxy, but it did not help.
Is somebody else having this issue? Am i alone with that?
Thx,
Roger
Logged
ruggerio
Sr. Member
Posts: 295
Karma: 11
Re: Transparent Proxy and WLAN on Android: No Internet
«
Reply #2 on:
March 24, 2018, 02:14:16 pm »
Next step: its not forwarding in general, the problem is on forwarding SSL-Sites to Squid on port 3129. 3128 for normal HTTP works.
Logged
ruggerio
Sr. Member
Posts: 295
Karma: 11
Re: [solved] Transparent Proxy and WLAN on Android: No Internet
«
Reply #3 on:
April 02, 2018, 09:14:42 am »
for the interested ones:
you need a bunch of entries in the no ssl bump list as exceptions:
google.[your country, seems important]
.google.com
.googleapis.com
.gstatic.com
.1e100.net
Your CA needs to be installed as "VPN and Apps".
This did it for me.
Roger
Logged
Ciprian
Sr. Member
Posts: 284
Karma: 50
Re: [solved] Transparent Proxy and WLAN on Android: No Internet
«
Reply #4 on:
April 02, 2018, 10:20:31 am »
Well, what else should/ can we say, other than a big THANK YOU?!?!
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: [solved] Transparent Proxy and WLAN on Android: No Internet
«
Reply #5 on:
April 02, 2018, 11:46:48 am »
I made a PR to add this to the docs too.
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: [solved] Transparent Proxy and WLAN on Android: No Internet
«
Reply #6 on:
April 04, 2018, 08:30:19 am »
Good stuff! Thank you, Roger.
Logged
PimB
Newbie
Posts: 29
Karma: 1
Re: [solved] Transparent Proxy and WLAN on Android: No Internet
«
Reply #7 on:
October 13, 2018, 04:43:47 pm »
I did al this but it's still not working for me.
Logged
jds
Full Member
Posts: 112
Karma: 3
Re: [solved] Transparent Proxy and WLAN on Android: No Internet
«
Reply #8 on:
November 01, 2018, 08:41:44 pm »
Same with me. I performed all the steps in the howto. This part worked, because bumped sites gave no error notice when I browsed to them, but the others complained about the certificate. I imported the certificate to my browser, and everything was working on my laptop.
I bumped the google sites mentioned above, and imported the certificate to android twice. Once as WiFi and onces as VPN and apps. But I cannot reach the google play store. This is a .ewer version, BTW.
Never mind, it eventually started working on its own. Maybe some old cached info.
Another update: and then stopped workings again. Why so flaky?
«
Last Edit: November 01, 2018, 10:44:29 pm by jds
»
Logged
ruggerio
Sr. Member
Posts: 295
Karma: 11
Re: [solved] Transparent Proxy and WLAN on Android: No Internet
«
Reply #9 on:
November 09, 2018, 04:39:09 pm »
@Pimb/Jdb:
What are your squid-logs saying? What Android-Version are you using? I am now on pie and it's still working.
Check the squidlogs for bumps while connecting to the wlan. this will give you some ip's back, which can be resolved. Eventually, Goo changed again some hosts...
Logged
jds
Full Member
Posts: 112
Karma: 3
Re: [solved] Transparent Proxy and WLAN on Android: No Internet
«
Reply #10 on:
November 13, 2018, 09:44:57 pm »
The problem was with pihole blocking the domain: android.clients.google.com at the same time (coincidentally) that I set up the transparent proxy. I wonder if this domain should be added to the bump list. I found the list of play store urls from here:
https://community.arubanetworks.com/t5/Security/2017-Google-Play-Store-URL-whitelist/td-p/284663
Logged
ruggerio
Sr. Member
Posts: 295
Karma: 11
Re: [solved] Transparent Proxy and WLAN on Android: No Internet
«
Reply #11 on:
November 14, 2018, 09:19:10 am »
have you added it to your ssl bump list or just excluded it in pihole?
Logged
jds
Full Member
Posts: 112
Karma: 3
Re: [solved] Transparent Proxy and WLAN on Android: No Internet
«
Reply #12 on:
November 16, 2018, 04:22:47 pm »
I do not have transparent proxy enabled right now. I would indeed add that to the list if I did.
For the moment, I have whitelisted it in pihole, and mentioned the problem to the maintainer of the list.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
[solved] Transparent Proxy and WLAN on Android: No Internet