├── .env.example ├── .github └── FUNDING.yml ├── .gitignore ├── LICENSE ├── README.md ├── code └── tgbot │ ├── .gitignore │ ├── CustomCommands │ ├── AdminCommand.php │ ├── ConnectCommand.php │ ├── DisableCommand.php │ ├── EnableCommand.php │ ├── FireCommand.php │ ├── GenericmessageCommand.php │ ├── HelpCommand.php │ ├── HideCommand.php │ ├── HireCommand.php │ ├── ImpartCommand.php │ ├── NetCommand.php │ ├── NewuserCommand.php │ ├── NewvirtCommand.php │ ├── ObscureCommand.php │ ├── PublicCommand.php │ ├── RevokeCommand.php │ ├── RmvirtCommand.php │ ├── SCommand.php │ ├── SendsmsCommand.php │ ├── StaffCommand.php │ ├── StartCommand.php │ ├── StatCommand.php │ ├── SubsCommand.php │ ├── UnsubsCommand.php │ ├── UsersCommand.php │ └── VirtsCommand.php │ ├── README.md │ ├── app │ ├── conf.php │ ├── consts.php │ ├── containers.php │ ├── middleware.php │ ├── request │ │ └── resendsms.http │ ├── sendreply.php │ ├── settings.php │ └── src │ │ ├── assets │ │ ├── consts.php │ │ ├── data.php │ │ ├── defaults.php │ │ └── msg.php │ │ ├── enrich │ │ ├── emptyMsg.php │ │ └── startMsg.php │ │ ├── misc │ │ ├── local.php │ │ ├── miscInform.php │ │ └── userNotfoundException.php │ │ ├── other │ │ ├── smsReader.php │ │ └── telegramResend.php │ │ └── share │ │ └── miscGetters.php │ ├── botsetup.php │ ├── composer.json │ ├── empty.tg.md │ ├── getUpdatesCLI.php │ ├── helper │ ├── alreadyException.php │ ├── defaultchatid.php │ ├── miscBotOperations.php │ ├── miscBots.php │ ├── miscBroadcast.php │ ├── miscCommands.php │ ├── notadminException.php │ └── operconsts.php │ ├── public │ ├── index.php │ └── tg.php │ └── welcome.tg.md ├── docker-compose.yml ├── docker ├── api │ ├── Dockerfile │ ├── fpm-entrypoint.sh │ ├── php.ini │ ├── supervisord.conf │ ├── xdebug-debug.ini │ ├── xdebug-default.ini │ ├── xdebug-off.ini │ ├── xdebug-profile.ini │ └── xdebug-trace.ini └── ovpn │ ├── Dockerfile │ ├── adds │ ├── .lib │ ├── client_adds.conf │ ├── iptables.tmpl │ ├── iptables.tmpl.forward │ ├── iptables.tmpl.noforward │ ├── log_connect.sh │ ├── log_disconnect.sh │ ├── server_adds.conf │ └── up.sh │ ├── alpine │ └── google-authenticator │ │ └── APKBUILD │ ├── bin │ ├── add_immediate_vis.sh │ ├── control_visability.sh │ ├── get_pairs_ipcalc.sh │ ├── get_pairs_netcalc.sh │ ├── hide_from_host.sh │ ├── ovpn_copy_server_files │ ├── ovpn_genconfig │ ├── ovpn_getclient │ ├── ovpn_getclient_all │ ├── ovpn_initpki │ ├── ovpn_listclients │ ├── ovpn_otp_user │ ├── ovpn_revokeclient │ ├── ovpn_run │ ├── ovpn_status │ ├── pipes.sh │ ├── public_host.sh │ ├── serve.sh │ └── stop_vis.sh │ ├── otp │ └── openvpn │ └── supervisord.conf ├── docs ├── advanced.md ├── backup.md ├── clients.md ├── debug.md ├── docker-compose.md ├── docker-openvpn.te ├── docker.md ├── faqs.md ├── ipv6.md ├── otp.md ├── paranoid.md ├── selinux.md ├── static-ips.md ├── systemd.md └── tcp.md ├── init.sh └── init ├── docker-openvpn@.service └── upstart.init /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/.env.example -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/README.md -------------------------------------------------------------------------------- /code/tgbot/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/.gitignore -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/AdminCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/AdminCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/ConnectCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/ConnectCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/DisableCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/DisableCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/EnableCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/EnableCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/FireCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/FireCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/GenericmessageCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/GenericmessageCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/HelpCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/HelpCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/HideCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/HideCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/HireCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/HireCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/ImpartCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/ImpartCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/NetCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/NetCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/NewuserCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/NewuserCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/NewvirtCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/NewvirtCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/ObscureCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/ObscureCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/PublicCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/PublicCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/RevokeCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/RevokeCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/RmvirtCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/RmvirtCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/SCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/SCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/SendsmsCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/SendsmsCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/StaffCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/StaffCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/StartCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/StartCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/StatCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/StatCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/SubsCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/SubsCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/UnsubsCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/UnsubsCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/UsersCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/UsersCommand.php -------------------------------------------------------------------------------- /code/tgbot/CustomCommands/VirtsCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/CustomCommands/VirtsCommand.php -------------------------------------------------------------------------------- /code/tgbot/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopkob1/openvpntelegrambot/HEAD/code/tgbot/README.md -------------------------------------------------------------------------------- /code/tgbot/app/conf.php: -------------------------------------------------------------------------------- 1 |