Skip to content

urdenko/vpn-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram bot for getting new VPN clients config

How to use

# copy this file to /lib/systemd/system/

[Unit]
Description=VPN Telegram bot
After=network-online.target

[Service]
Restart=always
WorkingDirectory=/root/bot/
ExecStart=/snap/bin/npm start
Environment="BOT_TOKEN=0000000000:AAAAAAAAA"
Environment="ALLOWED_CLIENTS=000000,1111111"

[Install]
WantedBy=default.target
RequiredBy=network.target
  • run commands
systemctl daemon-reload
systemctl enable vpnbot
systemctl restart vpnbot

How to use

In the telegram bot chat send /new clientname

About

VPN clients control

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published