polkaned / dockerfiles

MIT License
109 stars 53 forks source link

Feature Request: Add network lock option #7

Closed Appyx closed 4 years ago

Appyx commented 4 years ago

Hi, thanks for creating the container 👍

It would be nice to be able to enable the network lock. I tried it manually inside the container but the error network lock not availableshows. I have no idea how to enable it, maybe you have an idea.

polkaned commented 4 years ago

Hi, No worry, it is enabled by default:

root@d9732d856bb6:/# expressvpn status

Connected to XXX

   - If your VPN connection unexpectedly drops, internet traffic will be blocked to protect your privacy.
   - To disable Network Lock, disconnect ExpressVPN then type 'expressvpn preferences set network_lock off'.
Appyx commented 4 years ago

Yeah seems like it. But when manually disconnecting, the internet connection is not getting blocked, at least in my case. Can you observe this behaviour too?

polkaned commented 4 years ago

This behavior is by design:

Network Lock becomes active as soon as you attempt to connect to a VPN server location, and it will remain active until you choose to disconnect.

https://www.expressvpn.com/support/troubleshooting/network-lock/

Appyx commented 4 years ago

Oh right, didn't know that :D