Setup for running protonvpn inside a docker container
To build image, edit the configuration in config.sh and then run
docker image build . -t protonvpn-dockerTo run image, run
docker-compose run --service-ports protonvpn-dockerIf it complains about iptables, you should do
sudo modprobe ip6table_filteron the host (see https://ilhicas.com/2018/04/08/Fixing-do-you-need-insmod.html)
To test, run
curl -x socks5h://127.0.0.1:1080 https://www.youtube.comTo use protonvpn status, you need to install ping.
$ pacman -Syy && pacman -S core/iputils