Showing posts with label shell. Show all posts
Showing posts with label shell. Show all posts

Friday, October 25, 2019

OpenVPN on Chromebooks with ovpn-file


Although the network settings in chrome-O/S allow for VPN settings, it seems cumbersome to get a simple ovpn-file of a private VPN server to work on Chromebooks.

Somewhere on the net, I've found bits and bytes on this matter and found this way to work the best for my needs.

Let's say you have a VPN server set up somewhere on a VPS. In my case, it is running as a docker container on a droplet with Digital Ocean. On there I've created an ovpn-file named "laptop.ovpn". but it can be named any way you like of course.

How to connect to the VPN on a Chromebook?


  1. open a shell screen (CTRL + ALT + T) to open Crosh terminal,
    and then type shell (+enter) to access a shell
  2. at the prompt type: sudo stop shill  (+enter)
  3. then:  sudo start shill BLACKLISTED_DEVICES=tun0 (+enter)
  4. load ovpn file: sudo openvpn /path/to/ovpn-file/laptop.ovpn (+enter)

At this point, your network connection should be routed through your Private VPN server.