Marek Marczykowski-Górecki:
> On Tue, Feb 10, 2015 at 08:39:20AM -0800, tel wrote:
>> Imagine this not uncommon scenerio:
>>
>> There is a free wifi spot that I'd like to use, but I'll connect to it
>> using a VPN. The wifi spot requires a simple authentication however (just a
>> simple Terms and Conditions page that you have to agree to, no username, no
>> password).
>>
>> Network Manager connects to this wifi spot, but I still have to
>> authenticate. If I open up a standard appvm (which connects via firewallvm
>> via netvm) I can get to the Terms and Conditions page without a problem. If
>> I want to add my vpnvm to the path (appvm -> vpnvm -> firewallvm -> netvm)
>> the appvm won't connect to the VPN because there's no way to authenticate
>> the vpnvm to the free wifi. At some point in this chain, I still have to
>> authenticate the wifi network, but I'm unsure how and where to do it.
>>
>> Any thoughts on this?
>
> In such case, you can simply start a web brower in netvm (for only this
> one purpose). Because of limited memory, something small, like
> text-based w3m or links is a good choice.
>
More generally, this is the problem of captive portals
(
https://en.wikipedia.org/wiki/Captive_portal).
Tails deals with this with an "unsafe browser" only used to authenticate
with captive portals:
https://tails.boum.org/doc/anonymous_internet/unsafe_browser/index.en.html
This is because you have to connect to the captive portal without a VPN,
Tor, etc -- so in your case you have to connect to it prior to your
vpnvm in your network stack, as Marek notes. You could use a dedicated
unsafe appvm if you wanted for this purpose (appvm -> firewallvm -> netvm).