Home

Awesome

RKN vpn configurator

Generate ovpn config on-the-fly.

generator.py

"brain" of idea. Features:

app.py

REST-full (will be) API. Have only one route (/) with two methods (GET, POST).

bash use:

curl https://rkn-vpn-configurator.herokuapp.com/
curl -XPOST -F 'file=@openvpn.conf' https://rkn-vpn-configurator.herokuapp.com/

python-way:

import requests
r = requests.post(
  'https://rkn-vpn-configurator.herokuapp.com/',
  files = {
    'file': open('openvpn.conf', 'rb')
  }
)
with open('server.conf', 'a+') as f:
  f.write(r.text)

[deprecated] Notice

This application for contact the rublacklist.net (cloudflare) must see in system path: