Droo-Labs

the perspicacious ramblings of droo

AnyConnect VPN on a Chromebook

Before you begin, you’re going to need to put your Chromebook in developer mode and install Linux via crouton. Neither of these are discussed here, but you can find more information and tutorials on how to do both with a simple Google search. There’s one such example here.

The following commands are run in the terminal (Ctrl + Alt + t) and then type “shell” without the quotes.

Now, unless previously run:
sudo crossystem dev_boot_signed_only=0
sudo /usr/share/vboot/bin/make_dev_ssd.sh –remove_rootfs_verification

To which you’ll be presented with this:
chronos@localhost / $ sudo /usr/share/vboot/bin/make_dev_ssd.sh –remove_rootfs_verification

ERROR: YOU ARE TRYING TO MODIFY THE LIVE SYSTEM IMAGE /dev/sda.

The system may become unusable after that change, especially when you have
some auto updates in progress. To make it safer, we suggest you to only
change the partition you have booted with. To do that, re-execute this command
as:

sudo ./make_dev_ssd.sh –remove_rootfs_verification –partitions 4

If you are sure to modify other partition, please invoke the command again and
explicitly assign only one target partition for each time (–partitions N )

ERROR: IMAGE /dev/sda IS NOT MODIFIED.

Run the suggested command:
sudo /usr/share/vboot/bin/make_dev_ssd.sh –remove_rootfs_verification –partitions 4 # This Partition Can Change

Then Reboot:
sudo reboot

And then:
sudo mount -o rw,remount /
sudo sed -i ‘s/SHILL_TEST_ARGS=””/SHILL_TEST_ARGS=”–device-black-list=tun0″/g’ /etc/init/shill.conf
sudo reboot

Now when you reboot and boot into crouton, you can use openconnect, anyconnect, or any other VPN tool that uses the tun0 device without issue.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>