Skip to content

Docker container with antizapret-vpn for selfhosting.

License

Notifications You must be signed in to change notification settings

4fx/antizapret-vpn-docker

 
 

Repository files navigation

antizapret-vpn-docker

Easy-to-start docker container with antizapret-vpn for selfhosting.

About

Docker image converted from original LXD image.

Installation

  1. Install docker

    curl -fsSL https://get.docker.com -o get-docker.sh
    sudo sh get-docker.sh
  2. Copy this repository, build container, and run it.

    git clone https://github.com/4fx/antizapret-vpn-docker.git antizapret
    cd antizapret
    chmod 755 init.sh parse.sh
    docker-compose up -d
  3. Download configuration file for your openvpn client from client_keys folder. There will be udp and tcp versions of the config. For better performance use upd. Tcp version will be better for unstable conditions.

Keys menagment

Server keys are stored in easyrsa3/pki/ folder and client keys are copied to client_keys/. Keys are persistent between container and host restarts.

To generate new keys remove files and start container again:

docker-compose down
rm -rf easyrsa3/pki/
rm -rf client_keys/
docker-compose up -d

Links

About

Docker container with antizapret-vpn for selfhosting.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 56.6%
  • Lua 21.7%
  • Dockerfile 11.9%
  • Awk 9.8%