You are not logged in.
Pages: 1
Hi
Is there any way to allow captive portal traffic through a firewall (iptables)
Currently everything is routed via my VPN and I don’t allow any other traffic out other interfaces. I noticed on Android, that it still allows captive portal traffic, though.
Is there a way to achieve this through iptables ? Some port or something?
Offline
The captive portal is most likely DNS based, so archlinux.org will not be resolved to the portals IP, ideally by the provider intercepting traffic on #53 (ie. forcing DNS on you at this point)
You could wireshark the traffic w/o VPN to see what's going on and will have to allow the providers IP. Instead of allowing them to fudge your DNS you perhaps get away w/ just calling that IP directly to enter the portal.
Offline
ios and android use passive detection of captive portals now, when available. [1] [2]
systemd-networkd also supports this, and should show the captive portal URI in the networkctl status output, on supported networks. Otherwise then yeah you'll have to probe for some kinda DNS interception.
[1] https://developer.apple.com/news/?id=q78sq5rv
[2] https://developer.android.com/about/ver … ive-portal
Offline
Pages: 1