beta release v1.0
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[English](https://github.com/denpiligrim/test_3dp-manager/blob/main/README_EN.md)
|
||||
[English](https://github.com/denpiligrim/3dp-manager/blob/main/README_EN.md)
|
||||
|
||||
# 3DP-MANAGER
|
||||
|
||||
@@ -13,17 +13,17 @@
|
||||
|
||||
### Установка
|
||||
```bash
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/test_3dp-manager/main/install.sh)
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/install.sh)
|
||||
```
|
||||
|
||||
### Обновление
|
||||
```bash
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/test_3dp-manager/main/update.sh)
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/update.sh)
|
||||
```
|
||||
|
||||
### Удаление
|
||||
```bash
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/test_3dp-manager/main/delete.sh)
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/delete.sh)
|
||||
```
|
||||
|
||||
---
|
||||
@@ -32,12 +32,12 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/test_3dp-manager
|
||||
|
||||
### Установка перенаправления
|
||||
```bash
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/test_3dp-manager/main/forwarding_install.sh)
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_install.sh)
|
||||
```
|
||||
|
||||
### Удаление перенаправления
|
||||
```bash
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/test_3dp-manager/main/forwarding_delete.sh)
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_delete.sh)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
+6
-6
@@ -1,4 +1,4 @@
|
||||
[Русский](https://github.com/denpiligrim/test_3dp-manager/blob/main/README.md)
|
||||
[Русский](https://github.com/denpiligrim/3dp-manager/blob/main/README.md)
|
||||
|
||||
# 3DP-MANAGER
|
||||
|
||||
@@ -13,17 +13,17 @@ Discussions are available on the Telegram channel: [@denpiligrim_web](https://t.
|
||||
|
||||
### Install
|
||||
```bash
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/test_3dp-manager/main/install.sh)
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/install.sh)
|
||||
```
|
||||
|
||||
### Update
|
||||
```bash
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/test_3dp-manager/main/update.sh)
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/update.sh)
|
||||
```
|
||||
|
||||
### Delete
|
||||
```bash
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/test_3dp-manager/main/delete.sh)
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/delete.sh)
|
||||
```
|
||||
|
||||
---
|
||||
@@ -31,12 +31,12 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/test_3dp-manager
|
||||
The subscription and inbound redirection service works in conjunction with **3DP-MANAGER** and allows you to redirect all inbound traffic from the intermediate server to the main server. The same ports are redirected, namely `443`, `8443`, and the range `10000-60000`. The service also creates a link to the subscription, automatically replacing the IP address or domain in the configurations. Redirects are configured by adding iptables rules to the ufw configuration file, which ensures stable operation in conjunction with the firewall. It is recommended to install the service on a clean server without any previously installed rules.
|
||||
### Install forwarding
|
||||
```bash
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/test_3dp-manager/main/forwarding_install.sh)
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_install.sh)
|
||||
```
|
||||
|
||||
### Delete forwarding
|
||||
```bash
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/test_3dp-manager/main/forwarding_delete.sh)
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_delete.sh)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ api.interceptors.request.use(config => {
|
||||
});
|
||||
|
||||
const WHITELIST_FILE = "/app/whitelist.txt";
|
||||
const WHITELIST_REPO_URL = "https://raw.githubusercontent.com/denpiligrim/test_3dp-manager/main/whitelist.txt";
|
||||
const WHITELIST_REPO_URL = "https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/whitelist.txt";
|
||||
|
||||
// Вспомогательные функции
|
||||
async function updateWhitelist() {
|
||||
|
||||
@@ -115,7 +115,7 @@ cd "$BASE_DIR"
|
||||
#################################
|
||||
# DOWNLOAD FILES
|
||||
#################################
|
||||
REPO="https://raw.githubusercontent.com/denpiligrim/test_3dp-manager/main"
|
||||
REPO="https://raw.githubusercontent.com/denpiligrim/3dp-manager/main"
|
||||
NGINX_PORT=$ORIGIN_PORT
|
||||
SUB_URL="$ORIGIN_PROTO://$LOCAL_HOST:$NGINX_PORT$SUB_PATH"
|
||||
|
||||
|
||||
+1
-1
@@ -112,7 +112,7 @@ cd "$PROJECT_DIR"
|
||||
# Белый лист
|
||||
#################################
|
||||
|
||||
REPO_BASE="https://raw.githubusercontent.com/denpiligrim/test_3dp-manager/main"
|
||||
REPO_BASE="https://raw.githubusercontent.com/denpiligrim/3dp-manager/main"
|
||||
|
||||
curl -fsSL "$REPO_BASE/whitelist.txt" -o whitelist.txt
|
||||
log "whitelist.txt скопирован"
|
||||
|
||||
@@ -23,7 +23,7 @@ need_root() {
|
||||
#################################
|
||||
|
||||
PROJECT_DIR="/opt/3dp-manager"
|
||||
REPO_RAW="https://raw.githubusercontent.com/denpiligrim/test_3dp-manager/main"
|
||||
REPO_RAW="https://raw.githubusercontent.com/denpiligrim/3dp-manager/main"
|
||||
|
||||
#################################
|
||||
# START
|
||||
|
||||
Reference in New Issue
Block a user