Skip to content

Ansible scripts for creating & removing OpenVPN server

Notifications You must be signed in to change notification settings

sergeym/yc-vpn-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yandex Cloud OpenVPN server

  1. Yandex Cloud CLI

Check for ya util existst.

If none, install it:

curl https://storage.yandexcloud.net/yandexcloud-yc/install.sh | bash

Follow the instructions of installer.

Initialize it by executing yc init.

  1. install Ansible

  2. run

ansible-playbook provision.yml
  1. type openvpn user password on prompt

  2. run

sudo openvpn --config data/vpnuser.ovpn
  1. open http://ip.yandex.ru/ to make sure you looks like russian

  2. to get back, just run

ansible-playbook remove.yml

About

Ansible scripts for creating & removing OpenVPN server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published