https://github.com/ipmartnetwork/ocserv-server-with-bot
سرویس انی کانکت سیسکو به همراه بات تلگرامی
https://github.com/ipmartnetwork/ocserv-server-with-bot
Last synced: about 2 months ago
JSON representation
سرویس انی کانکت سیسکو به همراه بات تلگرامی
- Host: GitHub
- URL: https://github.com/ipmartnetwork/ocserv-server-with-bot
- Owner: iPmartNetwork
- License: gpl-3.0
- Created: 2024-04-23T15:35:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-23T18:12:47.000Z (over 2 years ago)
- Last Synced: 2026-03-29T01:25:04.139Z (4 months ago)
- Language: Python
- Size: 87.9 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

Ocserv-server-with-bot
Ocserv-server-with-bot
## سرویس انی کانکت سیسکو به همراه بات تلگرامی
این پروژه برای مدیریت ocserv (سرور OpenConnect) از طریق رابط کاربر پسند در ترمینال یا چت تلگرام طراحی شده است. کاربران می توانند از این ربات برای انجام اقدامات مختلف مرتبط با ocserv مانند افزودن، حذف، قفل کردن، باز کردن قفل، تغییر رمز عبور، نصب و حذف تنظیمات استفاده کنند.
## نصب
```sh
apt update && apt upgrade -y
```
```sh
apt install python3 -y
```
```sh
apt install python3-pip -y
```
```sh
pip3 install subprocess.run
```
Tested on ubuntu 18.04 and 20.04.
Download and saving script on your server:
```sh
git clone https://github.com/iPmartNetwork/Ocserv-server-with-bot.git
```
cd to the directory
```sh
cd ./Ocserv-server-with-bot
```
Making script executable
```bash
chmod +x ocserv-install.sh
```
And then just run it:
```sh
./ocserv-install.sh
```
or
```sh
sudo bash ocserv-install.sh
```
## پیش نیاز ها برای نصب بات
- Python 3.7 or later
- Telegram Bot API Token
- Authorized User IDs (for controlling access)
- OpenConnect Server (`ocserv`) installed on your system
## یادداشت
قبل از نصب بات مطمعن شوید که ان را استارت کرده باشید
## منوهای موجود
- Easy install
- Easy uninstall
- Add User
- Change Password
- Show All Users
- Delete User
- Lock User
- Unlock User
# حمایت از ما :hearts:
حمایت های شما برای ما دلگرمی بزرگی است

| TRX | BNB | Litecoin |
| ---------------------------------------- |:-------------------------------------------------:| -------------------------------------------------:|
| ```TJbTYV1fFo2485sYMyajxGPLFzxmNmPrNA``` | ```0x4af3de9b303a8d43105e284823d95b4c600961a3``` | ```MPrkzFiNtw4Rg67bbZB6gCxa9LV87orABM``` |
