Uses https://github.com/kylemanna/docker-openvpn as underlaying container provider
For use on core os we need to do pre-setup
- Install docker-compose
sudo su -
mkdir -p /opt/bin
DOCKER_VER=1.21.0
curl -L "https://github.com/docker/compose/releases/download/$(DOCKER_VER)/docker-compose-$(uname -s)-$(uname -m)" -o /opt/bin/docker-compose
- Populate .env file with your data, sample configuration is included
docker-compose up -d
- launches your service- Create identity via
USERNAME=test ./scripts/add-client.sh
- transfer
./data/clients/test.ovpn
to your machine & client of choice & enjoy vpn - remove identity via
USERNAME=test ./scripts/remove-client.sh
- Transfer .ovpn configuration to your compute, example:
./scripts/transfer.sh test > ./config.ovpn
- Install tunnelblick, for instance
brew install tunnelblick
orbrew cask install tunnelblick
- Install ovpn configuration on your machine, for mac its as easy as
open ./config.ovpn
- Adjust settings of tunnelblick:
- checkbox [ ] proxy all ipv4 traffic
- configuration -> advanced -> [ ] allow changes to manually-set network settings