mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-04 17:09:30 +00:00
Compare commits
366 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a0d440a34 | ||
|
|
b0500fac29 | ||
|
|
af16e6423a | ||
|
|
ff90471f0f | ||
|
|
bcc501c524 | ||
|
|
c4ef211a3e | ||
|
|
592c0eb7ab | ||
|
|
880a000865 | ||
|
|
a9571f6adf | ||
|
|
ca91f313bc | ||
|
|
76b9753916 | ||
|
|
cd8bbe28bf | ||
|
|
9550c11594 | ||
|
|
7ac21cad25 | ||
|
|
2008a3955a | ||
|
|
f1641c9f3e | ||
|
|
bec5bbd033 | ||
|
|
ae11f72e28 | ||
|
|
6b88cb3920 | ||
|
|
38772111e8 | ||
|
|
14f50c3e66 | ||
|
|
b89a2c9e49 | ||
|
|
2d2eda988c | ||
|
|
432033969b | ||
|
|
1fbf74e1f7 | ||
|
|
93648ff00b | ||
|
|
9513136610 | ||
|
|
43a2a39f8d | ||
|
|
218351de9a | ||
|
|
b92b922eee | ||
|
|
91be4937ee | ||
|
|
19b36a5fae | ||
|
|
bb9ee7dfd2 | ||
|
|
ac0351b525 | ||
|
|
405f5ad7cc | ||
|
|
8cc2712da3 | ||
|
|
c02ac8d1bf | ||
|
|
a1802add19 | ||
|
|
218a6642a2 | ||
|
|
21a83a5755 | ||
|
|
bec75e51f6 | ||
|
|
6c9b445be6 | ||
|
|
06b17fa941 | ||
|
|
e1d4c029e7 | ||
|
|
293fd70ccb | ||
|
|
4ee863db5a | ||
|
|
2717be0fed | ||
|
|
1f312e146f | ||
|
|
b91557ebb0 | ||
|
|
465380b5a3 | ||
|
|
60af901feb | ||
|
|
ea78a654ff | ||
|
|
f28b6ad0a5 | ||
|
|
a3bdab1318 | ||
|
|
f8c5d01e3c | ||
|
|
3ebe218b7f | ||
|
|
7d039ab729 | ||
|
|
b2b6c8c268 | ||
|
|
4950f25063 | ||
|
|
524d6b48d9 | ||
|
|
29fb5735e2 | ||
|
|
247fc85440 | ||
|
|
2b4302572c | ||
|
|
9b28780e62 | ||
|
|
8656f68008 | ||
|
|
15651b6919 | ||
|
|
78d3861382 | ||
|
|
72f19274cd | ||
|
|
adbcd1a2e0 | ||
|
|
5b7727fab4 | ||
|
|
9627dfa90c | ||
|
|
50022c9fc8 | ||
|
|
e0b76ffebc | ||
|
|
be5a9a840c | ||
|
|
6e5f429e0a | ||
|
|
e9d9d6e2f4 | ||
|
|
b4a57e630c | ||
|
|
1062e33dc8 | ||
|
|
0e14441f73 | ||
|
|
a6a909ae4f | ||
|
|
2b4a39e64c | ||
|
|
82b4921602 | ||
|
|
4229324a5d | ||
|
|
34d3ca9c51 | ||
|
|
9bd7002917 | ||
|
|
ebed9f7a68 | ||
|
|
5d34bd82c0 | ||
|
|
8bcb2b3b0f | ||
|
|
32ba17cf91 | ||
|
|
704ded4410 | ||
|
|
88277976c6 | ||
|
|
cb95f02912 | ||
|
|
928b406359 | ||
|
|
4757c7db8c | ||
|
|
5df87641a1 | ||
|
|
04077c53fd | ||
|
|
574be52b84 | ||
|
|
a66613c5ca | ||
|
|
01b3b19715 | ||
|
|
60d8831399 | ||
|
|
5ff5660db3 | ||
|
|
d62c359452 | ||
|
|
ec0b6b64fe | ||
|
|
c53eac76f8 | ||
|
|
49cb2ae260 | ||
|
|
77796e8a75 | ||
|
|
49f0f6ec7d | ||
|
|
2c273a85d8 | ||
|
|
8273554a1c | ||
|
|
ad8ab63fd5 | ||
|
|
7de0761329 | ||
|
|
907dab7d05 | ||
|
|
2907f22200 | ||
|
|
7bbe1b2dbe | ||
|
|
099513072c | ||
|
|
7de8bb00e7 | ||
|
|
12d44696e8 | ||
|
|
25cef26251 | ||
|
|
dceb398695 | ||
|
|
f60599abd3 | ||
|
|
44f8098e4a | ||
|
|
747979f939 | ||
|
|
b3083ae779 | ||
|
|
67580a8b69 | ||
|
|
291c7aaf0b | ||
|
|
1a098eecf6 | ||
|
|
0a05bdba1d | ||
|
|
37bfc07ffb | ||
|
|
eae3ab2dc1 | ||
|
|
1665bf6515 | ||
|
|
0383ffb7f3 | ||
|
|
a0d6646e49 | ||
|
|
254b3a0fc8 | ||
|
|
21743e5a23 | ||
|
|
0550924e08 | ||
|
|
7867302be5 | ||
|
|
14815b388d | ||
|
|
92cc82220e | ||
|
|
da1fae6016 | ||
|
|
34002470a5 | ||
|
|
49f84bccad | ||
|
|
4bcb4a1590 | ||
|
|
378de19f41 | ||
|
|
ffe2512734 | ||
|
|
b4be620a5b | ||
|
|
ac8b546393 | ||
|
|
9bdf31ee97 | ||
|
|
c29cd05db8 | ||
|
|
cd34820138 | ||
|
|
d207318494 | ||
|
|
117062f1d1 | ||
|
|
9d561ba94d | ||
|
|
97fcaed9b4 | ||
|
|
5e53ea3607 | ||
|
|
7dc74cb61b | ||
|
|
fbefcfedb9 | ||
|
|
36c0d9aba2 | ||
|
|
8c8a981452 | ||
|
|
7dd586e31d | ||
|
|
366a31b41b | ||
|
|
f09557d73c | ||
|
|
33a2ac402c | ||
|
|
632333c49f | ||
|
|
c8bea4d7de | ||
|
|
c1d75d32c2 | ||
|
|
b805daec51 | ||
|
|
af2088df4e | ||
|
|
3b8d1f40a7 | ||
|
|
8355d3664e | ||
|
|
83a696f743 | ||
|
|
7ca507b1ce | ||
|
|
609435328e | ||
|
|
d771317e3f | ||
|
|
d548563e65 | ||
|
|
f07cd8aee3 | ||
|
|
48963f24df | ||
|
|
7bf98c0c40 | ||
|
|
e73383cc79 | ||
|
|
79ce93d578 | ||
|
|
200a7fcd40 | ||
|
|
e043d0e654 | ||
|
|
21ce678e5b | ||
|
|
5c94887949 | ||
|
|
69a9bcb3da | ||
|
|
2fea091e1f | ||
|
|
24314a103f | ||
|
|
b56db41d0b | ||
|
|
825bff5d60 | ||
|
|
f9184cf489 | ||
|
|
5c04b1e14a | ||
|
|
2c96eb7851 | ||
|
|
67ba225003 | ||
|
|
04ecf41c5a | ||
|
|
6600de7320 | ||
|
|
f7b82f0a7a | ||
|
|
65bdb232f4 | ||
|
|
200e3af384 | ||
|
|
aabfa91f80 | ||
|
|
e5468a7391 | ||
|
|
d5a11edd0c | ||
|
|
fcc86b07ba | ||
|
|
74d2527af5 | ||
|
|
50cf284273 | ||
|
|
aaddde0a9b | ||
|
|
ac87345b7a | ||
|
|
23079d9ac0 | ||
|
|
b573d63648 | ||
|
|
34d705a54e | ||
|
|
eeb1d4954d | ||
|
|
b638adedff | ||
|
|
285e24cdc7 | ||
|
|
396e643b06 | ||
|
|
dc50190dc3 | ||
|
|
2c8bf4f18c | ||
|
|
1f6379a7e6 | ||
|
|
ddd8eb1da0 | ||
|
|
4c463de45f | ||
|
|
1f4a7a7f6f | ||
|
|
e7df29104e | ||
|
|
9987b35b60 | ||
|
|
16e876ab68 | ||
|
|
50fc2fc74e | ||
|
|
c244dc9c0c | ||
|
|
0f50981573 | ||
|
|
0c1cb20936 | ||
|
|
192617a884 | ||
|
|
297991ef5f | ||
|
|
75f97c4a31 | ||
|
|
40f520086c | ||
|
|
c8dda4f90d | ||
|
|
5f09f97032 | ||
|
|
168056d595 | ||
|
|
c70eaa0096 | ||
|
|
5f36b13408 | ||
|
|
9dc73efa3a | ||
|
|
e9c2868998 | ||
|
|
0a13b04c55 | ||
|
|
cf12d3ee56 | ||
|
|
cea7190453 | ||
|
|
c6d78680fb | ||
|
|
0bf302e013 | ||
|
|
1351fb6689 | ||
|
|
af638d666c | ||
|
|
e4fe601d9d | ||
|
|
4f3cd71e1e | ||
|
|
9c0295db9f | ||
|
|
3fc2d1df80 | ||
|
|
4a6747dcc7 | ||
|
|
54b3c92953 | ||
|
|
a4d460e850 | ||
|
|
3d8869066a | ||
|
|
880a123149 | ||
|
|
39e35bc1d6 | ||
|
|
f219f1e36b | ||
|
|
25ed3d65f8 | ||
|
|
30dbabd73d | ||
|
|
ea2e5bf486 | ||
|
|
ae52fcc757 | ||
|
|
b6c2f123e8 | ||
|
|
15f900317a | ||
|
|
22545cac8b | ||
|
|
03c8d82471 | ||
|
|
14d7a138a5 | ||
|
|
a829eb949b | ||
|
|
fd605d9c81 | ||
|
|
55b4a9eddb | ||
|
|
9ccf77b99c | ||
|
|
ea27075bab | ||
|
|
c3723d0fce | ||
|
|
0edb3cd316 | ||
|
|
e9e6b0bc4f | ||
|
|
4701da201d | ||
|
|
d6d2e052dd | ||
|
|
d3d1dcfe1d | ||
|
|
918ebf5e65 | ||
|
|
67184b88a8 | ||
|
|
fb0f4c3939 | ||
|
|
aae5343543 | ||
|
|
51e9762ca8 | ||
|
|
330dafc652 | ||
|
|
7ddf9fa54e | ||
|
|
f2ca09eedd | ||
|
|
f0e2c8416d | ||
|
|
338b7a8c13 | ||
|
|
b4284f82f3 | ||
|
|
0ce430cab5 | ||
|
|
95c0f6c093 | ||
|
|
387dbc360e | ||
|
|
a88be89c2f | ||
|
|
8bc353442f | ||
|
|
b3502bd627 | ||
|
|
56da7c242d | ||
|
|
fa8f49e87d | ||
|
|
6e08a70afc | ||
|
|
bd4be2b05c | ||
|
|
6b6ff0a95e | ||
|
|
4755cae5cb | ||
|
|
b2384ccc06 | ||
|
|
e6589308dd | ||
|
|
879b25be9f | ||
|
|
d3ad941b30 | ||
|
|
f077fbc3f5 | ||
|
|
4679ce968b | ||
|
|
101e462649 | ||
|
|
5d93ab9b9e | ||
|
|
d557832509 | ||
|
|
fe5c91db29 | ||
|
|
b2947193ec | ||
|
|
f6440753b6 | ||
|
|
17cf903804 | ||
|
|
dcf530d237 | ||
|
|
6b1808dab1 | ||
|
|
5889efd74a | ||
|
|
1a9de1e5c5 | ||
|
|
d1404a2b07 | ||
|
|
664dbf3f4c | ||
|
|
f32a8e26b6 | ||
|
|
b1a92fd4e0 | ||
|
|
1ea9fd2d49 | ||
|
|
f31e4e3176 | ||
|
|
e3287a7e9f | ||
|
|
ec21153d4b | ||
|
|
917e7a8c1d | ||
|
|
8e0a8dc272 | ||
|
|
91bac29ea3 | ||
|
|
3e333769bb | ||
|
|
b4bde6660a | ||
|
|
917f752081 | ||
|
|
915d561286 | ||
|
|
01ef809fd3 | ||
|
|
19902092ce | ||
|
|
39603b6e53 | ||
|
|
9c85a09d3e | ||
|
|
69baa6785f | ||
|
|
bb84d01e14 | ||
|
|
616dae2d8b | ||
|
|
3fbfe50e09 | ||
|
|
c0c8edb9d1 | ||
|
|
84268e484d | ||
|
|
c473c2fa81 | ||
|
|
7402590f49 | ||
|
|
529d1c9f66 | ||
|
|
e85b772ca5 | ||
|
|
f75169fc26 | ||
|
|
07b86521a5 | ||
|
|
961008bbe1 | ||
|
|
6d359b6bb9 | ||
|
|
ea6f803e78 | ||
|
|
0151f8a6a9 | ||
|
|
39c5101957 | ||
|
|
9b1cd5f79c | ||
|
|
36d0b83ed3 | ||
|
|
f0138fad4f | ||
|
|
69802e78f8 | ||
|
|
92e69f561f | ||
|
|
b351520e92 | ||
|
|
481714f095 | ||
|
|
d38656e026 | ||
|
|
27ac204bb6 | ||
|
|
a2526ea244 | ||
|
|
39c43c0c09 | ||
|
|
350485612e | ||
|
|
df31c13912 | ||
|
|
2259879595 | ||
|
|
4f5091ed7f | ||
|
|
b5afd73024 |
@@ -28,3 +28,4 @@ LICENSE
|
|||||||
CONTRIBUTING.md
|
CONTRIBUTING.md
|
||||||
dist
|
dist
|
||||||
.git
|
.git
|
||||||
|
config/
|
||||||
22
.github/dependabot.yml
vendored
22
.github/dependabot.yml
vendored
@@ -38,3 +38,25 @@ updates:
|
|||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
|
|
||||||
|
- package-ecosystem: "gomod"
|
||||||
|
directory: "/install"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
||||||
|
groups:
|
||||||
|
dev-patch-updates:
|
||||||
|
dependency-type: "development"
|
||||||
|
update-types:
|
||||||
|
- "patch"
|
||||||
|
dev-minor-updates:
|
||||||
|
dependency-type: "development"
|
||||||
|
update-types:
|
||||||
|
- "minor"
|
||||||
|
prod-patch-updates:
|
||||||
|
dependency-type: "production"
|
||||||
|
update-types:
|
||||||
|
- "patch"
|
||||||
|
prod-minor-updates:
|
||||||
|
dependency-type: "production"
|
||||||
|
update-types:
|
||||||
|
- "minor"
|
||||||
4
.github/workflows/cicd.yml
vendored
4
.github/workflows/cicd.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.23.0
|
go-version: 1.24
|
||||||
|
|
||||||
- name: Update version in package.json
|
- name: Update version in package.json
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
4
.github/workflows/linting.yml
vendored
4
.github/workflows/linting.yml
vendored
@@ -18,12 +18,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '22'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -11,11 +11,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '22'
|
||||||
|
|
||||||
- name: Copy config file
|
- name: Copy config file
|
||||||
run: cp config/config.example.yml config/config.yml
|
run: cp config/config.example.yml config/config.yml
|
||||||
|
|||||||
9
.gitignore
vendored
9
.gitignore
vendored
@@ -26,6 +26,10 @@ next-env.d.ts
|
|||||||
migrations
|
migrations
|
||||||
tsconfig.tsbuildinfo
|
tsconfig.tsbuildinfo
|
||||||
config/config.yml
|
config/config.yml
|
||||||
|
config/postgres
|
||||||
|
config/postgres*
|
||||||
|
config/openapi.yaml
|
||||||
|
config/key
|
||||||
dist
|
dist
|
||||||
.dist
|
.dist
|
||||||
installer
|
installer
|
||||||
@@ -34,4 +38,9 @@ bin
|
|||||||
.secrets
|
.secrets
|
||||||
test_event.json
|
test_event.json
|
||||||
.idea/
|
.idea/
|
||||||
|
public/branding
|
||||||
server/db/index.ts
|
server/db/index.ts
|
||||||
|
server/build.ts
|
||||||
|
postgres/
|
||||||
|
dynamic/
|
||||||
|
certificates/
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Contributions are welcome!
|
|||||||
|
|
||||||
Please see the contribution and local development guide on the docs page before getting started:
|
Please see the contribution and local development guide on the docs page before getting started:
|
||||||
|
|
||||||
https://docs.fossorial.io/development
|
https://docs.digpangolin.com/development/contributing
|
||||||
|
|
||||||
### Licensing Considerations
|
### Licensing Considerations
|
||||||
|
|
||||||
@@ -17,4 +17,4 @@ By creating this pull request, I grant the project maintainers an unlimited,
|
|||||||
perpetual license to use, modify, and redistribute these contributions under any terms they
|
perpetual license to use, modify, and redistribute these contributions under any terms they
|
||||||
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
|
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
|
||||||
represent that I have the right to grant this license for all contributed content.
|
represent that I have the right to grant this license for all contributed content.
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,21 +1,26 @@
|
|||||||
FROM node:20-alpine AS builder
|
FROM node:22-alpine AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
ARG BUILD=oss
|
||||||
|
ARG DATABASE=sqlite
|
||||||
|
|
||||||
# COPY package.json package-lock.json ./
|
# COPY package.json package-lock.json ./
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN echo 'export * from "./pg";' > server/db/index.ts
|
RUN echo "export * from \"./$DATABASE\";" > server/db/index.ts
|
||||||
|
|
||||||
RUN npx drizzle-kit generate --dialect postgresql --schema ./server/db/pg/schema.ts --out init
|
RUN echo "export const build = \"$BUILD\" as any;" > server/build.ts
|
||||||
|
|
||||||
RUN npm run build:pg
|
RUN if [ "$DATABASE" = "pg" ]; then npx drizzle-kit generate --dialect postgresql --schema ./server/db/pg/schema.ts --out init; else npx drizzle-kit generate --dialect $DATABASE --schema ./server/db/$DATABASE/schema.ts --out init; fi
|
||||||
|
|
||||||
|
RUN npm run build:$DATABASE
|
||||||
RUN npm run build:cli
|
RUN npm run build:cli
|
||||||
|
|
||||||
FROM node:20-alpine AS runner
|
FROM node:22-alpine AS runner
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@@ -38,4 +43,4 @@ COPY server/db/names.json ./dist/names.json
|
|||||||
|
|
||||||
COPY public ./public
|
COPY public ./public
|
||||||
|
|
||||||
CMD ["npm", "run", "start:pg"]
|
CMD ["npm", "run", "start"]
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM node:20-alpine
|
FROM node:22-alpine
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
@@ -1,41 +0,0 @@
|
|||||||
FROM node:20-alpine AS builder
|
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
# COPY package.json package-lock.json ./
|
|
||||||
COPY package*.json ./
|
|
||||||
RUN npm ci
|
|
||||||
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
RUN echo 'export * from "./sqlite";' > server/db/index.ts
|
|
||||||
|
|
||||||
RUN npx drizzle-kit generate --dialect sqlite --schema ./server/db/sqlite/schema.ts --out init
|
|
||||||
|
|
||||||
RUN npm run build:sqlite
|
|
||||||
RUN npm run build:cli
|
|
||||||
|
|
||||||
FROM node:20-alpine AS runner
|
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
# Curl used for the health checks
|
|
||||||
RUN apk add --no-cache curl
|
|
||||||
|
|
||||||
# COPY package.json package-lock.json ./
|
|
||||||
COPY package*.json ./
|
|
||||||
RUN npm ci --omit=dev && npm cache clean --force
|
|
||||||
|
|
||||||
COPY --from=builder /app/.next/standalone ./
|
|
||||||
COPY --from=builder /app/.next/static ./.next/static
|
|
||||||
COPY --from=builder /app/dist ./dist
|
|
||||||
COPY --from=builder /app/init ./dist/init
|
|
||||||
|
|
||||||
COPY ./cli/wrapper.sh /usr/local/bin/pangctl
|
|
||||||
RUN chmod +x /usr/local/bin/pangctl ./dist/cli.mjs
|
|
||||||
|
|
||||||
COPY server/db/names.json ./dist/names.json
|
|
||||||
|
|
||||||
COPY public ./public
|
|
||||||
|
|
||||||
CMD ["npm", "run", "start:sqlite"]
|
|
||||||
12
Makefile
12
Makefile
@@ -5,10 +5,10 @@ build-release:
|
|||||||
echo "Error: tag is required. Usage: make build-release tag=<tag>"; \
|
echo "Error: tag is required. Usage: make build-release tag=<tag>"; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
docker buildx build --platform linux/arm64,linux/amd64 -t fosrl/pangolin:latest -f Dockerfile.sqlite --push .
|
docker buildx build --build-arg DATABASE=sqlite --platform linux/arm64,linux/amd64 -t fosrl/pangolin:latest --push .
|
||||||
docker buildx build --platform linux/arm64,linux/amd64 -t fosrl/pangolin:$(tag) -f Dockerfile.sqlite --push .
|
docker buildx build --build-arg DATABASE=sqlite --platform linux/arm64,linux/amd64 -t fosrl/pangolin:$(tag) --push .
|
||||||
docker buildx build --platform linux/arm64,linux/amd64 -t fosrl/pangolin:postgresql-latest -f Dockerfile.pg --push .
|
docker buildx build --build-arg DATABASE=pg --platform linux/arm64,linux/amd64 -t fosrl/pangolin:postgresql-latest --push .
|
||||||
docker buildx build --platform linux/arm64,linux/amd64 -t fosrl/pangolin:postgresql-$(tag) -f Dockerfile.pg --push .
|
docker buildx build --build-arg DATABASE=pg --platform linux/arm64,linux/amd64 -t fosrl/pangolin:postgresql-$(tag) --push .
|
||||||
|
|
||||||
build-arm:
|
build-arm:
|
||||||
docker buildx build --platform linux/arm64 -t fosrl/pangolin:latest .
|
docker buildx build --platform linux/arm64 -t fosrl/pangolin:latest .
|
||||||
@@ -17,10 +17,10 @@ build-x86:
|
|||||||
docker buildx build --platform linux/amd64 -t fosrl/pangolin:latest .
|
docker buildx build --platform linux/amd64 -t fosrl/pangolin:latest .
|
||||||
|
|
||||||
build-sqlite:
|
build-sqlite:
|
||||||
docker build -t fosrl/pangolin:latest -f Dockerfile.sqlite .
|
docker build --build-arg DATABASE=sqlite -t fosrl/pangolin:latest .
|
||||||
|
|
||||||
build-pg:
|
build-pg:
|
||||||
docker build -t fosrl/pangolin:postgresql-latest -f Dockerfile.pg .
|
docker build --build-arg DATABASE=pg -t fosrl/pangolin:postgresql-latest .
|
||||||
|
|
||||||
test:
|
test:
|
||||||
docker run -it -p 3000:3000 -p 3001:3001 -p 3002:3002 -v ./config:/app/config fosrl/pangolin:latest
|
docker run -it -p 3000:3000 -p 3001:3001 -p 3002:3002 -v ./config:/app/config fosrl/pangolin:latest
|
||||||
|
|||||||
10
README.md
10
README.md
@@ -20,7 +20,7 @@ _Pangolin tunnels your services to the internet so you can access anything from
|
|||||||
Website
|
Website
|
||||||
</a>
|
</a>
|
||||||
<span> | </span>
|
<span> | </span>
|
||||||
<a href="https://docs.fossorial.io/Getting%20Started/quick-install">
|
<a href="https://docs.digpangolin.com/self-host/quick-install">
|
||||||
Install Guide
|
Install Guide
|
||||||
</a>
|
</a>
|
||||||
<span> | </span>
|
<span> | </span>
|
||||||
@@ -104,7 +104,7 @@ Pangolin is a self-hosted tunneled reverse proxy server with identity and access
|
|||||||
|
|
||||||
### Fully Self Hosted
|
### Fully Self Hosted
|
||||||
|
|
||||||
Host the full application on your own server or on the cloud with a VPS. Take a look at the [documentation](https://docs.fossorial.io/Getting%20Started/quick-install) to get started.
|
Host the full application on your own server or on the cloud with a VPS. Take a look at the [documentation](https://docs.digpangolin.com/self-host/quick-install) to get started.
|
||||||
|
|
||||||
> Many of our users have had a great experience with [RackNerd](https://my.racknerd.com/aff.php?aff=13788). Depending on promotions, you can get a [**VPS with 1 vCPU, 1GB RAM, and ~20GB SSD for just around $12/year**](https://my.racknerd.com/aff.php?aff=13788&pid=912). That's a great deal!
|
> Many of our users have had a great experience with [RackNerd](https://my.racknerd.com/aff.php?aff=13788). Depending on promotions, you can get a [**VPS with 1 vCPU, 1GB RAM, and ~20GB SSD for just around $12/year**](https://my.racknerd.com/aff.php?aff=13788&pid=912). That's a great deal!
|
||||||
|
|
||||||
@@ -114,7 +114,7 @@ Easy to use with simple [pay as you go pricing](https://digpangolin.com/pricing)
|
|||||||
|
|
||||||
- Everything you get with self hosted Pangolin, but fully managed for you.
|
- Everything you get with self hosted Pangolin, but fully managed for you.
|
||||||
|
|
||||||
### Hybrid & High Availability
|
### Managed & High Availability
|
||||||
|
|
||||||
Managed control plane, your infrastructure
|
Managed control plane, your infrastructure
|
||||||
|
|
||||||
@@ -123,7 +123,7 @@ Managed control plane, your infrastructure
|
|||||||
- Traffic flows through your infra.
|
- Traffic flows through your infra.
|
||||||
- We coordinate failover between your nodes or to Cloud when things go bad.
|
- We coordinate failover between your nodes or to Cloud when things go bad.
|
||||||
|
|
||||||
If interested, [contact us](mailto:numbat@fossorial.io).
|
Try it out using [Pangolin Cloud](https://pangolin.fossorial.io)
|
||||||
|
|
||||||
### Full Enterprise On-Premises
|
### Full Enterprise On-Premises
|
||||||
|
|
||||||
@@ -139,7 +139,7 @@ Pangolin is dual licensed under the AGPL-3 and the Fossorial Commercial license.
|
|||||||
|
|
||||||
## Contributions
|
## Contributions
|
||||||
|
|
||||||
Looking for something to contribute? Take a look at issues marked with [help wanted](https://github.com/fosrl/pangolin/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22help%20wanted%22).
|
Looking for something to contribute? Take a look at issues marked with [help wanted](https://github.com/fosrl/pangolin/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22help%20wanted%22). Also take a look through the freature requests in Discussions - any are available and some are marked as a good first issue.
|
||||||
|
|
||||||
Please see [CONTRIBUTING](./CONTRIBUTING.md) in the repository for guidelines and best practices.
|
Please see [CONTRIBUTING](./CONTRIBUTING.md) in the repository for guidelines and best practices.
|
||||||
|
|
||||||
|
|||||||
72
cli/commands/resetUserSecurityKeys.ts
Normal file
72
cli/commands/resetUserSecurityKeys.ts
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
import { CommandModule } from "yargs";
|
||||||
|
import { db, users, securityKeys } from "@server/db";
|
||||||
|
import { eq } from "drizzle-orm";
|
||||||
|
|
||||||
|
type ResetUserSecurityKeysArgs = {
|
||||||
|
email: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
export const resetUserSecurityKeys: CommandModule<
|
||||||
|
{},
|
||||||
|
ResetUserSecurityKeysArgs
|
||||||
|
> = {
|
||||||
|
command: "reset-user-security-keys",
|
||||||
|
describe:
|
||||||
|
"Reset a user's security keys (passkeys) by deleting all their webauthn credentials",
|
||||||
|
builder: (yargs) => {
|
||||||
|
return yargs.option("email", {
|
||||||
|
type: "string",
|
||||||
|
demandOption: true,
|
||||||
|
describe: "User email address"
|
||||||
|
});
|
||||||
|
},
|
||||||
|
handler: async (argv: { email: string }) => {
|
||||||
|
try {
|
||||||
|
const { email } = argv;
|
||||||
|
|
||||||
|
console.log(`Looking for user with email: ${email}`);
|
||||||
|
|
||||||
|
// Find the user by email
|
||||||
|
const [user] = await db
|
||||||
|
.select()
|
||||||
|
.from(users)
|
||||||
|
.where(eq(users.email, email))
|
||||||
|
.limit(1);
|
||||||
|
|
||||||
|
if (!user) {
|
||||||
|
console.error(`User with email '${email}' not found`);
|
||||||
|
process.exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
console.log(`Found user: ${user.email} (ID: ${user.userId})`);
|
||||||
|
|
||||||
|
// Check if user has any security keys
|
||||||
|
const userSecurityKeys = await db
|
||||||
|
.select()
|
||||||
|
.from(securityKeys)
|
||||||
|
.where(eq(securityKeys.userId, user.userId));
|
||||||
|
|
||||||
|
if (userSecurityKeys.length === 0) {
|
||||||
|
console.log(`User '${email}' has no security keys to reset`);
|
||||||
|
process.exit(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
`Found ${userSecurityKeys.length} security key(s) for user '${email}'`
|
||||||
|
);
|
||||||
|
|
||||||
|
// Delete all security keys for the user
|
||||||
|
await db
|
||||||
|
.delete(securityKeys)
|
||||||
|
.where(eq(securityKeys.userId, user.userId));
|
||||||
|
|
||||||
|
console.log(`Successfully reset security keys for user '${email}'`);
|
||||||
|
console.log(`Deleted ${userSecurityKeys.length} security key(s)`);
|
||||||
|
|
||||||
|
process.exit(0);
|
||||||
|
} catch (error) {
|
||||||
|
console.error("Error:", error);
|
||||||
|
process.exit(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
@@ -32,7 +32,9 @@ export const setAdminCredentials: CommandModule<{}, SetAdminCredentialsArgs> = {
|
|||||||
},
|
},
|
||||||
handler: async (argv: { email: string; password: string }) => {
|
handler: async (argv: { email: string; password: string }) => {
|
||||||
try {
|
try {
|
||||||
const { email, password } = argv;
|
const { password } = argv;
|
||||||
|
let { email } = argv;
|
||||||
|
email = email.trim().toLowerCase();
|
||||||
|
|
||||||
const parsed = passwordSchema.safeParse(password);
|
const parsed = passwordSchema.safeParse(password);
|
||||||
|
|
||||||
|
|||||||
@@ -3,9 +3,11 @@
|
|||||||
import yargs from "yargs";
|
import yargs from "yargs";
|
||||||
import { hideBin } from "yargs/helpers";
|
import { hideBin } from "yargs/helpers";
|
||||||
import { setAdminCredentials } from "@cli/commands/setAdminCredentials";
|
import { setAdminCredentials } from "@cli/commands/setAdminCredentials";
|
||||||
|
import { resetUserSecurityKeys } from "@cli/commands/resetUserSecurityKeys";
|
||||||
|
|
||||||
yargs(hideBin(process.argv))
|
yargs(hideBin(process.argv))
|
||||||
.scriptName("pangctl")
|
.scriptName("pangctl")
|
||||||
.command(setAdminCredentials)
|
.command(setAdminCredentials)
|
||||||
|
.command(resetUserSecurityKeys)
|
||||||
.demandCommand()
|
.demandCommand()
|
||||||
.help().argv;
|
.help().argv;
|
||||||
|
|||||||
@@ -1,48 +1,28 @@
|
|||||||
# To see all available options, please visit the docs:
|
# To see all available options, please visit the docs:
|
||||||
# https://docs.fossorial.io/Pangolin/Configuration/config
|
# https://docs.digpangolin.com/self-host/advanced/config-file
|
||||||
|
|
||||||
app:
|
app:
|
||||||
dashboard_url: "http://localhost:3002"
|
dashboard_url: http://localhost:3002
|
||||||
log_level: "info"
|
log_level: debug
|
||||||
save_logs: false
|
|
||||||
|
|
||||||
domains:
|
domains:
|
||||||
domain1:
|
domain1:
|
||||||
base_domain: "example.com"
|
base_domain: example.com
|
||||||
cert_resolver: "letsencrypt"
|
|
||||||
|
|
||||||
server:
|
server:
|
||||||
external_port: 3000
|
secret: my_secret_key
|
||||||
internal_port: 3001
|
|
||||||
next_port: 3002
|
|
||||||
internal_hostname: "pangolin"
|
|
||||||
session_cookie_name: "p_session_token"
|
|
||||||
resource_access_token_param: "p_token"
|
|
||||||
secret: "your_secret_key_here"
|
|
||||||
resource_access_token_headers:
|
|
||||||
id: "P-Access-Token-Id"
|
|
||||||
token: "P-Access-Token"
|
|
||||||
resource_session_request_param: "p_session_request"
|
|
||||||
|
|
||||||
traefik:
|
|
||||||
http_entrypoint: "web"
|
|
||||||
https_entrypoint: "websecure"
|
|
||||||
|
|
||||||
gerbil:
|
gerbil:
|
||||||
start_port: 51820
|
base_endpoint: example.com
|
||||||
base_endpoint: "localhost"
|
|
||||||
block_size: 24
|
|
||||||
site_block_size: 30
|
|
||||||
subnet_group: 100.89.137.0/20
|
|
||||||
use_subdomain: true
|
|
||||||
|
|
||||||
rate_limits:
|
orgs:
|
||||||
global:
|
block_size: 24
|
||||||
window_minutes: 1
|
subnet_group: 100.90.137.0/20
|
||||||
max_requests: 500
|
|
||||||
|
|
||||||
flags:
|
flags:
|
||||||
require_email_verification: false
|
require_email_verification: false
|
||||||
disable_signup_without_invite: true
|
disable_signup_without_invite: true
|
||||||
disable_user_create_org: true
|
disable_user_create_org: true
|
||||||
allow_raw_resources: true
|
allow_raw_resources: true
|
||||||
|
enable_integration_api: true
|
||||||
|
enable_clients: true
|
||||||
|
|||||||
Binary file not shown.
53
config/traefik/dynamic_config.yml
Normal file
53
config/traefik/dynamic_config.yml
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
http:
|
||||||
|
middlewares:
|
||||||
|
redirect-to-https:
|
||||||
|
redirectScheme:
|
||||||
|
scheme: https
|
||||||
|
|
||||||
|
routers:
|
||||||
|
# HTTP to HTTPS redirect router
|
||||||
|
main-app-router-redirect:
|
||||||
|
rule: "Host(`{{.DashboardDomain}}`)"
|
||||||
|
service: next-service
|
||||||
|
entryPoints:
|
||||||
|
- web
|
||||||
|
middlewares:
|
||||||
|
- redirect-to-https
|
||||||
|
|
||||||
|
# Next.js router (handles everything except API and WebSocket paths)
|
||||||
|
next-router:
|
||||||
|
rule: "Host(`{{.DashboardDomain}}`) && !PathPrefix(`/api/v1`)"
|
||||||
|
service: next-service
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
tls:
|
||||||
|
certResolver: letsencrypt
|
||||||
|
|
||||||
|
# API router (handles /api/v1 paths)
|
||||||
|
api-router:
|
||||||
|
rule: "Host(`{{.DashboardDomain}}`) && PathPrefix(`/api/v1`)"
|
||||||
|
service: api-service
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
tls:
|
||||||
|
certResolver: letsencrypt
|
||||||
|
|
||||||
|
# WebSocket router
|
||||||
|
ws-router:
|
||||||
|
rule: "Host(`{{.DashboardDomain}}`)"
|
||||||
|
service: api-service
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
tls:
|
||||||
|
certResolver: letsencrypt
|
||||||
|
|
||||||
|
services:
|
||||||
|
next-service:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: "http://pangolin:3002" # Next.js server
|
||||||
|
|
||||||
|
api-service:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: "http://pangolin:3000" # API/WebSocket server
|
||||||
34
config/traefik/traefik_config.yml
Normal file
34
config/traefik/traefik_config.yml
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
api:
|
||||||
|
insecure: true
|
||||||
|
dashboard: true
|
||||||
|
|
||||||
|
providers:
|
||||||
|
file:
|
||||||
|
directory: "/var/dynamic"
|
||||||
|
watch: true
|
||||||
|
|
||||||
|
experimental:
|
||||||
|
plugins:
|
||||||
|
badger:
|
||||||
|
moduleName: "github.com/fosrl/badger"
|
||||||
|
version: "v1.2.0"
|
||||||
|
|
||||||
|
log:
|
||||||
|
level: "DEBUG"
|
||||||
|
format: "common"
|
||||||
|
maxSize: 100
|
||||||
|
maxBackups: 3
|
||||||
|
maxAge: 3
|
||||||
|
compress: true
|
||||||
|
|
||||||
|
entryPoints:
|
||||||
|
web:
|
||||||
|
address: ":80"
|
||||||
|
websecure:
|
||||||
|
address: ":9443"
|
||||||
|
transport:
|
||||||
|
respondingTimeouts:
|
||||||
|
readTimeout: "30m"
|
||||||
|
|
||||||
|
serversTransport:
|
||||||
|
insecureSkipVerify: true
|
||||||
@@ -22,8 +22,7 @@ services:
|
|||||||
command:
|
command:
|
||||||
- --reachableAt=http://gerbil:3003
|
- --reachableAt=http://gerbil:3003
|
||||||
- --generateAndSaveKeyTo=/var/config/key
|
- --generateAndSaveKeyTo=/var/config/key
|
||||||
- --remoteConfig=http://pangolin:3001/api/v1/gerbil/get-config
|
- --remoteConfig=http://pangolin:3001/api/v1/
|
||||||
- --reportBandwidthTo=http://pangolin:3001/api/v1/gerbil/receive-bandwidth
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/:/var/config
|
- ./config/:/var/config
|
||||||
cap_add:
|
cap_add:
|
||||||
@@ -36,7 +35,7 @@ services:
|
|||||||
- 80:80 # Port for traefik because of the network_mode
|
- 80:80 # Port for traefik because of the network_mode
|
||||||
|
|
||||||
traefik:
|
traefik:
|
||||||
image: traefik:v3.4.0
|
image: traefik:v3.5
|
||||||
container_name: traefik
|
container_name: traefik
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
network_mode: service:gerbil # Ports appear on the gerbil service
|
network_mode: service:gerbil # Ports appear on the gerbil service
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ services:
|
|||||||
POSTGRES_DB: postgres # Default database name
|
POSTGRES_DB: postgres # Default database name
|
||||||
POSTGRES_USER: postgres # Default user
|
POSTGRES_USER: postgres # Default user
|
||||||
POSTGRES_PASSWORD: password # Default password (change for production!)
|
POSTGRES_PASSWORD: password # Default password (change for production!)
|
||||||
|
volumes:
|
||||||
|
- ./config/postgres:/var/lib/postgresql/data
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432" # Map host port 5432 to container port 5432
|
- "5432:5432" # Map host port 5432 to container port 5432
|
||||||
restart: no
|
restart: no
|
||||||
|
|||||||
32
docker-compose.t.yml
Normal file
32
docker-compose.t.yml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
name: pangolin
|
||||||
|
services:
|
||||||
|
gerbil:
|
||||||
|
image: gerbil
|
||||||
|
container_name: gerbil
|
||||||
|
network_mode: host
|
||||||
|
restart: unless-stopped
|
||||||
|
command:
|
||||||
|
- --reachableAt=http://localhost:3003
|
||||||
|
- --generateAndSaveKeyTo=/var/config/key
|
||||||
|
- --remoteConfig=http://localhost:3001/api/v1/
|
||||||
|
- --sni-port=443
|
||||||
|
volumes:
|
||||||
|
- ./config/:/var/config
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
- SYS_MODULE
|
||||||
|
|
||||||
|
traefik:
|
||||||
|
image: docker.io/traefik:v3.4.1
|
||||||
|
container_name: traefik
|
||||||
|
restart: unless-stopped
|
||||||
|
network_mode: host
|
||||||
|
command:
|
||||||
|
- --configFile=/etc/traefik/traefik_config.yml
|
||||||
|
volumes:
|
||||||
|
- ./config/traefik:/etc/traefik:ro # Volume to store the Traefik configuration
|
||||||
|
- ./config/letsencrypt:/letsencrypt # Volume to store the Let's Encrypt certificates
|
||||||
|
- ./config/traefik/logs:/var/log/traefik # Volume to store Traefik logs
|
||||||
|
- ./certificates:/var/certificates:ro
|
||||||
|
- ./dynamic:/var/dynamic:ro
|
||||||
|
|
||||||
@@ -9,6 +9,7 @@ services:
|
|||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
- "3001:3001"
|
- "3001:3001"
|
||||||
- "3002:3002"
|
- "3002:3002"
|
||||||
|
- "3003:3003"
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=development
|
- NODE_ENV=development
|
||||||
- ENVIRONMENT=dev
|
- ENVIRONMENT=dev
|
||||||
@@ -26,4 +27,4 @@ services:
|
|||||||
- ./postcss.config.mjs:/app/postcss.config.mjs
|
- ./postcss.config.mjs:/app/postcss.config.mjs
|
||||||
- ./eslint.config.js:/app/eslint.config.js
|
- ./eslint.config.js:/app/eslint.config.js
|
||||||
- ./config:/app/config
|
- ./config:/app/config
|
||||||
restart: no
|
restart: no
|
||||||
|
|||||||
@@ -63,8 +63,8 @@ esbuild
|
|||||||
packagePath: getPackagePaths(),
|
packagePath: getPackagePaths(),
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
sourcemap: true,
|
sourcemap: "external",
|
||||||
target: "node20",
|
target: "node22",
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
console.log("Build completed successfully");
|
console.log("Build completed successfully");
|
||||||
|
|||||||
@@ -37,15 +37,28 @@ type DynamicConfig struct {
|
|||||||
} `yaml:"http"`
|
} `yaml:"http"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// ConfigValues holds the extracted configuration values
|
// TraefikConfigValues holds the extracted configuration values
|
||||||
type ConfigValues struct {
|
type TraefikConfigValues struct {
|
||||||
DashboardDomain string
|
DashboardDomain string
|
||||||
LetsEncryptEmail string
|
LetsEncryptEmail string
|
||||||
BadgerVersion string
|
BadgerVersion string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// AppConfig represents the app section of the config.yml
|
||||||
|
type AppConfig struct {
|
||||||
|
App struct {
|
||||||
|
DashboardURL string `yaml:"dashboard_url"`
|
||||||
|
LogLevel string `yaml:"log_level"`
|
||||||
|
} `yaml:"app"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type AppConfigValues struct {
|
||||||
|
DashboardURL string
|
||||||
|
LogLevel string
|
||||||
|
}
|
||||||
|
|
||||||
// ReadTraefikConfig reads and extracts values from Traefik configuration files
|
// ReadTraefikConfig reads and extracts values from Traefik configuration files
|
||||||
func ReadTraefikConfig(mainConfigPath, dynamicConfigPath string) (*ConfigValues, error) {
|
func ReadTraefikConfig(mainConfigPath string) (*TraefikConfigValues, error) {
|
||||||
// Read main config file
|
// Read main config file
|
||||||
mainConfigData, err := os.ReadFile(mainConfigPath)
|
mainConfigData, err := os.ReadFile(mainConfigPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -57,48 +70,33 @@ func ReadTraefikConfig(mainConfigPath, dynamicConfigPath string) (*ConfigValues,
|
|||||||
return nil, fmt.Errorf("error parsing main config file: %w", err)
|
return nil, fmt.Errorf("error parsing main config file: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Read dynamic config file
|
|
||||||
dynamicConfigData, err := os.ReadFile(dynamicConfigPath)
|
|
||||||
if err != nil {
|
|
||||||
return nil, fmt.Errorf("error reading dynamic config file: %w", err)
|
|
||||||
}
|
|
||||||
|
|
||||||
var dynamicConfig DynamicConfig
|
|
||||||
if err := yaml.Unmarshal(dynamicConfigData, &dynamicConfig); err != nil {
|
|
||||||
return nil, fmt.Errorf("error parsing dynamic config file: %w", err)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Extract values
|
// Extract values
|
||||||
values := &ConfigValues{
|
values := &TraefikConfigValues{
|
||||||
BadgerVersion: mainConfig.Experimental.Plugins.Badger.Version,
|
BadgerVersion: mainConfig.Experimental.Plugins.Badger.Version,
|
||||||
LetsEncryptEmail: mainConfig.CertificatesResolvers.LetsEncrypt.Acme.Email,
|
LetsEncryptEmail: mainConfig.CertificatesResolvers.LetsEncrypt.Acme.Email,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Extract DashboardDomain from router rules
|
|
||||||
// Look for it in the main router rules
|
|
||||||
for _, router := range dynamicConfig.HTTP.Routers {
|
|
||||||
if router.Rule != "" {
|
|
||||||
// Extract domain from Host(`mydomain.com`)
|
|
||||||
if domain := extractDomainFromRule(router.Rule); domain != "" {
|
|
||||||
values.DashboardDomain = domain
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return values, nil
|
return values, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// extractDomainFromRule extracts the domain from a router rule
|
func ReadAppConfig(configPath string) (*AppConfigValues, error) {
|
||||||
func extractDomainFromRule(rule string) string {
|
// Read config file
|
||||||
// Look for the Host(`mydomain.com`) pattern
|
configData, err := os.ReadFile(configPath)
|
||||||
if start := findPattern(rule, "Host(`"); start != -1 {
|
if err != nil {
|
||||||
end := findPattern(rule[start:], "`)")
|
return nil, fmt.Errorf("error reading config file: %w", err)
|
||||||
if end != -1 {
|
|
||||||
return rule[start+6 : start+end]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return ""
|
|
||||||
|
var appConfig AppConfig
|
||||||
|
if err := yaml.Unmarshal(configData, &appConfig); err != nil {
|
||||||
|
return nil, fmt.Errorf("error parsing config file: %w", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
values := &AppConfigValues{
|
||||||
|
DashboardURL: appConfig.App.DashboardURL,
|
||||||
|
LogLevel: appConfig.App.LogLevel,
|
||||||
|
}
|
||||||
|
|
||||||
|
return values, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// findPattern finds the start of a pattern in a string
|
// findPattern finds the start of a pattern in a string
|
||||||
|
|||||||
@@ -1,6 +1,15 @@
|
|||||||
# To see all available options, please visit the docs:
|
# To see all available options, please visit the docs:
|
||||||
# https://docs.fossorial.io/Pangolin/Configuration/config
|
# https://docs.digpangolin.com/self-host/advanced/config-file
|
||||||
|
|
||||||
|
gerbil:
|
||||||
|
start_port: 51820
|
||||||
|
base_endpoint: "{{.DashboardDomain}}"
|
||||||
|
{{if .HybridMode}}
|
||||||
|
managed:
|
||||||
|
id: "{{.HybridId}}"
|
||||||
|
secret: "{{.HybridSecret}}"
|
||||||
|
|
||||||
|
{{else}}
|
||||||
app:
|
app:
|
||||||
dashboard_url: "https://{{.DashboardDomain}}"
|
dashboard_url: "https://{{.DashboardDomain}}"
|
||||||
log_level: "info"
|
log_level: "info"
|
||||||
@@ -17,11 +26,6 @@ server:
|
|||||||
methods: ["GET", "POST", "PUT", "DELETE", "PATCH"]
|
methods: ["GET", "POST", "PUT", "DELETE", "PATCH"]
|
||||||
allowed_headers: ["X-CSRF-Token", "Content-Type"]
|
allowed_headers: ["X-CSRF-Token", "Content-Type"]
|
||||||
credentials: false
|
credentials: false
|
||||||
|
|
||||||
gerbil:
|
|
||||||
start_port: 51820
|
|
||||||
base_endpoint: "{{.DashboardDomain}}"
|
|
||||||
|
|
||||||
{{if .EnableEmail}}
|
{{if .EnableEmail}}
|
||||||
email:
|
email:
|
||||||
smtp_host: "{{.EmailSMTPHost}}"
|
smtp_host: "{{.EmailSMTPHost}}"
|
||||||
@@ -30,9 +34,9 @@ email:
|
|||||||
smtp_pass: "{{.EmailSMTPPass}}"
|
smtp_pass: "{{.EmailSMTPPass}}"
|
||||||
no_reply: "{{.EmailNoReply}}"
|
no_reply: "{{.EmailNoReply}}"
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
flags:
|
flags:
|
||||||
require_email_verification: {{.EnableEmail}}
|
require_email_verification: {{.EnableEmail}}
|
||||||
disable_signup_without_invite: true
|
disable_signup_without_invite: true
|
||||||
disable_user_create_org: false
|
disable_user_create_org: false
|
||||||
allow_raw_resources: true
|
allow_raw_resources: true
|
||||||
|
{{end}}
|
||||||
@@ -16,7 +16,7 @@ experimental:
|
|||||||
version: "{{.BadgerVersion}}"
|
version: "{{.BadgerVersion}}"
|
||||||
crowdsec: # CrowdSec plugin configuration added
|
crowdsec: # CrowdSec plugin configuration added
|
||||||
moduleName: "github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin"
|
moduleName: "github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin"
|
||||||
version: "v1.4.2"
|
version: "v1.4.4"
|
||||||
|
|
||||||
log:
|
log:
|
||||||
level: "INFO"
|
level: "INFO"
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/app/config
|
- ./config:/app/config
|
||||||
|
- pangolin-data:/var/certificates
|
||||||
|
- pangolin-data:/var/dynamic
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:3001/api/v1/"]
|
test: ["CMD", "curl", "-f", "http://localhost:3001/api/v1/"]
|
||||||
interval: "10s"
|
interval: "10s"
|
||||||
@@ -22,8 +24,7 @@ services:
|
|||||||
command:
|
command:
|
||||||
- --reachableAt=http://gerbil:3003
|
- --reachableAt=http://gerbil:3003
|
||||||
- --generateAndSaveKeyTo=/var/config/key
|
- --generateAndSaveKeyTo=/var/config/key
|
||||||
- --remoteConfig=http://pangolin:3001/api/v1/gerbil/get-config
|
- --remoteConfig=http://pangolin:3001/api/v1/
|
||||||
- --reportBandwidthTo=http://pangolin:3001/api/v1/gerbil/receive-bandwidth
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/:/var/config
|
- ./config/:/var/config
|
||||||
cap_add:
|
cap_add:
|
||||||
@@ -32,11 +33,11 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 51820:51820/udp
|
- 51820:51820/udp
|
||||||
- 21820:21820/udp
|
- 21820:21820/udp
|
||||||
- 443:443 # Port for traefik because of the network_mode
|
- 443:{{if .HybridMode}}8443{{else}}443{{end}}
|
||||||
- 80:80 # Port for traefik because of the network_mode
|
- 80:80
|
||||||
{{end}}
|
{{end}}
|
||||||
traefik:
|
traefik:
|
||||||
image: docker.io/traefik:v3.4.1
|
image: docker.io/traefik:v3.5
|
||||||
container_name: traefik
|
container_name: traefik
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
{{if .InstallGerbil}}
|
{{if .InstallGerbil}}
|
||||||
@@ -55,9 +56,15 @@ services:
|
|||||||
- ./config/traefik:/etc/traefik:ro # Volume to store the Traefik configuration
|
- ./config/traefik:/etc/traefik:ro # Volume to store the Traefik configuration
|
||||||
- ./config/letsencrypt:/letsencrypt # Volume to store the Let's Encrypt certificates
|
- ./config/letsencrypt:/letsencrypt # Volume to store the Let's Encrypt certificates
|
||||||
- ./config/traefik/logs:/var/log/traefik # Volume to store Traefik logs
|
- ./config/traefik/logs:/var/log/traefik # Volume to store Traefik logs
|
||||||
|
# Shared volume for certificates and dynamic config in file mode
|
||||||
|
- pangolin-data:/var/certificates:ro
|
||||||
|
- pangolin-data:/var/dynamic:ro
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
name: pangolin
|
name: pangolin
|
||||||
enable_ipv6: true
|
{{if .EnableIPv6}} enable_ipv6: true{{end}}
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
pangolin-data:
|
||||||
|
|||||||
@@ -3,12 +3,17 @@ api:
|
|||||||
dashboard: true
|
dashboard: true
|
||||||
|
|
||||||
providers:
|
providers:
|
||||||
|
{{if not .HybridMode}}
|
||||||
http:
|
http:
|
||||||
endpoint: "http://pangolin:3001/api/v1/traefik-config"
|
endpoint: "http://pangolin:3001/api/v1/traefik-config"
|
||||||
pollInterval: "5s"
|
pollInterval: "5s"
|
||||||
file:
|
file:
|
||||||
filename: "/etc/traefik/dynamic_config.yml"
|
filename: "/etc/traefik/dynamic_config.yml"
|
||||||
|
{{else}}
|
||||||
|
file:
|
||||||
|
directory: "/var/dynamic"
|
||||||
|
watch: true
|
||||||
|
{{end}}
|
||||||
experimental:
|
experimental:
|
||||||
plugins:
|
plugins:
|
||||||
badger:
|
badger:
|
||||||
@@ -22,7 +27,7 @@ log:
|
|||||||
maxBackups: 3
|
maxBackups: 3
|
||||||
maxAge: 3
|
maxAge: 3
|
||||||
compress: true
|
compress: true
|
||||||
|
{{if not .HybridMode}}
|
||||||
certificatesResolvers:
|
certificatesResolvers:
|
||||||
letsencrypt:
|
letsencrypt:
|
||||||
acme:
|
acme:
|
||||||
@@ -31,18 +36,25 @@ certificatesResolvers:
|
|||||||
email: "{{.LetsEncryptEmail}}"
|
email: "{{.LetsEncryptEmail}}"
|
||||||
storage: "/letsencrypt/acme.json"
|
storage: "/letsencrypt/acme.json"
|
||||||
caServer: "https://acme-v02.api.letsencrypt.org/directory"
|
caServer: "https://acme-v02.api.letsencrypt.org/directory"
|
||||||
|
{{end}}
|
||||||
entryPoints:
|
entryPoints:
|
||||||
web:
|
web:
|
||||||
address: ":80"
|
address: ":80"
|
||||||
websecure:
|
websecure:
|
||||||
address: ":443"
|
address: ":443"
|
||||||
|
{{if .HybridMode}} proxyProtocol:
|
||||||
|
trustedIPs:
|
||||||
|
- 0.0.0.0/0
|
||||||
|
- ::1/128{{end}}
|
||||||
transport:
|
transport:
|
||||||
respondingTimeouts:
|
respondingTimeouts:
|
||||||
readTimeout: "30m"
|
readTimeout: "30m"
|
||||||
http:
|
{{if not .HybridMode}} http:
|
||||||
tls:
|
tls:
|
||||||
certResolver: "letsencrypt"
|
certResolver: "letsencrypt"{{end}}
|
||||||
|
|
||||||
serversTransport:
|
serversTransport:
|
||||||
insecureSkipVerify: true
|
insecureSkipVerify: true
|
||||||
|
|
||||||
|
ping:
|
||||||
|
entryPoint: "web"
|
||||||
332
install/containers.go
Normal file
332
install/containers.go
Normal file
@@ -0,0 +1,332 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bytes"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
"os/exec"
|
||||||
|
"os/user"
|
||||||
|
"runtime"
|
||||||
|
"strconv"
|
||||||
|
"strings"
|
||||||
|
"time"
|
||||||
|
)
|
||||||
|
|
||||||
|
func waitForContainer(containerName string, containerType SupportedContainer) error {
|
||||||
|
maxAttempts := 30
|
||||||
|
retryInterval := time.Second * 2
|
||||||
|
|
||||||
|
for attempt := 0; attempt < maxAttempts; attempt++ {
|
||||||
|
// Check if container is running
|
||||||
|
cmd := exec.Command(string(containerType), "container", "inspect", "-f", "{{.State.Running}}", containerName)
|
||||||
|
var out bytes.Buffer
|
||||||
|
cmd.Stdout = &out
|
||||||
|
|
||||||
|
if err := cmd.Run(); err != nil {
|
||||||
|
// If the container doesn't exist or there's another error, wait and retry
|
||||||
|
time.Sleep(retryInterval)
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
|
isRunning := strings.TrimSpace(out.String()) == "true"
|
||||||
|
if isRunning {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// Container exists but isn't running yet, wait and retry
|
||||||
|
time.Sleep(retryInterval)
|
||||||
|
}
|
||||||
|
|
||||||
|
return fmt.Errorf("container %s did not start within %v seconds", containerName, maxAttempts*int(retryInterval.Seconds()))
|
||||||
|
}
|
||||||
|
|
||||||
|
func installDocker() error {
|
||||||
|
// Detect Linux distribution
|
||||||
|
cmd := exec.Command("cat", "/etc/os-release")
|
||||||
|
output, err := cmd.Output()
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("failed to detect Linux distribution: %v", err)
|
||||||
|
}
|
||||||
|
osRelease := string(output)
|
||||||
|
|
||||||
|
// Detect system architecture
|
||||||
|
archCmd := exec.Command("uname", "-m")
|
||||||
|
archOutput, err := archCmd.Output()
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("failed to detect system architecture: %v", err)
|
||||||
|
}
|
||||||
|
arch := strings.TrimSpace(string(archOutput))
|
||||||
|
|
||||||
|
// Map architecture to Docker's architecture naming
|
||||||
|
var dockerArch string
|
||||||
|
switch arch {
|
||||||
|
case "x86_64":
|
||||||
|
dockerArch = "amd64"
|
||||||
|
case "aarch64":
|
||||||
|
dockerArch = "arm64"
|
||||||
|
default:
|
||||||
|
return fmt.Errorf("unsupported architecture: %s", arch)
|
||||||
|
}
|
||||||
|
|
||||||
|
var installCmd *exec.Cmd
|
||||||
|
switch {
|
||||||
|
case strings.Contains(osRelease, "ID=ubuntu"):
|
||||||
|
installCmd = exec.Command("bash", "-c", fmt.Sprintf(`
|
||||||
|
apt-get update &&
|
||||||
|
apt-get install -y apt-transport-https ca-certificates curl software-properties-common &&
|
||||||
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg &&
|
||||||
|
echo "deb [arch=%s signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list &&
|
||||||
|
apt-get update &&
|
||||||
|
apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
||||||
|
`, dockerArch))
|
||||||
|
case strings.Contains(osRelease, "ID=debian"):
|
||||||
|
installCmd = exec.Command("bash", "-c", fmt.Sprintf(`
|
||||||
|
apt-get update &&
|
||||||
|
apt-get install -y apt-transport-https ca-certificates curl software-properties-common &&
|
||||||
|
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg &&
|
||||||
|
echo "deb [arch=%s signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list &&
|
||||||
|
apt-get update &&
|
||||||
|
apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
||||||
|
`, dockerArch))
|
||||||
|
case strings.Contains(osRelease, "ID=fedora"):
|
||||||
|
// Detect Fedora version to handle DNF 5 changes
|
||||||
|
versionCmd := exec.Command("bash", "-c", "grep VERSION_ID /etc/os-release | cut -d'=' -f2 | tr -d '\"'")
|
||||||
|
versionOutput, err := versionCmd.Output()
|
||||||
|
var fedoraVersion int
|
||||||
|
if err == nil {
|
||||||
|
if v, parseErr := strconv.Atoi(strings.TrimSpace(string(versionOutput))); parseErr == nil {
|
||||||
|
fedoraVersion = v
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Use appropriate DNF syntax based on version
|
||||||
|
var repoCmd string
|
||||||
|
if fedoraVersion >= 41 {
|
||||||
|
// DNF 5 syntax for Fedora 41+
|
||||||
|
repoCmd = "dnf config-manager addrepo --from-repofile=https://download.docker.com/linux/fedora/docker-ce.repo"
|
||||||
|
} else {
|
||||||
|
// DNF 4 syntax for Fedora < 41
|
||||||
|
repoCmd = "dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo"
|
||||||
|
}
|
||||||
|
|
||||||
|
installCmd = exec.Command("bash", "-c", fmt.Sprintf(`
|
||||||
|
dnf -y install dnf-plugins-core &&
|
||||||
|
%s &&
|
||||||
|
dnf install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
||||||
|
`, repoCmd))
|
||||||
|
case strings.Contains(osRelease, "ID=opensuse") || strings.Contains(osRelease, "ID=\"opensuse-"):
|
||||||
|
installCmd = exec.Command("bash", "-c", `
|
||||||
|
zypper install -y docker docker-compose &&
|
||||||
|
systemctl enable docker
|
||||||
|
`)
|
||||||
|
case strings.Contains(osRelease, "ID=rhel") || strings.Contains(osRelease, "ID=\"rhel"):
|
||||||
|
installCmd = exec.Command("bash", "-c", `
|
||||||
|
dnf remove -y runc &&
|
||||||
|
dnf -y install yum-utils &&
|
||||||
|
dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo &&
|
||||||
|
dnf install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin &&
|
||||||
|
systemctl enable docker
|
||||||
|
`)
|
||||||
|
case strings.Contains(osRelease, "ID=amzn"):
|
||||||
|
installCmd = exec.Command("bash", "-c", `
|
||||||
|
yum update -y &&
|
||||||
|
yum install -y docker &&
|
||||||
|
systemctl enable docker &&
|
||||||
|
usermod -a -G docker ec2-user
|
||||||
|
`)
|
||||||
|
default:
|
||||||
|
return fmt.Errorf("unsupported Linux distribution")
|
||||||
|
}
|
||||||
|
|
||||||
|
installCmd.Stdout = os.Stdout
|
||||||
|
installCmd.Stderr = os.Stderr
|
||||||
|
return installCmd.Run()
|
||||||
|
}
|
||||||
|
|
||||||
|
func startDockerService() error {
|
||||||
|
if runtime.GOOS == "linux" {
|
||||||
|
cmd := exec.Command("systemctl", "enable", "--now", "docker")
|
||||||
|
cmd.Stdout = os.Stdout
|
||||||
|
cmd.Stderr = os.Stderr
|
||||||
|
return cmd.Run()
|
||||||
|
} else if runtime.GOOS == "darwin" {
|
||||||
|
// On macOS, Docker is usually started via the Docker Desktop application
|
||||||
|
fmt.Println("Please start Docker Desktop manually on macOS.")
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return fmt.Errorf("unsupported operating system for starting Docker service")
|
||||||
|
}
|
||||||
|
|
||||||
|
func isDockerInstalled() bool {
|
||||||
|
return isContainerInstalled("docker")
|
||||||
|
}
|
||||||
|
|
||||||
|
func isPodmanInstalled() bool {
|
||||||
|
return isContainerInstalled("podman") && isContainerInstalled("podman-compose")
|
||||||
|
}
|
||||||
|
|
||||||
|
func isContainerInstalled(container string) bool {
|
||||||
|
cmd := exec.Command(container, "--version")
|
||||||
|
if err := cmd.Run(); err != nil {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
func isUserInDockerGroup() bool {
|
||||||
|
if runtime.GOOS == "darwin" {
|
||||||
|
// Docker group is not applicable on macOS
|
||||||
|
// So we assume that the user can run Docker commands
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
if os.Geteuid() == 0 {
|
||||||
|
return true // Root user can run Docker commands anyway
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check if the current user is in the docker group
|
||||||
|
if dockerGroup, err := user.LookupGroup("docker"); err == nil {
|
||||||
|
if currentUser, err := user.Current(); err == nil {
|
||||||
|
if currentUserGroupIds, err := currentUser.GroupIds(); err == nil {
|
||||||
|
for _, groupId := range currentUserGroupIds {
|
||||||
|
if groupId == dockerGroup.Gid {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Eventually, if any of the checks fail, we assume the user cannot run Docker commands
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
// isDockerRunning checks if the Docker daemon is running by using the `docker info` command.
|
||||||
|
func isDockerRunning() bool {
|
||||||
|
cmd := exec.Command("docker", "info")
|
||||||
|
if err := cmd.Run(); err != nil {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
// executeDockerComposeCommandWithArgs executes the appropriate docker command with arguments supplied
|
||||||
|
func executeDockerComposeCommandWithArgs(args ...string) error {
|
||||||
|
var cmd *exec.Cmd
|
||||||
|
var useNewStyle bool
|
||||||
|
|
||||||
|
if !isDockerInstalled() {
|
||||||
|
return fmt.Errorf("docker is not installed")
|
||||||
|
}
|
||||||
|
|
||||||
|
checkCmd := exec.Command("docker", "compose", "version")
|
||||||
|
if err := checkCmd.Run(); err == nil {
|
||||||
|
useNewStyle = true
|
||||||
|
} else {
|
||||||
|
checkCmd = exec.Command("docker-compose", "version")
|
||||||
|
if err := checkCmd.Run(); err == nil {
|
||||||
|
useNewStyle = false
|
||||||
|
} else {
|
||||||
|
return fmt.Errorf("neither 'docker compose' nor 'docker-compose' command is available")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if useNewStyle {
|
||||||
|
cmd = exec.Command("docker", append([]string{"compose"}, args...)...)
|
||||||
|
} else {
|
||||||
|
cmd = exec.Command("docker-compose", args...)
|
||||||
|
}
|
||||||
|
|
||||||
|
cmd.Stdout = os.Stdout
|
||||||
|
cmd.Stderr = os.Stderr
|
||||||
|
return cmd.Run()
|
||||||
|
}
|
||||||
|
|
||||||
|
// pullContainers pulls the containers using the appropriate command.
|
||||||
|
func pullContainers(containerType SupportedContainer) error {
|
||||||
|
fmt.Println("Pulling the container images...")
|
||||||
|
if containerType == Podman {
|
||||||
|
if err := run("podman-compose", "-f", "docker-compose.yml", "pull"); err != nil {
|
||||||
|
return fmt.Errorf("failed to pull the containers: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
if containerType == Docker {
|
||||||
|
if err := executeDockerComposeCommandWithArgs("-f", "docker-compose.yml", "pull", "--policy", "always"); err != nil {
|
||||||
|
return fmt.Errorf("failed to pull the containers: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
return fmt.Errorf("Unsupported container type: %s", containerType)
|
||||||
|
}
|
||||||
|
|
||||||
|
// startContainers starts the containers using the appropriate command.
|
||||||
|
func startContainers(containerType SupportedContainer) error {
|
||||||
|
fmt.Println("Starting containers...")
|
||||||
|
|
||||||
|
if containerType == Podman {
|
||||||
|
if err := run("podman-compose", "-f", "docker-compose.yml", "up", "-d", "--force-recreate"); err != nil {
|
||||||
|
return fmt.Errorf("failed start containers: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
if containerType == Docker {
|
||||||
|
if err := executeDockerComposeCommandWithArgs("-f", "docker-compose.yml", "up", "-d", "--force-recreate"); err != nil {
|
||||||
|
return fmt.Errorf("failed to start containers: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
return fmt.Errorf("Unsupported container type: %s", containerType)
|
||||||
|
}
|
||||||
|
|
||||||
|
// stopContainers stops the containers using the appropriate command.
|
||||||
|
func stopContainers(containerType SupportedContainer) error {
|
||||||
|
fmt.Println("Stopping containers...")
|
||||||
|
if containerType == Podman {
|
||||||
|
if err := run("podman-compose", "-f", "docker-compose.yml", "down"); err != nil {
|
||||||
|
return fmt.Errorf("failed to stop containers: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
if containerType == Docker {
|
||||||
|
if err := executeDockerComposeCommandWithArgs("-f", "docker-compose.yml", "down"); err != nil {
|
||||||
|
return fmt.Errorf("failed to stop containers: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
return fmt.Errorf("Unsupported container type: %s", containerType)
|
||||||
|
}
|
||||||
|
|
||||||
|
// restartContainer restarts a specific container using the appropriate command.
|
||||||
|
func restartContainer(container string, containerType SupportedContainer) error {
|
||||||
|
fmt.Println("Restarting containers...")
|
||||||
|
if containerType == Podman {
|
||||||
|
if err := run("podman-compose", "-f", "docker-compose.yml", "restart"); err != nil {
|
||||||
|
return fmt.Errorf("failed to stop the container \"%s\": %v", container, err)
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
if containerType == Docker {
|
||||||
|
if err := executeDockerComposeCommandWithArgs("-f", "docker-compose.yml", "restart", container); err != nil {
|
||||||
|
return fmt.Errorf("failed to stop the container \"%s\": %v", container, err)
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
return fmt.Errorf("Unsupported container type: %s", containerType)
|
||||||
|
}
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
module installer
|
module installer
|
||||||
|
|
||||||
go 1.23.0
|
go 1.24
|
||||||
|
|
||||||
require (
|
require (
|
||||||
golang.org/x/term v0.28.0
|
golang.org/x/term v0.34.0
|
||||||
gopkg.in/yaml.v3 v3.0.1
|
gopkg.in/yaml.v3 v3.0.1
|
||||||
)
|
)
|
||||||
|
|
||||||
require golang.org/x/sys v0.29.0 // indirect
|
require golang.org/x/sys v0.35.0 // indirect
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU=
|
golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI=
|
||||||
golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
|
||||||
golang.org/x/term v0.28.0 h1:/Ts8HFuMR2E6IP/jlo7QVLZHggjKQbhu/7H0LJFr3Gg=
|
golang.org/x/term v0.34.0 h1:O/2T7POpk0ZZ7MAzMeWFSg6S5IpWd/RXDlM9hgM3DR4=
|
||||||
golang.org/x/term v0.28.0/go.mod h1:Sw/lC2IAUZ92udQNf3WodGtn4k/XoLyZoh8v/8uiwek=
|
golang.org/x/term v0.34.0/go.mod h1:5jC53AEywhIVebHgPVeg0mj8OD3VO9OzclacVrqpaAw=
|
||||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
|
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
|
||||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||||
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
||||||
|
|||||||
74
install/input.go
Normal file
74
install/input.go
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bufio"
|
||||||
|
"fmt"
|
||||||
|
"strings"
|
||||||
|
"syscall"
|
||||||
|
|
||||||
|
"golang.org/x/term"
|
||||||
|
)
|
||||||
|
|
||||||
|
func readString(reader *bufio.Reader, prompt string, defaultValue string) string {
|
||||||
|
if defaultValue != "" {
|
||||||
|
fmt.Printf("%s (default: %s): ", prompt, defaultValue)
|
||||||
|
} else {
|
||||||
|
fmt.Print(prompt + ": ")
|
||||||
|
}
|
||||||
|
input, _ := reader.ReadString('\n')
|
||||||
|
input = strings.TrimSpace(input)
|
||||||
|
if input == "" {
|
||||||
|
return defaultValue
|
||||||
|
}
|
||||||
|
return input
|
||||||
|
}
|
||||||
|
|
||||||
|
func readStringNoDefault(reader *bufio.Reader, prompt string) string {
|
||||||
|
fmt.Print(prompt + ": ")
|
||||||
|
input, _ := reader.ReadString('\n')
|
||||||
|
return strings.TrimSpace(input)
|
||||||
|
}
|
||||||
|
|
||||||
|
func readPassword(prompt string, reader *bufio.Reader) string {
|
||||||
|
if term.IsTerminal(int(syscall.Stdin)) {
|
||||||
|
fmt.Print(prompt + ": ")
|
||||||
|
// Read password without echo if we're in a terminal
|
||||||
|
password, err := term.ReadPassword(int(syscall.Stdin))
|
||||||
|
fmt.Println() // Add a newline since ReadPassword doesn't add one
|
||||||
|
if err != nil {
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
input := strings.TrimSpace(string(password))
|
||||||
|
if input == "" {
|
||||||
|
return readPassword(prompt, reader)
|
||||||
|
}
|
||||||
|
return input
|
||||||
|
} else {
|
||||||
|
// Fallback to reading from stdin if not in a terminal
|
||||||
|
return readString(reader, prompt, "")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func readBool(reader *bufio.Reader, prompt string, defaultValue bool) bool {
|
||||||
|
defaultStr := "no"
|
||||||
|
if defaultValue {
|
||||||
|
defaultStr = "yes"
|
||||||
|
}
|
||||||
|
input := readString(reader, prompt+" (yes/no)", defaultStr)
|
||||||
|
return strings.ToLower(input) == "yes"
|
||||||
|
}
|
||||||
|
|
||||||
|
func readBoolNoDefault(reader *bufio.Reader, prompt string) bool {
|
||||||
|
input := readStringNoDefault(reader, prompt+" (yes/no)")
|
||||||
|
return strings.ToLower(input) == "yes"
|
||||||
|
}
|
||||||
|
|
||||||
|
func readInt(reader *bufio.Reader, prompt string, defaultValue int) int {
|
||||||
|
input := readString(reader, prompt, fmt.Sprintf("%d", defaultValue))
|
||||||
|
if input == "" {
|
||||||
|
return defaultValue
|
||||||
|
}
|
||||||
|
value := defaultValue
|
||||||
|
fmt.Sscanf(input, "%d", &value)
|
||||||
|
return value
|
||||||
|
}
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
docker
|
docker
|
||||||
example.com
|
example.com
|
||||||
pangolin.example.com
|
pangolin.example.com
|
||||||
|
yes
|
||||||
admin@example.com
|
admin@example.com
|
||||||
yes
|
yes
|
||||||
admin@example.com
|
admin@example.com
|
||||||
|
|||||||
859
install/main.go
859
install/main.go
@@ -10,16 +10,12 @@ import (
|
|||||||
"math/rand"
|
"math/rand"
|
||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"os/user"
|
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"runtime"
|
"runtime"
|
||||||
"strconv"
|
|
||||||
"strings"
|
"strings"
|
||||||
"syscall"
|
|
||||||
"text/template"
|
"text/template"
|
||||||
"time"
|
"time"
|
||||||
|
"net"
|
||||||
"golang.org/x/term"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// DO NOT EDIT THIS FUNCTION; IT MATCHED BY REGEX IN CICD
|
// DO NOT EDIT THIS FUNCTION; IT MATCHED BY REGEX IN CICD
|
||||||
@@ -39,6 +35,7 @@ type Config struct {
|
|||||||
BadgerVersion string
|
BadgerVersion string
|
||||||
BaseDomain string
|
BaseDomain string
|
||||||
DashboardDomain string
|
DashboardDomain string
|
||||||
|
EnableIPv6 bool
|
||||||
LetsEncryptEmail string
|
LetsEncryptEmail string
|
||||||
EnableEmail bool
|
EnableEmail bool
|
||||||
EmailSMTPHost string
|
EmailSMTPHost string
|
||||||
@@ -50,6 +47,9 @@ type Config struct {
|
|||||||
TraefikBouncerKey string
|
TraefikBouncerKey string
|
||||||
DoCrowdsecInstall bool
|
DoCrowdsecInstall bool
|
||||||
Secret string
|
Secret string
|
||||||
|
HybridMode bool
|
||||||
|
HybridId string
|
||||||
|
HybridSecret string
|
||||||
}
|
}
|
||||||
|
|
||||||
type SupportedContainer string
|
type SupportedContainer string
|
||||||
@@ -65,17 +65,178 @@ func main() {
|
|||||||
|
|
||||||
fmt.Println("Welcome to the Pangolin installer!")
|
fmt.Println("Welcome to the Pangolin installer!")
|
||||||
fmt.Println("This installer will help you set up Pangolin on your server.")
|
fmt.Println("This installer will help you set up Pangolin on your server.")
|
||||||
fmt.Println("")
|
fmt.Println("\nPlease make sure you have the following prerequisites:")
|
||||||
fmt.Println("Please make sure you have the following prerequisites:")
|
|
||||||
fmt.Println("- Open TCP ports 80 and 443 and UDP ports 51820 and 21820 on your VPS and firewall.")
|
fmt.Println("- Open TCP ports 80 and 443 and UDP ports 51820 and 21820 on your VPS and firewall.")
|
||||||
fmt.Println("- Point your domain to the VPS IP with A records.")
|
fmt.Println("\nLets get started!")
|
||||||
fmt.Println("")
|
|
||||||
fmt.Println("http://docs.fossorial.io/Getting%20Started/dns-networking")
|
if os.Geteuid() == 0 { // WE NEED TO BE SUDO TO CHECK THIS
|
||||||
fmt.Println("")
|
for _, p := range []int{80, 443} {
|
||||||
fmt.Println("Lets get started!")
|
if err := checkPortsAvailable(p); err != nil {
|
||||||
fmt.Println("")
|
fmt.Fprintln(os.Stderr, err)
|
||||||
|
|
||||||
|
fmt.Printf("Please close any services on ports 80/443 in order to run the installation smoothly")
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
reader := bufio.NewReader(os.Stdin)
|
reader := bufio.NewReader(os.Stdin)
|
||||||
|
|
||||||
|
var config Config
|
||||||
|
|
||||||
|
// check if there is already a config file
|
||||||
|
if _, err := os.Stat("config/config.yml"); err != nil {
|
||||||
|
config = collectUserInput(reader)
|
||||||
|
|
||||||
|
loadVersions(&config)
|
||||||
|
config.DoCrowdsecInstall = false
|
||||||
|
config.Secret = generateRandomSecretKey()
|
||||||
|
|
||||||
|
fmt.Println("\n=== Generating Configuration Files ===")
|
||||||
|
|
||||||
|
// If the secret and id are not generated then generate them
|
||||||
|
if config.HybridMode && (config.HybridId == "" || config.HybridSecret == "") {
|
||||||
|
// fmt.Println("Requesting hybrid credentials from cloud...")
|
||||||
|
credentials, err := requestHybridCredentials()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Printf("Error requesting hybrid credentials: %v\n", err)
|
||||||
|
fmt.Println("Please obtain credentials manually from the dashboard and run the installer again.")
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
config.HybridId = credentials.RemoteExitNodeId
|
||||||
|
config.HybridSecret = credentials.Secret
|
||||||
|
fmt.Printf("Your managed credentials have been obtained successfully.\n")
|
||||||
|
fmt.Printf(" ID: %s\n", config.HybridId)
|
||||||
|
fmt.Printf(" Secret: %s\n", config.HybridSecret)
|
||||||
|
fmt.Println("Take these to the Pangolin dashboard https://pangolin.fossorial.io to adopt your node.")
|
||||||
|
readBool(reader, "Have you adopted your node?", true)
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := createConfigFiles(config); err != nil {
|
||||||
|
fmt.Printf("Error creating config files: %v\n", err)
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
|
||||||
|
moveFile("config/docker-compose.yml", "docker-compose.yml")
|
||||||
|
|
||||||
|
fmt.Println("\nConfiguration files created successfully!")
|
||||||
|
|
||||||
|
fmt.Println("\n=== Starting installation ===")
|
||||||
|
|
||||||
|
if readBool(reader, "Would you like to install and start the containers?", true) {
|
||||||
|
|
||||||
|
config.InstallationContainerType = podmanOrDocker(reader)
|
||||||
|
|
||||||
|
if !isDockerInstalled() && runtime.GOOS == "linux" && config.InstallationContainerType == Docker {
|
||||||
|
if readBool(reader, "Docker is not installed. Would you like to install it?", true) {
|
||||||
|
installDocker()
|
||||||
|
// try to start docker service but ignore errors
|
||||||
|
if err := startDockerService(); err != nil {
|
||||||
|
fmt.Println("Error starting Docker service:", err)
|
||||||
|
} else {
|
||||||
|
fmt.Println("Docker service started successfully!")
|
||||||
|
}
|
||||||
|
// wait 10 seconds for docker to start checking if docker is running every 2 seconds
|
||||||
|
fmt.Println("Waiting for Docker to start...")
|
||||||
|
for i := 0; i < 5; i++ {
|
||||||
|
if isDockerRunning() {
|
||||||
|
fmt.Println("Docker is running!")
|
||||||
|
break
|
||||||
|
}
|
||||||
|
fmt.Println("Docker is not running yet, waiting...")
|
||||||
|
time.Sleep(2 * time.Second)
|
||||||
|
}
|
||||||
|
if !isDockerRunning() {
|
||||||
|
fmt.Println("Docker is still not running after 10 seconds. Please check the installation.")
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
fmt.Println("Docker installed successfully!")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := pullContainers(config.InstallationContainerType); err != nil {
|
||||||
|
fmt.Println("Error: ", err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := startContainers(config.InstallationContainerType); err != nil {
|
||||||
|
fmt.Println("Error: ", err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
} else {
|
||||||
|
fmt.Println("Looks like you already installed Pangolin!")
|
||||||
|
}
|
||||||
|
|
||||||
|
if !checkIsCrowdsecInstalledInCompose() && !checkIsPangolinInstalledWithHybrid() {
|
||||||
|
fmt.Println("\n=== CrowdSec Install ===")
|
||||||
|
// check if crowdsec is installed
|
||||||
|
if readBool(reader, "Would you like to install CrowdSec?", false) {
|
||||||
|
fmt.Println("This installer constitutes a minimal viable CrowdSec deployment. CrowdSec will add extra complexity to your Pangolin installation and may not work to the best of its abilities out of the box. Users are expected to implement configuration adjustments on their own to achieve the best security posture. Consult the CrowdSec documentation for detailed configuration instructions.")
|
||||||
|
|
||||||
|
// BUG: crowdsec installation will be skipped if the user chooses to install on the first installation.
|
||||||
|
if readBool(reader, "Are you willing to manage CrowdSec?", false) {
|
||||||
|
if config.DashboardDomain == "" {
|
||||||
|
traefikConfig, err := ReadTraefikConfig("config/traefik/traefik_config.yml")
|
||||||
|
if err != nil {
|
||||||
|
fmt.Printf("Error reading config: %v\n", err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
appConfig, err := ReadAppConfig("config/config.yml")
|
||||||
|
if err != nil {
|
||||||
|
fmt.Printf("Error reading config: %v\n", err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
config.DashboardDomain = appConfig.DashboardURL
|
||||||
|
config.LetsEncryptEmail = traefikConfig.LetsEncryptEmail
|
||||||
|
config.BadgerVersion = traefikConfig.BadgerVersion
|
||||||
|
|
||||||
|
// print the values and check if they are right
|
||||||
|
fmt.Println("Detected values:")
|
||||||
|
fmt.Printf("Dashboard Domain: %s\n", config.DashboardDomain)
|
||||||
|
fmt.Printf("Let's Encrypt Email: %s\n", config.LetsEncryptEmail)
|
||||||
|
fmt.Printf("Badger Version: %s\n", config.BadgerVersion)
|
||||||
|
|
||||||
|
if !readBool(reader, "Are these values correct?", true) {
|
||||||
|
config = collectUserInput(reader)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
config.DoCrowdsecInstall = true
|
||||||
|
installCrowdsec(config)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if !config.HybridMode {
|
||||||
|
// Setup Token Section
|
||||||
|
fmt.Println("\n=== Setup Token ===")
|
||||||
|
|
||||||
|
// Check if containers were started during this installation
|
||||||
|
containersStarted := false
|
||||||
|
if (isDockerInstalled() && config.InstallationContainerType == Docker) ||
|
||||||
|
(isPodmanInstalled() && config.InstallationContainerType == Podman) {
|
||||||
|
// Try to fetch and display the token if containers are running
|
||||||
|
containersStarted = true
|
||||||
|
printSetupToken(config.InstallationContainerType, config.DashboardDomain)
|
||||||
|
}
|
||||||
|
|
||||||
|
// If containers weren't started or token wasn't found, show instructions
|
||||||
|
if !containersStarted {
|
||||||
|
showSetupTokenInstructions(config.InstallationContainerType, config.DashboardDomain)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fmt.Println("\nInstallation complete!")
|
||||||
|
|
||||||
|
if !config.HybridMode && !checkIsPangolinInstalledWithHybrid() {
|
||||||
|
fmt.Printf("\nTo complete the initial setup, please visit:\nhttps://%s/auth/initial-setup\n", config.DashboardDomain)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func podmanOrDocker(reader *bufio.Reader) SupportedContainer {
|
||||||
inputContainer := readString(reader, "Would you like to run Pangolin as Docker or Podman containers?", "docker")
|
inputContainer := readString(reader, "Would you like to run Pangolin as Docker or Podman containers?", "docker")
|
||||||
|
|
||||||
chosenContainer := Docker
|
chosenContainer := Docker
|
||||||
@@ -139,161 +300,7 @@ func main() {
|
|||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
var config Config
|
return chosenContainer
|
||||||
config.InstallationContainerType = chosenContainer
|
|
||||||
|
|
||||||
// check if there is already a config file
|
|
||||||
if _, err := os.Stat("config/config.yml"); err != nil {
|
|
||||||
config = collectUserInput(reader)
|
|
||||||
|
|
||||||
loadVersions(&config)
|
|
||||||
config.DoCrowdsecInstall = false
|
|
||||||
config.Secret = generateRandomSecretKey()
|
|
||||||
|
|
||||||
if err := createConfigFiles(config); err != nil {
|
|
||||||
fmt.Printf("Error creating config files: %v\n", err)
|
|
||||||
os.Exit(1)
|
|
||||||
}
|
|
||||||
|
|
||||||
moveFile("config/docker-compose.yml", "docker-compose.yml")
|
|
||||||
|
|
||||||
if !isDockerInstalled() && runtime.GOOS == "linux" && chosenContainer == Docker {
|
|
||||||
if readBool(reader, "Docker is not installed. Would you like to install it?", true) {
|
|
||||||
installDocker()
|
|
||||||
// try to start docker service but ignore errors
|
|
||||||
if err := startDockerService(); err != nil {
|
|
||||||
fmt.Println("Error starting Docker service:", err)
|
|
||||||
} else {
|
|
||||||
fmt.Println("Docker service started successfully!")
|
|
||||||
}
|
|
||||||
// wait 10 seconds for docker to start checking if docker is running every 2 seconds
|
|
||||||
fmt.Println("Waiting for Docker to start...")
|
|
||||||
for i := 0; i < 5; i++ {
|
|
||||||
if isDockerRunning() {
|
|
||||||
fmt.Println("Docker is running!")
|
|
||||||
break
|
|
||||||
}
|
|
||||||
fmt.Println("Docker is not running yet, waiting...")
|
|
||||||
time.Sleep(2 * time.Second)
|
|
||||||
}
|
|
||||||
if !isDockerRunning() {
|
|
||||||
fmt.Println("Docker is still not running after 10 seconds. Please check the installation.")
|
|
||||||
os.Exit(1)
|
|
||||||
}
|
|
||||||
fmt.Println("Docker installed successfully!")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fmt.Println("\n=== Starting installation ===")
|
|
||||||
|
|
||||||
if (isDockerInstalled() && chosenContainer == Docker) ||
|
|
||||||
(isPodmanInstalled() && chosenContainer == Podman) {
|
|
||||||
if readBool(reader, "Would you like to install and start the containers?", true) {
|
|
||||||
if err := pullContainers(chosenContainer); err != nil {
|
|
||||||
fmt.Println("Error: ", err)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
if err := startContainers(chosenContainer); err != nil {
|
|
||||||
fmt.Println("Error: ", err)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
fmt.Println("Looks like you already installed, so I am going to do the setup...")
|
|
||||||
}
|
|
||||||
|
|
||||||
if !checkIsCrowdsecInstalledInCompose() {
|
|
||||||
fmt.Println("\n=== CrowdSec Install ===")
|
|
||||||
// check if crowdsec is installed
|
|
||||||
if readBool(reader, "Would you like to install CrowdSec?", false) {
|
|
||||||
fmt.Println("This installer constitutes a minimal viable CrowdSec deployment. CrowdSec will add extra complexity to your Pangolin installation and may not work to the best of its abilities out of the box. Users are expected to implement configuration adjustments on their own to achieve the best security posture. Consult the CrowdSec documentation for detailed configuration instructions.")
|
|
||||||
|
|
||||||
// BUG: crowdsec installation will be skipped if the user chooses to install on the first installation.
|
|
||||||
if readBool(reader, "Are you willing to manage CrowdSec?", false) {
|
|
||||||
if config.DashboardDomain == "" {
|
|
||||||
traefikConfig, err := ReadTraefikConfig("config/traefik/traefik_config.yml", "config/traefik/dynamic_config.yml")
|
|
||||||
if err != nil {
|
|
||||||
fmt.Printf("Error reading config: %v\n", err)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
config.DashboardDomain = traefikConfig.DashboardDomain
|
|
||||||
config.LetsEncryptEmail = traefikConfig.LetsEncryptEmail
|
|
||||||
config.BadgerVersion = traefikConfig.BadgerVersion
|
|
||||||
|
|
||||||
// print the values and check if they are right
|
|
||||||
fmt.Println("Detected values:")
|
|
||||||
fmt.Printf("Dashboard Domain: %s\n", config.DashboardDomain)
|
|
||||||
fmt.Printf("Let's Encrypt Email: %s\n", config.LetsEncryptEmail)
|
|
||||||
fmt.Printf("Badger Version: %s\n", config.BadgerVersion)
|
|
||||||
|
|
||||||
if !readBool(reader, "Are these values correct?", true) {
|
|
||||||
config = collectUserInput(reader)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
config.DoCrowdsecInstall = true
|
|
||||||
installCrowdsec(config)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fmt.Println("Installation complete!")
|
|
||||||
fmt.Printf("\nTo complete the initial setup, please visit:\nhttps://%s/auth/initial-setup\n", config.DashboardDomain)
|
|
||||||
}
|
|
||||||
|
|
||||||
func readString(reader *bufio.Reader, prompt string, defaultValue string) string {
|
|
||||||
if defaultValue != "" {
|
|
||||||
fmt.Printf("%s (default: %s): ", prompt, defaultValue)
|
|
||||||
} else {
|
|
||||||
fmt.Print(prompt + ": ")
|
|
||||||
}
|
|
||||||
input, _ := reader.ReadString('\n')
|
|
||||||
input = strings.TrimSpace(input)
|
|
||||||
if input == "" {
|
|
||||||
return defaultValue
|
|
||||||
}
|
|
||||||
return input
|
|
||||||
}
|
|
||||||
|
|
||||||
func readPassword(prompt string, reader *bufio.Reader) string {
|
|
||||||
if term.IsTerminal(int(syscall.Stdin)) {
|
|
||||||
fmt.Print(prompt + ": ")
|
|
||||||
// Read password without echo if we're in a terminal
|
|
||||||
password, err := term.ReadPassword(int(syscall.Stdin))
|
|
||||||
fmt.Println() // Add a newline since ReadPassword doesn't add one
|
|
||||||
if err != nil {
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
input := strings.TrimSpace(string(password))
|
|
||||||
if input == "" {
|
|
||||||
return readPassword(prompt, reader)
|
|
||||||
}
|
|
||||||
return input
|
|
||||||
} else {
|
|
||||||
// Fallback to reading from stdin if not in a terminal
|
|
||||||
return readString(reader, prompt, "")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func readBool(reader *bufio.Reader, prompt string, defaultValue bool) bool {
|
|
||||||
defaultStr := "no"
|
|
||||||
if defaultValue {
|
|
||||||
defaultStr = "yes"
|
|
||||||
}
|
|
||||||
input := readString(reader, prompt+" (yes/no)", defaultStr)
|
|
||||||
return strings.ToLower(input) == "yes"
|
|
||||||
}
|
|
||||||
|
|
||||||
func readInt(reader *bufio.Reader, prompt string, defaultValue int) int {
|
|
||||||
input := readString(reader, prompt, fmt.Sprintf("%d", defaultValue))
|
|
||||||
if input == "" {
|
|
||||||
return defaultValue
|
|
||||||
}
|
|
||||||
value := defaultValue
|
|
||||||
fmt.Sscanf(input, "%d", &value)
|
|
||||||
return value
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func collectUserInput(reader *bufio.Reader) Config {
|
func collectUserInput(reader *bufio.Reader) Config {
|
||||||
@@ -301,36 +308,73 @@ func collectUserInput(reader *bufio.Reader) Config {
|
|||||||
|
|
||||||
// Basic configuration
|
// Basic configuration
|
||||||
fmt.Println("\n=== Basic Configuration ===")
|
fmt.Println("\n=== Basic Configuration ===")
|
||||||
config.BaseDomain = readString(reader, "Enter your base domain (no subdomain e.g. example.com)", "")
|
for {
|
||||||
config.DashboardDomain = readString(reader, "Enter the domain for the Pangolin dashboard", "pangolin."+config.BaseDomain)
|
response := readString(reader, "Do you want to install Pangolin as a cloud-managed (beta) node? (yes/no)", "")
|
||||||
config.LetsEncryptEmail = readString(reader, "Enter email for Let's Encrypt certificates", "")
|
if strings.EqualFold(response, "yes") || strings.EqualFold(response, "y") {
|
||||||
config.InstallGerbil = readBool(reader, "Do you want to use Gerbil to allow tunneled connections", true)
|
config.HybridMode = true
|
||||||
|
break
|
||||||
// Email configuration
|
} else if strings.EqualFold(response, "no") || strings.EqualFold(response, "n") {
|
||||||
fmt.Println("\n=== Email Configuration ===")
|
config.HybridMode = false
|
||||||
config.EnableEmail = readBool(reader, "Enable email functionality (SMTP)", false)
|
break
|
||||||
|
}
|
||||||
if config.EnableEmail {
|
fmt.Println("Please answer 'yes' or 'no'")
|
||||||
config.EmailSMTPHost = readString(reader, "Enter SMTP host", "")
|
|
||||||
config.EmailSMTPPort = readInt(reader, "Enter SMTP port (default 587)", 587)
|
|
||||||
config.EmailSMTPUser = readString(reader, "Enter SMTP username", "")
|
|
||||||
config.EmailSMTPPass = readString(reader, "Enter SMTP password", "") // Should this be readPassword?
|
|
||||||
config.EmailNoReply = readString(reader, "Enter no-reply email address", "")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Validate required fields
|
if config.HybridMode {
|
||||||
if config.BaseDomain == "" {
|
alreadyHaveCreds := readBool(reader, "Do you already have credentials from the dashboard? If not, we will create them later", false)
|
||||||
fmt.Println("Error: Domain name is required")
|
|
||||||
os.Exit(1)
|
if alreadyHaveCreds {
|
||||||
|
config.HybridId = readString(reader, "Enter your ID", "")
|
||||||
|
config.HybridSecret = readString(reader, "Enter your secret", "")
|
||||||
|
}
|
||||||
|
|
||||||
|
config.DashboardDomain = readString(reader, "The public addressable IP address for this node or a domain pointing to it", "")
|
||||||
|
config.InstallGerbil = true
|
||||||
|
} else {
|
||||||
|
config.BaseDomain = readString(reader, "Enter your base domain (no subdomain e.g. example.com)", "")
|
||||||
|
|
||||||
|
// Set default dashboard domain after base domain is collected
|
||||||
|
defaultDashboardDomain := ""
|
||||||
|
if config.BaseDomain != "" {
|
||||||
|
defaultDashboardDomain = "pangolin." + config.BaseDomain
|
||||||
|
}
|
||||||
|
config.DashboardDomain = readString(reader, "Enter the domain for the Pangolin dashboard", defaultDashboardDomain)
|
||||||
|
config.LetsEncryptEmail = readString(reader, "Enter email for Let's Encrypt certificates", "")
|
||||||
|
config.InstallGerbil = readBool(reader, "Do you want to use Gerbil to allow tunneled connections", true)
|
||||||
|
|
||||||
|
// Email configuration
|
||||||
|
fmt.Println("\n=== Email Configuration ===")
|
||||||
|
config.EnableEmail = readBool(reader, "Enable email functionality (SMTP)", false)
|
||||||
|
|
||||||
|
if config.EnableEmail {
|
||||||
|
config.EmailSMTPHost = readString(reader, "Enter SMTP host", "")
|
||||||
|
config.EmailSMTPPort = readInt(reader, "Enter SMTP port (default 587)", 587)
|
||||||
|
config.EmailSMTPUser = readString(reader, "Enter SMTP username", "")
|
||||||
|
config.EmailSMTPPass = readString(reader, "Enter SMTP password", "") // Should this be readPassword?
|
||||||
|
config.EmailNoReply = readString(reader, "Enter no-reply email address", "")
|
||||||
|
}
|
||||||
|
|
||||||
|
// Validate required fields
|
||||||
|
if config.BaseDomain == "" {
|
||||||
|
fmt.Println("Error: Domain name is required")
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
if config.LetsEncryptEmail == "" {
|
||||||
|
fmt.Println("Error: Let's Encrypt email is required")
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Advanced configuration
|
||||||
|
|
||||||
|
fmt.Println("\n=== Advanced Configuration ===")
|
||||||
|
|
||||||
|
config.EnableIPv6 = readBool(reader, "Is your server IPv6 capable?", true)
|
||||||
|
|
||||||
if config.DashboardDomain == "" {
|
if config.DashboardDomain == "" {
|
||||||
fmt.Println("Error: Dashboard Domain name is required")
|
fmt.Println("Error: Dashboard Domain name is required")
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
if config.LetsEncryptEmail == "" {
|
|
||||||
fmt.Println("Error: Let's Encrypt email is required")
|
|
||||||
os.Exit(1)
|
|
||||||
}
|
|
||||||
|
|
||||||
return config
|
return config
|
||||||
}
|
}
|
||||||
@@ -360,6 +404,11 @@ func createConfigFiles(config Config) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// the hybrid does not need the dynamic config
|
||||||
|
if config.HybridMode && strings.Contains(path, "dynamic_config.yml") {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
// skip .DS_Store
|
// skip .DS_Store
|
||||||
if strings.Contains(path, ".DS_Store") {
|
if strings.Contains(path, ".DS_Store") {
|
||||||
return nil
|
return nil
|
||||||
@@ -411,297 +460,6 @@ func createConfigFiles(config Config) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func installDocker() error {
|
|
||||||
// Detect Linux distribution
|
|
||||||
cmd := exec.Command("cat", "/etc/os-release")
|
|
||||||
output, err := cmd.Output()
|
|
||||||
if err != nil {
|
|
||||||
return fmt.Errorf("failed to detect Linux distribution: %v", err)
|
|
||||||
}
|
|
||||||
osRelease := string(output)
|
|
||||||
|
|
||||||
// Detect system architecture
|
|
||||||
archCmd := exec.Command("uname", "-m")
|
|
||||||
archOutput, err := archCmd.Output()
|
|
||||||
if err != nil {
|
|
||||||
return fmt.Errorf("failed to detect system architecture: %v", err)
|
|
||||||
}
|
|
||||||
arch := strings.TrimSpace(string(archOutput))
|
|
||||||
|
|
||||||
// Map architecture to Docker's architecture naming
|
|
||||||
var dockerArch string
|
|
||||||
switch arch {
|
|
||||||
case "x86_64":
|
|
||||||
dockerArch = "amd64"
|
|
||||||
case "aarch64":
|
|
||||||
dockerArch = "arm64"
|
|
||||||
default:
|
|
||||||
return fmt.Errorf("unsupported architecture: %s", arch)
|
|
||||||
}
|
|
||||||
|
|
||||||
var installCmd *exec.Cmd
|
|
||||||
switch {
|
|
||||||
case strings.Contains(osRelease, "ID=ubuntu"):
|
|
||||||
installCmd = exec.Command("bash", "-c", fmt.Sprintf(`
|
|
||||||
apt-get update &&
|
|
||||||
apt-get install -y apt-transport-https ca-certificates curl software-properties-common &&
|
|
||||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg &&
|
|
||||||
echo "deb [arch=%s signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list &&
|
|
||||||
apt-get update &&
|
|
||||||
apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
|
||||||
`, dockerArch))
|
|
||||||
case strings.Contains(osRelease, "ID=debian"):
|
|
||||||
installCmd = exec.Command("bash", "-c", fmt.Sprintf(`
|
|
||||||
apt-get update &&
|
|
||||||
apt-get install -y apt-transport-https ca-certificates curl software-properties-common &&
|
|
||||||
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg &&
|
|
||||||
echo "deb [arch=%s signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list &&
|
|
||||||
apt-get update &&
|
|
||||||
apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
|
||||||
`, dockerArch))
|
|
||||||
case strings.Contains(osRelease, "ID=fedora"):
|
|
||||||
// Detect Fedora version to handle DNF 5 changes
|
|
||||||
versionCmd := exec.Command("bash", "-c", "grep VERSION_ID /etc/os-release | cut -d'=' -f2 | tr -d '\"'")
|
|
||||||
versionOutput, err := versionCmd.Output()
|
|
||||||
var fedoraVersion int
|
|
||||||
if err == nil {
|
|
||||||
if v, parseErr := strconv.Atoi(strings.TrimSpace(string(versionOutput))); parseErr == nil {
|
|
||||||
fedoraVersion = v
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Use appropriate DNF syntax based on version
|
|
||||||
var repoCmd string
|
|
||||||
if fedoraVersion >= 41 {
|
|
||||||
// DNF 5 syntax for Fedora 41+
|
|
||||||
repoCmd = "dnf config-manager addrepo --from-repofile=https://download.docker.com/linux/fedora/docker-ce.repo"
|
|
||||||
} else {
|
|
||||||
// DNF 4 syntax for Fedora < 41
|
|
||||||
repoCmd = "dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo"
|
|
||||||
}
|
|
||||||
|
|
||||||
installCmd = exec.Command("bash", "-c", fmt.Sprintf(`
|
|
||||||
dnf -y install dnf-plugins-core &&
|
|
||||||
%s &&
|
|
||||||
dnf install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
|
||||||
`, repoCmd))
|
|
||||||
case strings.Contains(osRelease, "ID=opensuse") || strings.Contains(osRelease, "ID=\"opensuse-"):
|
|
||||||
installCmd = exec.Command("bash", "-c", `
|
|
||||||
zypper install -y docker docker-compose &&
|
|
||||||
systemctl enable docker
|
|
||||||
`)
|
|
||||||
case strings.Contains(osRelease, "ID=rhel") || strings.Contains(osRelease, "ID=\"rhel"):
|
|
||||||
installCmd = exec.Command("bash", "-c", `
|
|
||||||
dnf remove -y runc &&
|
|
||||||
dnf -y install yum-utils &&
|
|
||||||
dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo &&
|
|
||||||
dnf install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin &&
|
|
||||||
systemctl enable docker
|
|
||||||
`)
|
|
||||||
case strings.Contains(osRelease, "ID=amzn"):
|
|
||||||
installCmd = exec.Command("bash", "-c", `
|
|
||||||
yum update -y &&
|
|
||||||
yum install -y docker &&
|
|
||||||
systemctl enable docker &&
|
|
||||||
usermod -a -G docker ec2-user
|
|
||||||
`)
|
|
||||||
default:
|
|
||||||
return fmt.Errorf("unsupported Linux distribution")
|
|
||||||
}
|
|
||||||
|
|
||||||
installCmd.Stdout = os.Stdout
|
|
||||||
installCmd.Stderr = os.Stderr
|
|
||||||
return installCmd.Run()
|
|
||||||
}
|
|
||||||
|
|
||||||
func startDockerService() error {
|
|
||||||
if runtime.GOOS == "linux" {
|
|
||||||
cmd := exec.Command("systemctl", "enable", "--now", "docker")
|
|
||||||
cmd.Stdout = os.Stdout
|
|
||||||
cmd.Stderr = os.Stderr
|
|
||||||
return cmd.Run()
|
|
||||||
} else if runtime.GOOS == "darwin" {
|
|
||||||
// On macOS, Docker is usually started via the Docker Desktop application
|
|
||||||
fmt.Println("Please start Docker Desktop manually on macOS.")
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
return fmt.Errorf("unsupported operating system for starting Docker service")
|
|
||||||
}
|
|
||||||
|
|
||||||
func isDockerInstalled() bool {
|
|
||||||
return isContainerInstalled("docker")
|
|
||||||
}
|
|
||||||
|
|
||||||
func isPodmanInstalled() bool {
|
|
||||||
return isContainerInstalled("podman") && isContainerInstalled("podman-compose")
|
|
||||||
}
|
|
||||||
|
|
||||||
func isContainerInstalled(container string) bool {
|
|
||||||
cmd := exec.Command(container, "--version")
|
|
||||||
if err := cmd.Run(); err != nil {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
|
|
||||||
func isUserInDockerGroup() bool {
|
|
||||||
if runtime.GOOS == "darwin" {
|
|
||||||
// Docker group is not applicable on macOS
|
|
||||||
// So we assume that the user can run Docker commands
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
|
|
||||||
if os.Geteuid() == 0 {
|
|
||||||
return true // Root user can run Docker commands anyway
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check if the current user is in the docker group
|
|
||||||
if dockerGroup, err := user.LookupGroup("docker"); err == nil {
|
|
||||||
if currentUser, err := user.Current(); err == nil {
|
|
||||||
if currentUserGroupIds, err := currentUser.GroupIds(); err == nil {
|
|
||||||
for _, groupId := range currentUserGroupIds {
|
|
||||||
if groupId == dockerGroup.Gid {
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Eventually, if any of the checks fail, we assume the user cannot run Docker commands
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
// isDockerRunning checks if the Docker daemon is running by using the `docker info` command.
|
|
||||||
func isDockerRunning() bool {
|
|
||||||
cmd := exec.Command("docker", "info")
|
|
||||||
if err := cmd.Run(); err != nil {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
|
|
||||||
// executeDockerComposeCommandWithArgs executes the appropriate docker command with arguments supplied
|
|
||||||
func executeDockerComposeCommandWithArgs(args ...string) error {
|
|
||||||
var cmd *exec.Cmd
|
|
||||||
var useNewStyle bool
|
|
||||||
|
|
||||||
if !isDockerInstalled() {
|
|
||||||
return fmt.Errorf("docker is not installed")
|
|
||||||
}
|
|
||||||
|
|
||||||
checkCmd := exec.Command("docker", "compose", "version")
|
|
||||||
if err := checkCmd.Run(); err == nil {
|
|
||||||
useNewStyle = true
|
|
||||||
} else {
|
|
||||||
checkCmd = exec.Command("docker-compose", "version")
|
|
||||||
if err := checkCmd.Run(); err == nil {
|
|
||||||
useNewStyle = false
|
|
||||||
} else {
|
|
||||||
return fmt.Errorf("neither 'docker compose' nor 'docker-compose' command is available")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if useNewStyle {
|
|
||||||
cmd = exec.Command("docker", append([]string{"compose"}, args...)...)
|
|
||||||
} else {
|
|
||||||
cmd = exec.Command("docker-compose", args...)
|
|
||||||
}
|
|
||||||
|
|
||||||
cmd.Stdout = os.Stdout
|
|
||||||
cmd.Stderr = os.Stderr
|
|
||||||
return cmd.Run()
|
|
||||||
}
|
|
||||||
|
|
||||||
// pullContainers pulls the containers using the appropriate command.
|
|
||||||
func pullContainers(containerType SupportedContainer) error {
|
|
||||||
fmt.Println("Pulling the container images...")
|
|
||||||
if containerType == Podman {
|
|
||||||
if err := run("podman-compose", "-f", "docker-compose.yml", "pull"); err != nil {
|
|
||||||
return fmt.Errorf("failed to pull the containers: %v", err)
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
if containerType == Docker {
|
|
||||||
if err := executeDockerComposeCommandWithArgs("-f", "docker-compose.yml", "pull", "--policy", "always"); err != nil {
|
|
||||||
return fmt.Errorf("failed to pull the containers: %v", err)
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
return fmt.Errorf("Unsupported container type: %s", containerType)
|
|
||||||
}
|
|
||||||
|
|
||||||
// startContainers starts the containers using the appropriate command.
|
|
||||||
func startContainers(containerType SupportedContainer) error {
|
|
||||||
fmt.Println("Starting containers...")
|
|
||||||
|
|
||||||
if containerType == Podman {
|
|
||||||
if err := run("podman-compose", "-f", "docker-compose.yml", "up", "-d", "--force-recreate"); err != nil {
|
|
||||||
return fmt.Errorf("failed start containers: %v", err)
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
if containerType == Docker {
|
|
||||||
if err := executeDockerComposeCommandWithArgs("-f", "docker-compose.yml", "up", "-d", "--force-recreate"); err != nil {
|
|
||||||
return fmt.Errorf("failed to start containers: %v", err)
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
return fmt.Errorf("Unsupported container type: %s", containerType)
|
|
||||||
}
|
|
||||||
|
|
||||||
// stopContainers stops the containers using the appropriate command.
|
|
||||||
func stopContainers(containerType SupportedContainer) error {
|
|
||||||
fmt.Println("Stopping containers...")
|
|
||||||
if containerType == Podman {
|
|
||||||
if err := run("podman-compose", "-f", "docker-compose.yml", "down"); err != nil {
|
|
||||||
return fmt.Errorf("failed to stop containers: %v", err)
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
if containerType == Docker {
|
|
||||||
if err := executeDockerComposeCommandWithArgs("-f", "docker-compose.yml", "down"); err != nil {
|
|
||||||
return fmt.Errorf("failed to stop containers: %v", err)
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
return fmt.Errorf("Unsupported container type: %s", containerType)
|
|
||||||
}
|
|
||||||
|
|
||||||
// restartContainer restarts a specific container using the appropriate command.
|
|
||||||
func restartContainer(container string, containerType SupportedContainer) error {
|
|
||||||
fmt.Println("Restarting containers...")
|
|
||||||
if containerType == Podman {
|
|
||||||
if err := run("podman-compose", "-f", "docker-compose.yml", "restart"); err != nil {
|
|
||||||
return fmt.Errorf("failed to stop the container \"%s\": %v", container, err)
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
if containerType == Docker {
|
|
||||||
if err := executeDockerComposeCommandWithArgs("-f", "docker-compose.yml", "restart", container); err != nil {
|
|
||||||
return fmt.Errorf("failed to stop the container \"%s\": %v", container, err)
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
return fmt.Errorf("Unsupported container type: %s", containerType)
|
|
||||||
}
|
|
||||||
|
|
||||||
func copyFile(src, dst string) error {
|
func copyFile(src, dst string) error {
|
||||||
source, err := os.Open(src)
|
source, err := os.Open(src)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -727,32 +485,89 @@ func moveFile(src, dst string) error {
|
|||||||
return os.Remove(src)
|
return os.Remove(src)
|
||||||
}
|
}
|
||||||
|
|
||||||
func waitForContainer(containerName string, containerType SupportedContainer) error {
|
func printSetupToken(containerType SupportedContainer, dashboardDomain string) {
|
||||||
maxAttempts := 30
|
fmt.Println("Waiting for Pangolin to generate setup token...")
|
||||||
retryInterval := time.Second * 2
|
|
||||||
|
|
||||||
for attempt := 0; attempt < maxAttempts; attempt++ {
|
// Wait for Pangolin to be healthy
|
||||||
// Check if container is running
|
if err := waitForContainer("pangolin", containerType); err != nil {
|
||||||
cmd := exec.Command(string(containerType), "container", "inspect", "-f", "{{.State.Running}}", containerName)
|
fmt.Println("Warning: Pangolin container did not become healthy in time.")
|
||||||
var out bytes.Buffer
|
return
|
||||||
cmd.Stdout = &out
|
|
||||||
|
|
||||||
if err := cmd.Run(); err != nil {
|
|
||||||
// If the container doesn't exist or there's another error, wait and retry
|
|
||||||
time.Sleep(retryInterval)
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
isRunning := strings.TrimSpace(out.String()) == "true"
|
|
||||||
if isRunning {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
// Container exists but isn't running yet, wait and retry
|
|
||||||
time.Sleep(retryInterval)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return fmt.Errorf("container %s did not start within %v seconds", containerName, maxAttempts*int(retryInterval.Seconds()))
|
// Give a moment for the setup token to be generated
|
||||||
|
time.Sleep(2 * time.Second)
|
||||||
|
|
||||||
|
// Fetch logs
|
||||||
|
var cmd *exec.Cmd
|
||||||
|
if containerType == Docker {
|
||||||
|
cmd = exec.Command("docker", "logs", "pangolin")
|
||||||
|
} else {
|
||||||
|
cmd = exec.Command("podman", "logs", "pangolin")
|
||||||
|
}
|
||||||
|
output, err := cmd.Output()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Println("Warning: Could not fetch Pangolin logs to find setup token.")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
// Parse for setup token
|
||||||
|
lines := strings.Split(string(output), "\n")
|
||||||
|
for i, line := range lines {
|
||||||
|
if strings.Contains(line, "=== SETUP TOKEN GENERATED ===") || strings.Contains(line, "=== SETUP TOKEN EXISTS ===") {
|
||||||
|
// Look for "Token: ..." in the next few lines
|
||||||
|
for j := i + 1; j < i+5 && j < len(lines); j++ {
|
||||||
|
trimmedLine := strings.TrimSpace(lines[j])
|
||||||
|
if strings.Contains(trimmedLine, "Token:") {
|
||||||
|
// Extract token after "Token:"
|
||||||
|
tokenStart := strings.Index(trimmedLine, "Token:")
|
||||||
|
if tokenStart != -1 {
|
||||||
|
token := strings.TrimSpace(trimmedLine[tokenStart+6:])
|
||||||
|
fmt.Printf("Setup token: %s\n", token)
|
||||||
|
fmt.Println("")
|
||||||
|
fmt.Println("This token is required to register the first admin account in the web UI at:")
|
||||||
|
fmt.Printf("https://%s/auth/initial-setup\n", dashboardDomain)
|
||||||
|
fmt.Println("")
|
||||||
|
fmt.Println("Save this token securely. It will be invalid after the first admin is created.")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
fmt.Println("Warning: Could not find a setup token in Pangolin logs.")
|
||||||
|
}
|
||||||
|
|
||||||
|
func showSetupTokenInstructions(containerType SupportedContainer, dashboardDomain string) {
|
||||||
|
fmt.Println("\n=== Setup Token Instructions ===")
|
||||||
|
fmt.Println("To get your setup token, you need to:")
|
||||||
|
fmt.Println("")
|
||||||
|
fmt.Println("1. Start the containers:")
|
||||||
|
if containerType == Docker {
|
||||||
|
fmt.Println(" docker-compose up -d")
|
||||||
|
} else {
|
||||||
|
fmt.Println(" podman-compose up -d")
|
||||||
|
}
|
||||||
|
fmt.Println("")
|
||||||
|
fmt.Println("2. Wait for the Pangolin container to start and generate the token")
|
||||||
|
fmt.Println("")
|
||||||
|
fmt.Println("3. Check the container logs for the setup token:")
|
||||||
|
if containerType == Docker {
|
||||||
|
fmt.Println(" docker logs pangolin | grep -A 2 -B 2 'SETUP TOKEN'")
|
||||||
|
} else {
|
||||||
|
fmt.Println(" podman logs pangolin | grep -A 2 -B 2 'SETUP TOKEN'")
|
||||||
|
}
|
||||||
|
fmt.Println("")
|
||||||
|
fmt.Println("4. Look for output like:")
|
||||||
|
fmt.Println(" === SETUP TOKEN GENERATED ===")
|
||||||
|
fmt.Println(" Token: [your-token-here]")
|
||||||
|
fmt.Println(" Use this token on the initial setup page")
|
||||||
|
fmt.Println("")
|
||||||
|
fmt.Println("5. Use the token to complete initial setup at:")
|
||||||
|
fmt.Printf(" https://%s/auth/initial-setup\n", dashboardDomain)
|
||||||
|
fmt.Println("")
|
||||||
|
fmt.Println("The setup token is required to register the first admin account.")
|
||||||
|
fmt.Println("Save it securely - it will be invalid after the first admin is created.")
|
||||||
|
fmt.Println("================================")
|
||||||
}
|
}
|
||||||
|
|
||||||
func generateRandomSecretKey() string {
|
func generateRandomSecretKey() string {
|
||||||
@@ -776,3 +591,37 @@ func run(name string, args ...string) error {
|
|||||||
cmd.Stderr = os.Stderr
|
cmd.Stderr = os.Stderr
|
||||||
return cmd.Run()
|
return cmd.Run()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func checkPortsAvailable(port int) error {
|
||||||
|
addr := fmt.Sprintf(":%d", port)
|
||||||
|
ln, err := net.Listen("tcp", addr)
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf(
|
||||||
|
"ERROR: port %d is occupied or cannot be bound: %w\n\n",
|
||||||
|
port, err,
|
||||||
|
)
|
||||||
|
}
|
||||||
|
if closeErr := ln.Close(); closeErr != nil {
|
||||||
|
fmt.Fprintf(os.Stderr,
|
||||||
|
"WARNING: failed to close test listener on port %d: %v\n",
|
||||||
|
port, closeErr,
|
||||||
|
)
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func checkIsPangolinInstalledWithHybrid() bool {
|
||||||
|
// Check if config/config.yml exists and contains hybrid section
|
||||||
|
if _, err := os.Stat("config/config.yml"); err != nil {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
// Read config file to check for hybrid section
|
||||||
|
content, err := os.ReadFile("config/config.yml")
|
||||||
|
if err != nil {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check for hybrid section
|
||||||
|
return bytes.Contains(content, []byte("managed:"))
|
||||||
|
}
|
||||||
|
|||||||
110
install/quickStart.go
Normal file
110
install/quickStart.go
Normal file
@@ -0,0 +1,110 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bytes"
|
||||||
|
"encoding/base64"
|
||||||
|
"encoding/json"
|
||||||
|
"fmt"
|
||||||
|
"io"
|
||||||
|
"net/http"
|
||||||
|
"time"
|
||||||
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
FRONTEND_SECRET_KEY = "af4e4785-7e09-11f0-b93a-74563c4e2a7e"
|
||||||
|
// CLOUD_API_URL = "https://pangolin.fossorial.io/api/v1/remote-exit-node/quick-start"
|
||||||
|
CLOUD_API_URL = "https://pangolin.fossorial.io/api/v1/remote-exit-node/quick-start"
|
||||||
|
)
|
||||||
|
|
||||||
|
// HybridCredentials represents the response from the cloud API
|
||||||
|
type HybridCredentials struct {
|
||||||
|
RemoteExitNodeId string `json:"remoteExitNodeId"`
|
||||||
|
Secret string `json:"secret"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// APIResponse represents the full response structure from the cloud API
|
||||||
|
type APIResponse struct {
|
||||||
|
Data HybridCredentials `json:"data"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// RequestPayload represents the request body structure
|
||||||
|
type RequestPayload struct {
|
||||||
|
Token string `json:"token"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func generateValidationToken() string {
|
||||||
|
timestamp := time.Now().UnixMilli()
|
||||||
|
data := fmt.Sprintf("%s|%d", FRONTEND_SECRET_KEY, timestamp)
|
||||||
|
obfuscated := make([]byte, len(data))
|
||||||
|
for i, char := range []byte(data) {
|
||||||
|
obfuscated[i] = char + 5
|
||||||
|
}
|
||||||
|
return base64.StdEncoding.EncodeToString(obfuscated)
|
||||||
|
}
|
||||||
|
|
||||||
|
// requestHybridCredentials makes an HTTP POST request to the cloud API
|
||||||
|
// to get hybrid credentials (ID and secret)
|
||||||
|
func requestHybridCredentials() (*HybridCredentials, error) {
|
||||||
|
// Generate validation token
|
||||||
|
token := generateValidationToken()
|
||||||
|
|
||||||
|
// Create request payload
|
||||||
|
payload := RequestPayload{
|
||||||
|
Token: token,
|
||||||
|
}
|
||||||
|
|
||||||
|
// Marshal payload to JSON
|
||||||
|
jsonData, err := json.Marshal(payload)
|
||||||
|
if err != nil {
|
||||||
|
return nil, fmt.Errorf("failed to marshal request payload: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Create HTTP request
|
||||||
|
req, err := http.NewRequest("POST", CLOUD_API_URL, bytes.NewBuffer(jsonData))
|
||||||
|
if err != nil {
|
||||||
|
return nil, fmt.Errorf("failed to create HTTP request: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set headers
|
||||||
|
req.Header.Set("Content-Type", "application/json")
|
||||||
|
req.Header.Set("X-CSRF-Token", "x-csrf-protection")
|
||||||
|
|
||||||
|
// Create HTTP client with timeout
|
||||||
|
client := &http.Client{
|
||||||
|
Timeout: 30 * time.Second,
|
||||||
|
}
|
||||||
|
|
||||||
|
// Make the request
|
||||||
|
resp, err := client.Do(req)
|
||||||
|
if err != nil {
|
||||||
|
return nil, fmt.Errorf("failed to make HTTP request: %v", err)
|
||||||
|
}
|
||||||
|
defer resp.Body.Close()
|
||||||
|
|
||||||
|
// Check response status
|
||||||
|
if resp.StatusCode != http.StatusOK {
|
||||||
|
return nil, fmt.Errorf("API request failed with status code: %d", resp.StatusCode)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Read response body for debugging
|
||||||
|
body, err := io.ReadAll(resp.Body)
|
||||||
|
if err != nil {
|
||||||
|
return nil, fmt.Errorf("failed to read response body: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Print the raw JSON response for debugging
|
||||||
|
// fmt.Printf("Raw JSON response: %s\n", string(body))
|
||||||
|
|
||||||
|
// Parse response
|
||||||
|
var apiResponse APIResponse
|
||||||
|
if err := json.Unmarshal(body, &apiResponse); err != nil {
|
||||||
|
return nil, fmt.Errorf("failed to decode API response: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Validate response data
|
||||||
|
if apiResponse.Data.RemoteExitNodeId == "" || apiResponse.Data.Secret == "" {
|
||||||
|
return nil, fmt.Errorf("invalid response: missing remoteExitNodeId or secret")
|
||||||
|
}
|
||||||
|
|
||||||
|
return &apiResponse.Data, nil
|
||||||
|
}
|
||||||
1461
messages/bg-BG.json
Normal file
1461
messages/bg-BG.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -10,8 +10,8 @@
|
|||||||
"setupErrorIdentifier": "ID organizace je již použito. Zvolte prosím jiné.",
|
"setupErrorIdentifier": "ID organizace je již použito. Zvolte prosím jiné.",
|
||||||
"componentsErrorNoMemberCreate": "Zatím nejste členem žádné organizace. Abyste mohli začít, vytvořte si organizaci.",
|
"componentsErrorNoMemberCreate": "Zatím nejste členem žádné organizace. Abyste mohli začít, vytvořte si organizaci.",
|
||||||
"componentsErrorNoMember": "Zatím nejste členem žádných organizací.",
|
"componentsErrorNoMember": "Zatím nejste členem žádných organizací.",
|
||||||
"welcome": "Welcome!",
|
"welcome": "Vítejte!",
|
||||||
"welcomeTo": "Welcome to",
|
"welcomeTo": "Vítejte v",
|
||||||
"componentsCreateOrg": "Vytvořte organizaci",
|
"componentsCreateOrg": "Vytvořte organizaci",
|
||||||
"componentsMember": "Jste členem {count, plural, =0 {0 organizací} one {1 organizace} other {# organizací}}.",
|
"componentsMember": "Jste členem {count, plural, =0 {0 organizací} one {1 organizace} other {# organizací}}.",
|
||||||
"componentsInvalidKey": "Byly nalezeny neplatné nebo propadlé licenční klíče. Pokud chcete nadále používat všechny funkce, postupujte podle licenčních podmínek.",
|
"componentsInvalidKey": "Byly nalezeny neplatné nebo propadlé licenční klíče. Pokud chcete nadále používat všechny funkce, postupujte podle licenčních podmínek.",
|
||||||
@@ -62,129 +62,131 @@
|
|||||||
"method": "Způsob",
|
"method": "Způsob",
|
||||||
"siteMethodDescription": "Tímto způsobem budete vystavovat spojení.",
|
"siteMethodDescription": "Tímto způsobem budete vystavovat spojení.",
|
||||||
"siteLearnNewt": "Naučte se, jak nainstalovat Newt na svůj systém",
|
"siteLearnNewt": "Naučte se, jak nainstalovat Newt na svůj systém",
|
||||||
"siteSeeConfigOnce": "You will only be able to see the configuration once.",
|
"siteSeeConfigOnce": "Konfiguraci uvidíte pouze jednou.",
|
||||||
"siteLoadWGConfig": "Loading WireGuard configuration...",
|
"siteLoadWGConfig": "Načítání konfigurace WireGuard...",
|
||||||
"siteDocker": "Expand for Docker Deployment Details",
|
"siteDocker": "Rozbalit pro detaily nasazení v Dockeru",
|
||||||
"toggle": "Toggle",
|
"toggle": "Přepínač",
|
||||||
"dockerCompose": "Docker Compose",
|
"dockerCompose": "Docker Compose",
|
||||||
"dockerRun": "Docker Run",
|
"dockerRun": "Docker Run",
|
||||||
"siteLearnLocal": "Local sites do not tunnel, learn more",
|
"siteLearnLocal": "Místní lokality se netunelují, dozvědět se více",
|
||||||
"siteConfirmCopy": "I have copied the config",
|
"siteConfirmCopy": "Konfiguraci jsem zkopíroval",
|
||||||
"searchSitesProgress": "Search sites...",
|
"searchSitesProgress": "Hledat lokality...",
|
||||||
"siteAdd": "Add Site",
|
"siteAdd": "Přidat lokalitu",
|
||||||
"siteInstallNewt": "Install Newt",
|
"siteInstallNewt": "Nainstalovat Newt",
|
||||||
"siteInstallNewtDescription": "Get Newt running on your system",
|
"siteInstallNewtDescription": "Spustit Newt na vašem systému",
|
||||||
"WgConfiguration": "WireGuard Configuration",
|
"WgConfiguration": "Konfigurace WireGuard",
|
||||||
"WgConfigurationDescription": "Use the following configuration to connect to your network",
|
"WgConfigurationDescription": "Použijte následující konfiguraci pro připojení k vaší síti",
|
||||||
"operatingSystem": "Operating System",
|
"operatingSystem": "Operační systém",
|
||||||
"commands": "Commands",
|
"commands": "Příkazy",
|
||||||
"recommended": "Recommended",
|
"recommended": "Doporučeno",
|
||||||
"siteNewtDescription": "For the best user experience, use Newt. It uses WireGuard under the hood and allows you to address your private resources by their LAN address on your private network from within the Pangolin dashboard.",
|
"siteNewtDescription": "Ideálně použijte Newt, který využívá WireGuard a umožňuje adresovat vaše soukromé zdroje pomocí jejich LAN adresy ve vaší privátní síti přímo z dashboardu Pangolin.",
|
||||||
"siteRunsInDocker": "Runs in Docker",
|
"siteRunsInDocker": "Běží v Dockeru",
|
||||||
"siteRunsInShell": "Runs in shell on macOS, Linux, and Windows",
|
"siteRunsInShell": "Běží v shellu na macOS, Linuxu a Windows",
|
||||||
"siteErrorDelete": "Error deleting site",
|
"siteErrorDelete": "Chyba při odstraňování lokality",
|
||||||
"siteErrorUpdate": "Failed to update site",
|
"siteErrorUpdate": "Nepodařilo se upravit lokalitu",
|
||||||
"siteErrorUpdateDescription": "An error occurred while updating the site.",
|
"siteErrorUpdateDescription": "Při úpravě lokality došlo k chybě.",
|
||||||
"siteUpdated": "Site updated",
|
"siteUpdated": "Lokalita upravena",
|
||||||
"siteUpdatedDescription": "The site has been updated.",
|
"siteUpdatedDescription": "Lokalita byla upravena.",
|
||||||
"siteGeneralDescription": "Configure the general settings for this site",
|
"siteGeneralDescription": "Upravte obecná nastavení pro tuto lokalitu",
|
||||||
"siteSettingDescription": "Configure the settings on your site",
|
"siteSettingDescription": "Upravte nastavení vaší lokality",
|
||||||
"siteSetting": "{siteName} Settings",
|
"siteSetting": "Nastavení {siteName}",
|
||||||
"siteNewtTunnel": "Newt Tunnel (Recommended)",
|
"siteNewtTunnel": "Tunel Newt (doporučeno)",
|
||||||
"siteNewtTunnelDescription": "Easiest way to create an entrypoint into your network. No extra setup.",
|
"siteNewtTunnelDescription": "Nejjednodušší způsob, jak vytvořit vstupní bod do vaší sítě. Žádné další nastavení.",
|
||||||
"siteWg": "Basic WireGuard",
|
"siteWg": "Základní WireGuard",
|
||||||
"siteWgDescription": "Use any WireGuard client to establish a tunnel. Manual NAT setup required.",
|
"siteWgDescription": "Použijte jakéhokoli klienta WireGuard abyste sestavili tunel. Vyžaduje se ruční nastavení NAT.",
|
||||||
"siteLocalDescription": "Local resources only. No tunneling.",
|
"siteWgDescriptionSaas": "Použijte jakéhokoli klienta WireGuard abyste sestavili tunel. Vyžaduje se ruční nastavení NAT. FUNGUJE POUZE NA SELF-HOSTED SERVERECH",
|
||||||
"siteSeeAll": "See All Sites",
|
"siteLocalDescription": "Pouze lokální zdroje. Žádný tunel.",
|
||||||
"siteTunnelDescription": "Determine how you want to connect to your site",
|
"siteLocalDescriptionSaas": "Pouze lokální zdroje. Žádný tunel. FUNGUJE POUZE NA SELF-HOSTED SERVERECH",
|
||||||
"siteNewtCredentials": "Newt Credentials",
|
"siteSeeAll": "Zobrazit všechny lokality",
|
||||||
"siteNewtCredentialsDescription": "This is how Newt will authenticate with the server",
|
"siteTunnelDescription": "Určete jak se chcete připojit k vaší lokalitě",
|
||||||
"siteCredentialsSave": "Save Your Credentials",
|
"siteNewtCredentials": "Přihlašovací údaje Newt",
|
||||||
"siteCredentialsSaveDescription": "You will only be able to see this once. Make sure to copy it to a secure place.",
|
"siteNewtCredentialsDescription": "Tímto způsobem se bude Newt autentizovat na serveru",
|
||||||
"siteInfo": "Site Information",
|
"siteCredentialsSave": "Uložit přihlašovací údaje",
|
||||||
"status": "Status",
|
"siteCredentialsSaveDescription": "Toto nastavení uvidíte pouze jednou. Ujistěte se, že jej zkopírujete na bezpečné místo.",
|
||||||
"shareTitle": "Manage Share Links",
|
"siteInfo": "Údaje o lokalitě",
|
||||||
"shareDescription": "Create shareable links to grant temporary or permanent access to your resources",
|
"status": "Stav",
|
||||||
"shareSearch": "Search share links...",
|
"shareTitle": "Spravovat sdílení odkazů",
|
||||||
"shareCreate": "Create Share Link",
|
"shareDescription": "Vytvořte odkazy, abyste udělili dočasný nebo trvalý přístup k vašim zdrojům",
|
||||||
"shareErrorDelete": "Failed to delete link",
|
"shareSearch": "Hledat sdílené odkazy...",
|
||||||
"shareErrorDeleteMessage": "An error occurred deleting link",
|
"shareCreate": "Vytvořit odkaz",
|
||||||
"shareDeleted": "Link deleted",
|
"shareErrorDelete": "Nepodařilo se odstranit odkaz",
|
||||||
"shareDeletedDescription": "The link has been deleted",
|
"shareErrorDeleteMessage": "Došlo k chybě při odstraňování odkazu",
|
||||||
"shareTokenDescription": "Your access token can be passed in two ways: as a query parameter or in the request headers. These must be passed from the client on every request for authenticated access.",
|
"shareDeleted": "Odkaz odstraněn",
|
||||||
"accessToken": "Access Token",
|
"shareDeletedDescription": "Odkaz byl odstraněn",
|
||||||
"usageExamples": "Usage Examples",
|
"shareTokenDescription": "Váš přístupový token může být předán dvěma způsoby: jako parametr dotazu nebo v záhlaví požadavku. Tyto údaje musí být předány klientem v každé žádosti o ověřený přístup.",
|
||||||
"tokenId": "Token ID",
|
"accessToken": "Přístupový token",
|
||||||
"requestHeades": "Request Headers",
|
"usageExamples": "Příklady použití",
|
||||||
"queryParameter": "Query Parameter",
|
"tokenId": "ID tokenu",
|
||||||
"importantNote": "Important Note",
|
"requestHeades": "Hlavičky požadavku",
|
||||||
"shareImportantDescription": "For security reasons, using headers is recommended over query parameters when possible, as query parameters may be logged in server logs or browser history.",
|
"queryParameter": "Parametry dotazu",
|
||||||
|
"importantNote": "Důležité upozornění",
|
||||||
|
"shareImportantDescription": "Z bezpečnostních důvodů je doporučeno používat raději hlavičky než parametry dotazu pokud je to možné, protože parametry dotazu mohou být zaznamenány v logu serveru nebo v historii prohlížeče.",
|
||||||
"token": "Token",
|
"token": "Token",
|
||||||
"shareTokenSecurety": "Keep your access token secure. Do not share it in publicly accessible areas or client-side code.",
|
"shareTokenSecurety": "Uchovejte přístupový token v bezpečí. Nesdílejte jej na veřejně přístupných místěch nebo v kódu na straně klienta.",
|
||||||
"shareErrorFetchResource": "Failed to fetch resources",
|
"shareErrorFetchResource": "Nepodařilo se načíst zdroje",
|
||||||
"shareErrorFetchResourceDescription": "An error occurred while fetching the resources",
|
"shareErrorFetchResourceDescription": "Při načítání zdrojů došlo k chybě",
|
||||||
"shareErrorCreate": "Failed to create share link",
|
"shareErrorCreate": "Nepodařilo se vytvořit odkaz",
|
||||||
"shareErrorCreateDescription": "An error occurred while creating the share link",
|
"shareErrorCreateDescription": "Při vytváření odkazu došlo k chybě",
|
||||||
"shareCreateDescription": "Anyone with this link can access the resource",
|
"shareCreateDescription": "Kdokoliv s tímto odkazem může přistupovat ke zdroji",
|
||||||
"shareTitleOptional": "Title (optional)",
|
"shareTitleOptional": "Název (volitelné)",
|
||||||
"expireIn": "Expire In",
|
"expireIn": "Platnost vyprší za",
|
||||||
"neverExpire": "Never expire",
|
"neverExpire": "Nikdy nevyprší",
|
||||||
"shareExpireDescription": "Expiration time is how long the link will be usable and provide access to the resource. After this time, the link will no longer work, and users who used this link will lose access to the resource.",
|
"shareExpireDescription": "Doba platnosti určuje, jak dlouho bude odkaz použitelný a bude poskytovat přístup ke zdroji. Po této době odkaz již nebude fungovat a uživatelé kteří tento odkaz používali ztratí přístup ke zdroji.",
|
||||||
"shareSeeOnce": "You will only be able to see this linkonce. Make sure to copy it.",
|
"shareSeeOnce": "Tento odkaz uvidíte pouze jednou. Ujistěte se, že jste jej zkopírovali.",
|
||||||
"shareAccessHint": "Anyone with this link can access the resource. Share it with care.",
|
"shareAccessHint": "Kdokoli s tímto odkazem může přistupovat ke zdroji. Sdílejte jej s rozvahou.",
|
||||||
"shareTokenUsage": "See Access Token Usage",
|
"shareTokenUsage": "Zobrazit využití přístupového tokenu",
|
||||||
"createLink": "Create Link",
|
"createLink": "Vytvořit odkaz",
|
||||||
"resourcesNotFound": "No resources found",
|
"resourcesNotFound": "Nebyly nalezeny žádné zdroje",
|
||||||
"resourceSearch": "Search resources",
|
"resourceSearch": "Vyhledat zdroje",
|
||||||
"openMenu": "Open menu",
|
"openMenu": "Otevřít nabídku",
|
||||||
"resource": "Resource",
|
"resource": "Zdroj",
|
||||||
"title": "Title",
|
"title": "Název",
|
||||||
"created": "Created",
|
"created": "Vytvořeno",
|
||||||
"expires": "Expires",
|
"expires": "Vyprší",
|
||||||
"never": "Never",
|
"never": "Nikdy",
|
||||||
"shareErrorSelectResource": "Please select a resource",
|
"shareErrorSelectResource": "Zvolte prosím zdroj",
|
||||||
"resourceTitle": "Manage Resources",
|
"resourceTitle": "Spravovat zdroje",
|
||||||
"resourceDescription": "Create secure proxies to your private applications",
|
"resourceDescription": "Vytvořte bezpečné proxy služby pro přístup k privátním aplikacím",
|
||||||
"resourcesSearch": "Search resources...",
|
"resourcesSearch": "Prohledat zdroje...",
|
||||||
"resourceAdd": "Add Resource",
|
"resourceAdd": "Přidat zdroj",
|
||||||
"resourceErrorDelte": "Error deleting resource",
|
"resourceErrorDelte": "Chyba při odstraňování zdroje",
|
||||||
"authentication": "Authentication",
|
"authentication": "Autentifikace",
|
||||||
"protected": "Protected",
|
"protected": "Chráněno",
|
||||||
"notProtected": "Not Protected",
|
"notProtected": "Nechráněno",
|
||||||
"resourceMessageRemove": "Once removed, the resource will no longer be accessible. All targets associated with the resource will also be removed.",
|
"resourceMessageRemove": "Jakmile zdroj odstraníte, nebude dostupný. Všechny související služby a cíle budou také odstraněny.",
|
||||||
"resourceMessageConfirm": "To confirm, please type the name of the resource below.",
|
"resourceMessageConfirm": "Pro potvrzení zadejte prosím název zdroje.",
|
||||||
"resourceQuestionRemove": "Are you sure you want to remove the resource {selectedResource} from the organization?",
|
"resourceQuestionRemove": "Opravdu chcete odstranit zdroj {selectedResource} z organizace?",
|
||||||
"resourceHTTP": "HTTPS Resource",
|
"resourceHTTP": "Zdroj HTTPS",
|
||||||
"resourceHTTPDescription": "Proxy requests to your app over HTTPS using a subdomain or base domain.",
|
"resourceHTTPDescription": "Proxy requests to your app over HTTPS using a subdomain or base domain.",
|
||||||
"resourceRaw": "Raw TCP/UDP Resource",
|
"resourceRaw": "Raw TCP/UDP Resource",
|
||||||
"resourceRawDescription": "Proxy requests to your app over TCP/UDP using a port number.",
|
"resourceRawDescription": "Proxy requests to your app over TCP/UDP using a port number.",
|
||||||
"resourceCreate": "Create Resource",
|
"resourceCreate": "Vytvořit zdroj",
|
||||||
"resourceCreateDescription": "Follow the steps below to create a new resource",
|
"resourceCreateDescription": "Postupujte podle níže uvedených kroků, abyste vytvořili a připojili nový zdroj",
|
||||||
"resourceSeeAll": "See All Resources",
|
"resourceSeeAll": "Zobrazit všechny zdroje",
|
||||||
"resourceInfo": "Resource Information",
|
"resourceInfo": "Informace o zdroji",
|
||||||
"resourceNameDescription": "This is the display name for the resource.",
|
"resourceNameDescription": "Toto je zobrazovaný název zdroje.",
|
||||||
"siteSelect": "Select site",
|
"siteSelect": "Vybrat lokalitu",
|
||||||
"siteSearch": "Search site",
|
"siteSearch": "Hledat lokalitu",
|
||||||
"siteNotFound": "No site found.",
|
"siteNotFound": "Nebyla nalezena žádná lokalita.",
|
||||||
"siteSelectionDescription": "This site will provide connectivity to the resource.",
|
"siteSelectionDescription": "Tato lokalita poskytne připojení k cíli.",
|
||||||
"resourceType": "Resource Type",
|
"resourceType": "Typ zdroje",
|
||||||
"resourceTypeDescription": "Determine how you want to access your resource",
|
"resourceTypeDescription": "Určete, jak chcete přistupovat ke svému zdroji",
|
||||||
"resourceHTTPSSettings": "HTTPS Settings",
|
"resourceHTTPSSettings": "Nastavení HTTPS",
|
||||||
"resourceHTTPSSettingsDescription": "Configure how your resource will be accessed over HTTPS",
|
"resourceHTTPSSettingsDescription": "Nakonfigurujte, jak bude váš zdroj přístupný přes HTTPS",
|
||||||
"domainType": "Domain Type",
|
"domainType": "Typ domény",
|
||||||
"subdomain": "Subdomain",
|
"subdomain": "Subdoména",
|
||||||
"baseDomain": "Base Domain",
|
"baseDomain": "Základní doména",
|
||||||
"subdomnainDescription": "The subdomain where your resource will be accessible.",
|
"subdomnainDescription": "Subdoména, kde bude váš zdroj přístupný.",
|
||||||
"resourceRawSettings": "TCP/UDP Settings",
|
"resourceRawSettings": "Nastavení TCP/UDP",
|
||||||
"resourceRawSettingsDescription": "Configure how your resource will be accessed over TCP/UDP",
|
"resourceRawSettingsDescription": "Nakonfigurujte, jak bude váš dokument přístupný přes TCP/UDP",
|
||||||
"protocol": "Protocol",
|
"protocol": "Protokol",
|
||||||
"protocolSelect": "Select a protocol",
|
"protocolSelect": "Vybrat protokol",
|
||||||
"resourcePortNumber": "Port Number",
|
"resourcePortNumber": "Číslo portu",
|
||||||
"resourcePortNumberDescription": "The external port number to proxy requests.",
|
"resourcePortNumberDescription": "Externí port k požadavkům proxy serveru.",
|
||||||
"cancel": "Cancel",
|
"cancel": "Zrušit",
|
||||||
"resourceConfig": "Configuration Snippets",
|
"resourceConfig": "Konfigurační snippety",
|
||||||
"resourceConfigDescription": "Copy and paste these configuration snippets to set up your TCP/UDP resource",
|
"resourceConfigDescription": "Zkopírujte a vložte tyto konfigurační snippety pro nastavení TCP/UDP zdroje",
|
||||||
"resourceAddEntrypoints": "Traefik: Add Entrypoints",
|
"resourceAddEntrypoints": "Traefik: Přidat vstupní body",
|
||||||
"resourceExposePorts": "Gerbil: Expose Ports in Docker Compose",
|
"resourceExposePorts": "Gerbil: Expose Ports in Docker Compose",
|
||||||
"resourceLearnRaw": "Learn how to configure TCP/UDP resources",
|
"resourceLearnRaw": "Learn how to configure TCP/UDP resources",
|
||||||
"resourceBack": "Back to Resources",
|
"resourceBack": "Back to Resources",
|
||||||
@@ -197,11 +199,13 @@
|
|||||||
"general": "General",
|
"general": "General",
|
||||||
"generalSettings": "General Settings",
|
"generalSettings": "General Settings",
|
||||||
"proxy": "Proxy",
|
"proxy": "Proxy",
|
||||||
|
"internal": "Internal",
|
||||||
"rules": "Rules",
|
"rules": "Rules",
|
||||||
"resourceSettingDescription": "Configure the settings on your resource",
|
"resourceSettingDescription": "Configure the settings on your resource",
|
||||||
"resourceSetting": "{resourceName} Settings",
|
"resourceSetting": "{resourceName} Settings",
|
||||||
"alwaysAllow": "Always Allow",
|
"alwaysAllow": "Always Allow",
|
||||||
"alwaysDeny": "Always Deny",
|
"alwaysDeny": "Always Deny",
|
||||||
|
"passToAuth": "Pass to Auth",
|
||||||
"orgSettingsDescription": "Configure your organization's general settings",
|
"orgSettingsDescription": "Configure your organization's general settings",
|
||||||
"orgGeneralSettings": "Organization Settings",
|
"orgGeneralSettings": "Organization Settings",
|
||||||
"orgGeneralSettingsDescription": "Manage your organization details and configuration",
|
"orgGeneralSettingsDescription": "Manage your organization details and configuration",
|
||||||
@@ -490,7 +494,7 @@
|
|||||||
"targetTlsSniDescription": "The TLS Server Name to use for SNI. Leave empty to use the default.",
|
"targetTlsSniDescription": "The TLS Server Name to use for SNI. Leave empty to use the default.",
|
||||||
"targetTlsSubmit": "Save Settings",
|
"targetTlsSubmit": "Save Settings",
|
||||||
"targets": "Targets Configuration",
|
"targets": "Targets Configuration",
|
||||||
"targetsDescription": "Set up targets to route traffic to your services",
|
"targetsDescription": "Set up targets to route traffic to your backend services",
|
||||||
"targetStickySessions": "Enable Sticky Sessions",
|
"targetStickySessions": "Enable Sticky Sessions",
|
||||||
"targetStickySessionsDescription": "Keep connections on the same backend target for their entire session.",
|
"targetStickySessionsDescription": "Keep connections on the same backend target for their entire session.",
|
||||||
"methodSelect": "Select method",
|
"methodSelect": "Select method",
|
||||||
@@ -542,6 +546,7 @@
|
|||||||
"rulesActions": "Actions",
|
"rulesActions": "Actions",
|
||||||
"rulesActionAlwaysAllow": "Always Allow: Bypass all authentication methods",
|
"rulesActionAlwaysAllow": "Always Allow: Bypass all authentication methods",
|
||||||
"rulesActionAlwaysDeny": "Always Deny: Block all requests; no authentication can be attempted",
|
"rulesActionAlwaysDeny": "Always Deny: Block all requests; no authentication can be attempted",
|
||||||
|
"rulesActionPassToAuth": "Pass to Auth: Allow authentication methods to be attempted",
|
||||||
"rulesMatchCriteria": "Matching Criteria",
|
"rulesMatchCriteria": "Matching Criteria",
|
||||||
"rulesMatchCriteriaIpAddress": "Match a specific IP address",
|
"rulesMatchCriteriaIpAddress": "Match a specific IP address",
|
||||||
"rulesMatchCriteriaIpAddressRange": "Match a range of IP addresses in CIDR notation",
|
"rulesMatchCriteriaIpAddressRange": "Match a range of IP addresses in CIDR notation",
|
||||||
@@ -833,6 +838,24 @@
|
|||||||
"pincodeRequirementsLength": "PIN must be exactly 6 digits",
|
"pincodeRequirementsLength": "PIN must be exactly 6 digits",
|
||||||
"pincodeRequirementsChars": "PIN must only contain numbers",
|
"pincodeRequirementsChars": "PIN must only contain numbers",
|
||||||
"passwordRequirementsLength": "Password must be at least 1 character long",
|
"passwordRequirementsLength": "Password must be at least 1 character long",
|
||||||
|
"passwordRequirementsTitle": "Password requirements:",
|
||||||
|
"passwordRequirementLength": "At least 8 characters long",
|
||||||
|
"passwordRequirementUppercase": "At least one uppercase letter",
|
||||||
|
"passwordRequirementLowercase": "At least one lowercase letter",
|
||||||
|
"passwordRequirementNumber": "At least one number",
|
||||||
|
"passwordRequirementSpecial": "At least one special character",
|
||||||
|
"passwordRequirementsMet": "✓ Password meets all requirements",
|
||||||
|
"passwordStrength": "Password strength",
|
||||||
|
"passwordStrengthWeak": "Weak",
|
||||||
|
"passwordStrengthMedium": "Medium",
|
||||||
|
"passwordStrengthStrong": "Strong",
|
||||||
|
"passwordRequirements": "Requirements:",
|
||||||
|
"passwordRequirementLengthText": "8+ characters",
|
||||||
|
"passwordRequirementUppercaseText": "Uppercase letter (A-Z)",
|
||||||
|
"passwordRequirementLowercaseText": "Lowercase letter (a-z)",
|
||||||
|
"passwordRequirementNumberText": "Number (0-9)",
|
||||||
|
"passwordRequirementSpecialText": "Special character (!@#$%...)",
|
||||||
|
"passwordsDoNotMatch": "Passwords do not match",
|
||||||
"otpEmailRequirementsLength": "OTP must be at least 1 character long",
|
"otpEmailRequirementsLength": "OTP must be at least 1 character long",
|
||||||
"otpEmailSent": "OTP Sent",
|
"otpEmailSent": "OTP Sent",
|
||||||
"otpEmailSentDescription": "An OTP has been sent to your email",
|
"otpEmailSentDescription": "An OTP has been sent to your email",
|
||||||
@@ -952,6 +975,7 @@
|
|||||||
"logoutError": "Error logging out",
|
"logoutError": "Error logging out",
|
||||||
"signingAs": "Signed in as",
|
"signingAs": "Signed in as",
|
||||||
"serverAdmin": "Server Admin",
|
"serverAdmin": "Server Admin",
|
||||||
|
"managedSelfhosted": "Managed Self-Hosted",
|
||||||
"otpEnable": "Enable Two-factor",
|
"otpEnable": "Enable Two-factor",
|
||||||
"otpDisable": "Disable Two-factor",
|
"otpDisable": "Disable Two-factor",
|
||||||
"logout": "Log Out",
|
"logout": "Log Out",
|
||||||
@@ -967,6 +991,9 @@
|
|||||||
"actionDeleteSite": "Delete Site",
|
"actionDeleteSite": "Delete Site",
|
||||||
"actionGetSite": "Get Site",
|
"actionGetSite": "Get Site",
|
||||||
"actionListSites": "List Sites",
|
"actionListSites": "List Sites",
|
||||||
|
"setupToken": "Setup Token",
|
||||||
|
"setupTokenDescription": "Enter the setup token from the server console.",
|
||||||
|
"setupTokenRequired": "Setup token is required",
|
||||||
"actionUpdateSite": "Update Site",
|
"actionUpdateSite": "Update Site",
|
||||||
"actionListSiteRoles": "List Allowed Site Roles",
|
"actionListSiteRoles": "List Allowed Site Roles",
|
||||||
"actionCreateResource": "Create Resource",
|
"actionCreateResource": "Create Resource",
|
||||||
@@ -1022,6 +1049,16 @@
|
|||||||
"actionDeleteIdpOrg": "Delete IDP Org Policy",
|
"actionDeleteIdpOrg": "Delete IDP Org Policy",
|
||||||
"actionListIdpOrgs": "List IDP Orgs",
|
"actionListIdpOrgs": "List IDP Orgs",
|
||||||
"actionUpdateIdpOrg": "Update IDP Org",
|
"actionUpdateIdpOrg": "Update IDP Org",
|
||||||
|
"actionCreateClient": "Create Client",
|
||||||
|
"actionDeleteClient": "Delete Client",
|
||||||
|
"actionUpdateClient": "Update Client",
|
||||||
|
"actionListClients": "List Clients",
|
||||||
|
"actionGetClient": "Get Client",
|
||||||
|
"actionCreateSiteResource": "Create Site Resource",
|
||||||
|
"actionDeleteSiteResource": "Delete Site Resource",
|
||||||
|
"actionGetSiteResource": "Get Site Resource",
|
||||||
|
"actionListSiteResources": "List Site Resources",
|
||||||
|
"actionUpdateSiteResource": "Update Site Resource",
|
||||||
"noneSelected": "None selected",
|
"noneSelected": "None selected",
|
||||||
"orgNotFound2": "No organizations found.",
|
"orgNotFound2": "No organizations found.",
|
||||||
"searchProgress": "Search...",
|
"searchProgress": "Search...",
|
||||||
@@ -1315,8 +1352,110 @@
|
|||||||
"olmErrorFetchLatest": "An error occurred while fetching the latest Olm release.",
|
"olmErrorFetchLatest": "An error occurred while fetching the latest Olm release.",
|
||||||
"remoteSubnets": "Remote Subnets",
|
"remoteSubnets": "Remote Subnets",
|
||||||
"enterCidrRange": "Enter CIDR range",
|
"enterCidrRange": "Enter CIDR range",
|
||||||
"remoteSubnetsDescription": "Add CIDR ranges that can access this site remotely. Use format like 10.0.0.0/24 or 192.168.1.0/24.",
|
"remoteSubnetsDescription": "Add CIDR ranges that can be accessed from this site remotely using clients. Use format like 10.0.0.0/24. This ONLY applies to VPN client connectivity.",
|
||||||
"resourceEnableProxy": "Enable Public Proxy",
|
"resourceEnableProxy": "Enable Public Proxy",
|
||||||
"resourceEnableProxyDescription": "Enable public proxying to this resource. This allows access to the resource from outside the network through the cloud on an open port. Requires Traefik config.",
|
"resourceEnableProxyDescription": "Enable public proxying to this resource. This allows access to the resource from outside the network through the cloud on an open port. Requires Traefik config.",
|
||||||
"externalProxyEnabled": "External Proxy Enabled"
|
"externalProxyEnabled": "External Proxy Enabled",
|
||||||
|
"addNewTarget": "Add New Target",
|
||||||
|
"targetsList": "Targets List",
|
||||||
|
"targetErrorDuplicateTargetFound": "Duplicate target found",
|
||||||
|
"httpMethod": "HTTP Method",
|
||||||
|
"selectHttpMethod": "Select HTTP method",
|
||||||
|
"domainPickerSubdomainLabel": "Subdomain",
|
||||||
|
"domainPickerBaseDomainLabel": "Base Domain",
|
||||||
|
"domainPickerSearchDomains": "Search domains...",
|
||||||
|
"domainPickerNoDomainsFound": "No domains found",
|
||||||
|
"domainPickerLoadingDomains": "Loading domains...",
|
||||||
|
"domainPickerSelectBaseDomain": "Select base domain...",
|
||||||
|
"domainPickerNotAvailableForCname": "Not available for CNAME domains",
|
||||||
|
"domainPickerEnterSubdomainOrLeaveBlank": "Enter subdomain or leave blank to use base domain.",
|
||||||
|
"domainPickerEnterSubdomainToSearch": "Enter a subdomain to search and select from available free domains.",
|
||||||
|
"domainPickerFreeDomains": "Free Domains",
|
||||||
|
"domainPickerSearchForAvailableDomains": "Search for available domains",
|
||||||
|
"resourceDomain": "Domain",
|
||||||
|
"resourceEditDomain": "Edit Domain",
|
||||||
|
"siteName": "Site Name",
|
||||||
|
"proxyPort": "Port",
|
||||||
|
"resourcesTableProxyResources": "Proxy Resources",
|
||||||
|
"resourcesTableClientResources": "Client Resources",
|
||||||
|
"resourcesTableNoProxyResourcesFound": "No proxy resources found.",
|
||||||
|
"resourcesTableNoInternalResourcesFound": "No internal resources found.",
|
||||||
|
"resourcesTableDestination": "Destination",
|
||||||
|
"resourcesTableTheseResourcesForUseWith": "These resources are for use with",
|
||||||
|
"resourcesTableClients": "Clients",
|
||||||
|
"resourcesTableAndOnlyAccessibleInternally": "and are only accessible internally when connected with a client.",
|
||||||
|
"editInternalResourceDialogEditClientResource": "Edit Client Resource",
|
||||||
|
"editInternalResourceDialogUpdateResourceProperties": "Update the resource properties and target configuration for {resourceName}.",
|
||||||
|
"editInternalResourceDialogResourceProperties": "Resource Properties",
|
||||||
|
"editInternalResourceDialogName": "Name",
|
||||||
|
"editInternalResourceDialogProtocol": "Protocol",
|
||||||
|
"editInternalResourceDialogSitePort": "Site Port",
|
||||||
|
"editInternalResourceDialogTargetConfiguration": "Target Configuration",
|
||||||
|
"editInternalResourceDialogDestinationIP": "Destination IP",
|
||||||
|
"editInternalResourceDialogDestinationPort": "Destination Port",
|
||||||
|
"editInternalResourceDialogCancel": "Cancel",
|
||||||
|
"editInternalResourceDialogSaveResource": "Save Resource",
|
||||||
|
"editInternalResourceDialogSuccess": "Success",
|
||||||
|
"editInternalResourceDialogInternalResourceUpdatedSuccessfully": "Internal resource updated successfully",
|
||||||
|
"editInternalResourceDialogError": "Error",
|
||||||
|
"editInternalResourceDialogFailedToUpdateInternalResource": "Failed to update internal resource",
|
||||||
|
"editInternalResourceDialogNameRequired": "Name is required",
|
||||||
|
"editInternalResourceDialogNameMaxLength": "Name must be less than 255 characters",
|
||||||
|
"editInternalResourceDialogProxyPortMin": "Proxy port must be at least 1",
|
||||||
|
"editInternalResourceDialogProxyPortMax": "Proxy port must be less than 65536",
|
||||||
|
"editInternalResourceDialogInvalidIPAddressFormat": "Invalid IP address format",
|
||||||
|
"editInternalResourceDialogDestinationPortMin": "Destination port must be at least 1",
|
||||||
|
"editInternalResourceDialogDestinationPortMax": "Destination port must be less than 65536",
|
||||||
|
"createInternalResourceDialogNoSitesAvailable": "No Sites Available",
|
||||||
|
"createInternalResourceDialogNoSitesAvailableDescription": "You need to have at least one Newt site with a subnet configured to create internal resources.",
|
||||||
|
"createInternalResourceDialogClose": "Close",
|
||||||
|
"createInternalResourceDialogCreateClientResource": "Create Client Resource",
|
||||||
|
"createInternalResourceDialogCreateClientResourceDescription": "Create a new resource that will be accessible to clients connected to the selected site.",
|
||||||
|
"createInternalResourceDialogResourceProperties": "Resource Properties",
|
||||||
|
"createInternalResourceDialogName": "Name",
|
||||||
|
"createInternalResourceDialogSite": "Site",
|
||||||
|
"createInternalResourceDialogSelectSite": "Select site...",
|
||||||
|
"createInternalResourceDialogSearchSites": "Search sites...",
|
||||||
|
"createInternalResourceDialogNoSitesFound": "No sites found.",
|
||||||
|
"createInternalResourceDialogProtocol": "Protocol",
|
||||||
|
"createInternalResourceDialogTcp": "TCP",
|
||||||
|
"createInternalResourceDialogUdp": "UDP",
|
||||||
|
"createInternalResourceDialogSitePort": "Site Port",
|
||||||
|
"createInternalResourceDialogSitePortDescription": "Use this port to access the resource on the site when connected with a client.",
|
||||||
|
"createInternalResourceDialogTargetConfiguration": "Target Configuration",
|
||||||
|
"createInternalResourceDialogDestinationIP": "Destination IP",
|
||||||
|
"createInternalResourceDialogDestinationIPDescription": "The IP address of the resource on the site's network.",
|
||||||
|
"createInternalResourceDialogDestinationPort": "Destination Port",
|
||||||
|
"createInternalResourceDialogDestinationPortDescription": "The port on the destination IP where the resource is accessible.",
|
||||||
|
"createInternalResourceDialogCancel": "Cancel",
|
||||||
|
"createInternalResourceDialogCreateResource": "Create Resource",
|
||||||
|
"createInternalResourceDialogSuccess": "Success",
|
||||||
|
"createInternalResourceDialogInternalResourceCreatedSuccessfully": "Internal resource created successfully",
|
||||||
|
"createInternalResourceDialogError": "Error",
|
||||||
|
"createInternalResourceDialogFailedToCreateInternalResource": "Failed to create internal resource",
|
||||||
|
"createInternalResourceDialogNameRequired": "Name is required",
|
||||||
|
"createInternalResourceDialogNameMaxLength": "Name must be less than 255 characters",
|
||||||
|
"createInternalResourceDialogPleaseSelectSite": "Please select a site",
|
||||||
|
"createInternalResourceDialogProxyPortMin": "Proxy port must be at least 1",
|
||||||
|
"createInternalResourceDialogProxyPortMax": "Proxy port must be less than 65536",
|
||||||
|
"createInternalResourceDialogInvalidIPAddressFormat": "Invalid IP address format",
|
||||||
|
"createInternalResourceDialogDestinationPortMin": "Destination port must be at least 1",
|
||||||
|
"createInternalResourceDialogDestinationPortMax": "Destination port must be less than 65536",
|
||||||
|
"siteConfiguration": "Configuration",
|
||||||
|
"siteAcceptClientConnections": "Accept Client Connections",
|
||||||
|
"siteAcceptClientConnectionsDescription": "Allow other devices to connect through this Newt instance as a gateway using clients.",
|
||||||
|
"siteAddress": "Site Address",
|
||||||
|
"siteAddressDescription": "Specify the IP address of the host for clients to connect to. This is the internal address of the site in the Pangolin network for clients to address. Must fall within the Org subnet.",
|
||||||
|
"autoLoginExternalIdp": "Auto Login with External IDP",
|
||||||
|
"autoLoginExternalIdpDescription": "Immediately redirect the user to the external IDP for authentication.",
|
||||||
|
"selectIdp": "Select IDP",
|
||||||
|
"selectIdpPlaceholder": "Choose an IDP...",
|
||||||
|
"selectIdpRequired": "Please select an IDP when auto login is enabled.",
|
||||||
|
"autoLoginTitle": "Redirecting",
|
||||||
|
"autoLoginDescription": "Redirecting you to the external identity provider for authentication.",
|
||||||
|
"autoLoginProcessing": "Preparing authentication...",
|
||||||
|
"autoLoginRedirecting": "Redirecting to login...",
|
||||||
|
"autoLoginError": "Auto Login Error",
|
||||||
|
"autoLoginErrorNoRedirectUrl": "No redirect URL received from the identity provider.",
|
||||||
|
"autoLoginErrorGeneratingUrl": "Failed to generate authentication URL."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"setupCreate": "Erstelle eine Organisation, Site und Ressourcen",
|
"setupCreate": "Erstelle eine Organisation, einen Standort und Ressourcen",
|
||||||
"setupNewOrg": "Neue Organisation",
|
"setupNewOrg": "Neue Organisation",
|
||||||
"setupCreateOrg": "Organisation erstellen",
|
"setupCreateOrg": "Organisation erstellen",
|
||||||
"setupCreateResources": "Ressource erstellen",
|
"setupCreateResources": "Ressource erstellen",
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
"componentsMember": "Du bist Mitglied von {count, plural, =0 {keiner Organisation} one {einer Organisation} other {# Organisationen}}.",
|
"componentsMember": "Du bist Mitglied von {count, plural, =0 {keiner Organisation} one {einer Organisation} other {# Organisationen}}.",
|
||||||
"componentsInvalidKey": "Ungültige oder abgelaufene Lizenzschlüssel erkannt. Beachte die Lizenzbedingungen, um alle Funktionen weiterhin zu nutzen.",
|
"componentsInvalidKey": "Ungültige oder abgelaufene Lizenzschlüssel erkannt. Beachte die Lizenzbedingungen, um alle Funktionen weiterhin zu nutzen.",
|
||||||
"dismiss": "Verwerfen",
|
"dismiss": "Verwerfen",
|
||||||
"componentsLicenseViolation": "Lizenzverstoß: Dieser Server benutzt {usedSites} Sites, die das Lizenzlimit der {maxSites} Sites überschreiten. Beachte die Lizenzbedingungen, um alle Funktionen weiterhin zu nutzen.",
|
"componentsLicenseViolation": "Lizenzverstoß: Dieser Server benutzt {usedSites} Standorte, was das Lizenzlimit von {maxSites} Standorten überschreitet. Beachte die Lizenzbedingungen, um alle Funktionen weiterhin zu nutzen.",
|
||||||
"componentsSupporterMessage": "Vielen Dank für die Unterstützung von Pangolin als {tier}!",
|
"componentsSupporterMessage": "Vielen Dank für die Unterstützung von Pangolin als {tier}!",
|
||||||
"inviteErrorNotValid": "Es tut uns leid, aber es sieht so aus, als wäre die Einladung, auf die du zugreifen möchtest, entweder nicht angenommen worden oder nicht mehr gültig.",
|
"inviteErrorNotValid": "Es tut uns leid, aber es sieht so aus, als wäre die Einladung, auf die du zugreifen möchtest, entweder nicht angenommen worden oder nicht mehr gültig.",
|
||||||
"inviteErrorUser": "Es tut uns leid, aber es scheint, als sei die Einladung, auf die du zugreifen möchtest, nicht für diesen Benutzer bestimmt.",
|
"inviteErrorUser": "Es tut uns leid, aber es scheint, als sei die Einladung, auf die du zugreifen möchtest, nicht für diesen Benutzer bestimmt.",
|
||||||
@@ -38,25 +38,25 @@
|
|||||||
"name": "Name",
|
"name": "Name",
|
||||||
"online": "Online",
|
"online": "Online",
|
||||||
"offline": "Offline",
|
"offline": "Offline",
|
||||||
"site": "Seite",
|
"site": "Standort",
|
||||||
"dataIn": "Daten eingehend",
|
"dataIn": "Daten eingehend",
|
||||||
"dataOut": "Daten ausgehend",
|
"dataOut": "Daten ausgehend",
|
||||||
"connectionType": "Verbindungstyp",
|
"connectionType": "Verbindungstyp",
|
||||||
"tunnelType": "Tunneltyp",
|
"tunnelType": "Tunneltyp",
|
||||||
"local": "Lokal",
|
"local": "Lokal",
|
||||||
"edit": "Bearbeiten",
|
"edit": "Bearbeiten",
|
||||||
"siteConfirmDelete": "Site löschen bestätigen",
|
"siteConfirmDelete": "Standort löschen bestätigen",
|
||||||
"siteDelete": "Site löschen",
|
"siteDelete": "Standort löschen",
|
||||||
"siteMessageRemove": "Sobald diese Seite entfernt ist, wird sie nicht mehr zugänglich sein. Alle Ressourcen und Ziele, die mit der Site verbunden sind, werden ebenfalls entfernt.",
|
"siteMessageRemove": "Sobald dieser Standort entfernt ist, wird er nicht mehr zugänglich sein. Alle Ressourcen und Ziele, die mit diesem Standort verbunden sind, werden ebenfalls entfernt.",
|
||||||
"siteMessageConfirm": "Um zu bestätigen, gib den Namen der Site ein.",
|
"siteMessageConfirm": "Um zu bestätigen, gib den Namen des Standortes unten ein.",
|
||||||
"siteQuestionRemove": "Bist du sicher, dass Sie die Site {selectedSite} aus der Organisation entfernt werden soll?",
|
"siteQuestionRemove": "Bist du sicher, dass der Standort {selectedSite} aus der Organisation entfernt werden soll?",
|
||||||
"siteManageSites": "Sites verwalten",
|
"siteManageSites": "Standorte verwalten",
|
||||||
"siteDescription": "Verbindung zum Netzwerk durch sichere Tunnel erlauben",
|
"siteDescription": "Verbindung zum Netzwerk durch sichere Tunnel erlauben",
|
||||||
"siteCreate": "Site erstellen",
|
"siteCreate": "Standort erstellen",
|
||||||
"siteCreateDescription2": "Folge den nachfolgenden Schritten, um eine neue Site zu erstellen und zu verbinden",
|
"siteCreateDescription2": "Folge den nachfolgenden Schritten, um einen neuen Standort zu erstellen und zu verbinden",
|
||||||
"siteCreateDescription": "Erstelle eine neue Site, um Ressourcen zu verbinden",
|
"siteCreateDescription": "Erstelle einen neuen Standort, um Ressourcen zu verbinden",
|
||||||
"close": "Schließen",
|
"close": "Schließen",
|
||||||
"siteErrorCreate": "Fehler beim Erstellen der Site",
|
"siteErrorCreate": "Fehler beim Erstellen des Standortes",
|
||||||
"siteErrorCreateKeyPair": "Schlüsselpaar oder Standardwerte nicht gefunden",
|
"siteErrorCreateKeyPair": "Schlüsselpaar oder Standardwerte nicht gefunden",
|
||||||
"siteErrorCreateDefaults": "Standardwerte der Site nicht gefunden",
|
"siteErrorCreateDefaults": "Standardwerte der Site nicht gefunden",
|
||||||
"method": "Methode",
|
"method": "Methode",
|
||||||
@@ -70,8 +70,8 @@
|
|||||||
"dockerRun": "Docker Run",
|
"dockerRun": "Docker Run",
|
||||||
"siteLearnLocal": "Mehr Infos zu lokalen Sites",
|
"siteLearnLocal": "Mehr Infos zu lokalen Sites",
|
||||||
"siteConfirmCopy": "Ich habe die Konfiguration kopiert",
|
"siteConfirmCopy": "Ich habe die Konfiguration kopiert",
|
||||||
"searchSitesProgress": "Sites durchsuchen...",
|
"searchSitesProgress": "Standorte durchsuchen...",
|
||||||
"siteAdd": "Site hinzufügen",
|
"siteAdd": "Standort hinzufügen",
|
||||||
"siteInstallNewt": "Newt installieren",
|
"siteInstallNewt": "Newt installieren",
|
||||||
"siteInstallNewtDescription": "Installiere Newt auf deinem System.",
|
"siteInstallNewtDescription": "Installiere Newt auf deinem System.",
|
||||||
"WgConfiguration": "WireGuard Konfiguration",
|
"WgConfiguration": "WireGuard Konfiguration",
|
||||||
@@ -82,26 +82,28 @@
|
|||||||
"siteNewtDescription": "Nutze Newt für die beste Benutzererfahrung. Newt verwendet WireGuard as Basis und erlaubt Ihnen, Ihre privaten Ressourcen über ihre LAN-Adresse in Ihrem privaten Netzwerk aus dem Pangolin-Dashboard heraus zu adressieren.",
|
"siteNewtDescription": "Nutze Newt für die beste Benutzererfahrung. Newt verwendet WireGuard as Basis und erlaubt Ihnen, Ihre privaten Ressourcen über ihre LAN-Adresse in Ihrem privaten Netzwerk aus dem Pangolin-Dashboard heraus zu adressieren.",
|
||||||
"siteRunsInDocker": "Läuft in Docker",
|
"siteRunsInDocker": "Läuft in Docker",
|
||||||
"siteRunsInShell": "Läuft in der Konsole auf macOS, Linux und Windows",
|
"siteRunsInShell": "Läuft in der Konsole auf macOS, Linux und Windows",
|
||||||
"siteErrorDelete": "Fehler beim Löschen der Site",
|
"siteErrorDelete": "Fehler beim Löschen des Standortes",
|
||||||
"siteErrorUpdate": "Fehler beim Aktualisieren der Site",
|
"siteErrorUpdate": "Fehler beim Aktualisieren des Standortes",
|
||||||
"siteErrorUpdateDescription": "Beim Aktualisieren der Site ist ein Fehler aufgetreten.",
|
"siteErrorUpdateDescription": "Beim Aktualisieren des Standortes ist ein Fehler aufgetreten.",
|
||||||
"siteUpdated": "Site aktualisiert",
|
"siteUpdated": "Standort aktualisiert",
|
||||||
"siteUpdatedDescription": "Die Site wurde aktualisiert.",
|
"siteUpdatedDescription": "Der Standort wurde aktualisiert.",
|
||||||
"siteGeneralDescription": "Allgemeine Einstellungen für diese Site konfigurieren",
|
"siteGeneralDescription": "Allgemeine Einstellungen für diesen Standort konfigurieren",
|
||||||
"siteSettingDescription": "Konfigurieren der Site Einstellungen",
|
"siteSettingDescription": "Konfigurieren der Standort Einstellungen",
|
||||||
"siteSetting": "{siteName} Einstellungen",
|
"siteSetting": "{siteName} Einstellungen",
|
||||||
"siteNewtTunnel": "Newt-Tunnel (empfohlen)",
|
"siteNewtTunnel": "Newt-Tunnel (empfohlen)",
|
||||||
"siteNewtTunnelDescription": "Einfachster Weg, einen Zugriffspunkt zu deinem Netzwerk zu erstellen. Keine zusätzliche Einrichtung erforderlich.",
|
"siteNewtTunnelDescription": "Einfachster Weg, einen Zugriffspunkt zu deinem Netzwerk zu erstellen. Keine zusätzliche Einrichtung erforderlich.",
|
||||||
"siteWg": "Einfacher WireGuard Tunnel",
|
"siteWg": "Einfacher WireGuard Tunnel",
|
||||||
"siteWgDescription": "Verwende jeden WireGuard-Client, um einen Tunnel einzurichten. Manuelles NAT-Setup erforderlich.",
|
"siteWgDescription": "Verwende jeden WireGuard-Client, um einen Tunnel einzurichten. Manuelles NAT-Setup erforderlich.",
|
||||||
|
"siteWgDescriptionSaas": "Verwenden Sie jeden WireGuard-Client, um einen Tunnel zu erstellen. Manuelles NAT-Setup erforderlich. FUNKTIONIERT NUR BEI SELBSTGEHOSTETEN KNOTEN",
|
||||||
"siteLocalDescription": "Nur lokale Ressourcen. Kein Tunneling.",
|
"siteLocalDescription": "Nur lokale Ressourcen. Kein Tunneling.",
|
||||||
"siteSeeAll": "Alle Sites anzeigen",
|
"siteLocalDescriptionSaas": "Nur lokale Ressourcen. Keine Tunneldurchführung. FUNKTIONIERT NUR BEI SELBSTGEHOSTETEN KNOTEN",
|
||||||
"siteTunnelDescription": "Lege fest, wie du dich mit deiner Site verbinden möchtest",
|
"siteSeeAll": "Alle Standorte anzeigen",
|
||||||
|
"siteTunnelDescription": "Lege fest, wie du dich mit deinem Standort verbinden möchtest",
|
||||||
"siteNewtCredentials": "Neue Newt Zugangsdaten",
|
"siteNewtCredentials": "Neue Newt Zugangsdaten",
|
||||||
"siteNewtCredentialsDescription": "So wird sich Newt mit dem Server authentifizieren",
|
"siteNewtCredentialsDescription": "So wird sich Newt mit dem Server authentifizieren",
|
||||||
"siteCredentialsSave": "Ihre Zugangsdaten speichern",
|
"siteCredentialsSave": "Ihre Zugangsdaten speichern",
|
||||||
"siteCredentialsSaveDescription": "Du kannst das nur einmal sehen. Stelle sicher, dass du es an einen sicheren Ort kopierst.",
|
"siteCredentialsSaveDescription": "Du kannst das nur einmal sehen. Stelle sicher, dass du es an einen sicheren Ort kopierst.",
|
||||||
"siteInfo": "Site-Informationen",
|
"siteInfo": "Standort-Informationen",
|
||||||
"status": "Status",
|
"status": "Status",
|
||||||
"shareTitle": "Links zum Teilen verwalten",
|
"shareTitle": "Links zum Teilen verwalten",
|
||||||
"shareDescription": "Erstellen Sie teilbare Links, um temporären oder permanenten Zugriff auf Ihre Ressourcen zu gewähren",
|
"shareDescription": "Erstellen Sie teilbare Links, um temporären oder permanenten Zugriff auf Ihre Ressourcen zu gewähren",
|
||||||
@@ -163,10 +165,10 @@
|
|||||||
"resourceSeeAll": "Alle Ressourcen anzeigen",
|
"resourceSeeAll": "Alle Ressourcen anzeigen",
|
||||||
"resourceInfo": "Ressourcen-Informationen",
|
"resourceInfo": "Ressourcen-Informationen",
|
||||||
"resourceNameDescription": "Dies ist der Anzeigename für die Ressource.",
|
"resourceNameDescription": "Dies ist der Anzeigename für die Ressource.",
|
||||||
"siteSelect": "Site auswählen",
|
"siteSelect": "Standort auswählen",
|
||||||
"siteSearch": "Website durchsuchen",
|
"siteSearch": "Standorte durchsuchen",
|
||||||
"siteNotFound": "Keine Site gefunden.",
|
"siteNotFound": "Keinen Standort gefunden.",
|
||||||
"siteSelectionDescription": "Diese Seite wird die Verbindung zu der Ressource herstellen.",
|
"siteSelectionDescription": "Dieser Standort wird die Verbindung zum Ziel herstellen.",
|
||||||
"resourceType": "Ressourcentyp",
|
"resourceType": "Ressourcentyp",
|
||||||
"resourceTypeDescription": "Legen Sie fest, wie Sie auf Ihre Ressource zugreifen möchten",
|
"resourceTypeDescription": "Legen Sie fest, wie Sie auf Ihre Ressource zugreifen möchten",
|
||||||
"resourceHTTPSSettings": "HTTPS-Einstellungen",
|
"resourceHTTPSSettings": "HTTPS-Einstellungen",
|
||||||
@@ -197,11 +199,13 @@
|
|||||||
"general": "Allgemein",
|
"general": "Allgemein",
|
||||||
"generalSettings": "Allgemeine Einstellungen",
|
"generalSettings": "Allgemeine Einstellungen",
|
||||||
"proxy": "Proxy",
|
"proxy": "Proxy",
|
||||||
|
"internal": "Intern",
|
||||||
"rules": "Regeln",
|
"rules": "Regeln",
|
||||||
"resourceSettingDescription": "Konfigurieren Sie die Einstellungen Ihrer Ressource",
|
"resourceSettingDescription": "Konfigurieren Sie die Einstellungen Ihrer Ressource",
|
||||||
"resourceSetting": "{resourceName} Einstellungen",
|
"resourceSetting": "{resourceName} Einstellungen",
|
||||||
"alwaysAllow": "Immer erlauben",
|
"alwaysAllow": "Immer erlauben",
|
||||||
"alwaysDeny": "Immer ablehnen",
|
"alwaysDeny": "Immer ablehnen",
|
||||||
|
"passToAuth": "Weiterleiten zur Authentifizierung",
|
||||||
"orgSettingsDescription": "Konfiguriere die allgemeinen Einstellungen deiner Organisation",
|
"orgSettingsDescription": "Konfiguriere die allgemeinen Einstellungen deiner Organisation",
|
||||||
"orgGeneralSettings": "Organisations-Einstellungen",
|
"orgGeneralSettings": "Organisations-Einstellungen",
|
||||||
"orgGeneralSettingsDescription": "Organisationsdetails und Konfiguration verwalten",
|
"orgGeneralSettingsDescription": "Organisationsdetails und Konfiguration verwalten",
|
||||||
@@ -302,7 +306,7 @@
|
|||||||
"userQuestionRemove": "Sind Sie sicher, dass Sie {selectedUser} dauerhaft vom Server löschen möchten?",
|
"userQuestionRemove": "Sind Sie sicher, dass Sie {selectedUser} dauerhaft vom Server löschen möchten?",
|
||||||
"licenseKey": "Lizenzschlüssel",
|
"licenseKey": "Lizenzschlüssel",
|
||||||
"valid": "Gültig",
|
"valid": "Gültig",
|
||||||
"numberOfSites": "Anzahl der Sites",
|
"numberOfSites": "Anzahl der Standorte",
|
||||||
"licenseKeySearch": "Lizenzschlüssel suchen...",
|
"licenseKeySearch": "Lizenzschlüssel suchen...",
|
||||||
"licenseKeyAdd": "Lizenzschlüssel hinzufügen",
|
"licenseKeyAdd": "Lizenzschlüssel hinzufügen",
|
||||||
"type": "Typ",
|
"type": "Typ",
|
||||||
@@ -342,16 +346,16 @@
|
|||||||
"licensedNot": "Nicht lizenziert",
|
"licensedNot": "Nicht lizenziert",
|
||||||
"hostId": "Host-ID",
|
"hostId": "Host-ID",
|
||||||
"licenseReckeckAll": "Überprüfe alle Schlüssel",
|
"licenseReckeckAll": "Überprüfe alle Schlüssel",
|
||||||
"licenseSiteUsage": "Website-Nutzung",
|
"licenseSiteUsage": "Standort-Nutzung",
|
||||||
"licenseSiteUsageDecsription": "Sehen Sie sich die Anzahl der Sites an, die diese Lizenz verwenden.",
|
"licenseSiteUsageDecsription": "Sehen Sie sich die Anzahl der Standorte an, die diese Lizenz verwenden.",
|
||||||
"licenseNoSiteLimit": "Die Anzahl der Sites, die einen nicht lizenzierten Host verwenden, ist unbegrenzt.",
|
"licenseNoSiteLimit": "Die Anzahl der Standorte, die einen nicht lizenzierten Host verwenden, ist unbegrenzt.",
|
||||||
"licensePurchase": "Lizenz kaufen",
|
"licensePurchase": "Lizenz kaufen",
|
||||||
"licensePurchaseSites": "Zusätzliche Seiten kaufen",
|
"licensePurchaseSites": "Zusätzliche Standorte kaufen\n",
|
||||||
"licenseSitesUsedMax": "{usedSites} der {maxSites} Seiten verwendet",
|
"licenseSitesUsedMax": "{usedSites} von {maxSites} Standorten verwendet",
|
||||||
"licenseSitesUsed": "{count, plural, =0 {# Seiten} one {# Seite} other {# Seiten}} im System.",
|
"licenseSitesUsed": "{count, plural, =0 {# Standorte} one {# Standort} other {# Standorte}} im System.",
|
||||||
"licensePurchaseDescription": "Wähle aus, für wieviele Seiten du möchtest {selectedMode, select, license {kaufe eine Lizenz. Du kannst später immer weitere Seiten hinzufügen.} other {Füge zu deiner bestehenden Lizenz hinzu.}}",
|
"licensePurchaseDescription": "Wähle aus, für wieviele Seiten du möchtest {selectedMode, select, license {kaufe eine Lizenz. Du kannst später immer weitere Seiten hinzufügen.} other {Füge zu deiner bestehenden Lizenz hinzu.}}",
|
||||||
"licenseFee": "Lizenzgebühr",
|
"licenseFee": "Lizenzgebühr",
|
||||||
"licensePriceSite": "Preis pro Seite",
|
"licensePriceSite": "Preis pro Standort",
|
||||||
"total": "Gesamt",
|
"total": "Gesamt",
|
||||||
"licenseContinuePayment": "Weiter zur Zahlung",
|
"licenseContinuePayment": "Weiter zur Zahlung",
|
||||||
"pricingPage": "Preisseite",
|
"pricingPage": "Preisseite",
|
||||||
@@ -467,7 +471,7 @@
|
|||||||
"targetErrorDuplicate": "Doppeltes Ziel",
|
"targetErrorDuplicate": "Doppeltes Ziel",
|
||||||
"targetErrorDuplicateDescription": "Ein Ziel mit diesen Einstellungen existiert bereits",
|
"targetErrorDuplicateDescription": "Ein Ziel mit diesen Einstellungen existiert bereits",
|
||||||
"targetWireGuardErrorInvalidIp": "Ungültige Ziel-IP",
|
"targetWireGuardErrorInvalidIp": "Ungültige Ziel-IP",
|
||||||
"targetWireGuardErrorInvalidIpDescription": "Die Ziel-IP muss innerhalb des Site-Subnets liegen",
|
"targetWireGuardErrorInvalidIpDescription": "Die Ziel-IP muss innerhalb des Standort-Subnets liegen",
|
||||||
"targetsUpdated": "Ziele aktualisiert",
|
"targetsUpdated": "Ziele aktualisiert",
|
||||||
"targetsUpdatedDescription": "Ziele und Einstellungen erfolgreich aktualisiert",
|
"targetsUpdatedDescription": "Ziele und Einstellungen erfolgreich aktualisiert",
|
||||||
"targetsErrorUpdate": "Fehler beim Aktualisieren der Ziele",
|
"targetsErrorUpdate": "Fehler beim Aktualisieren der Ziele",
|
||||||
@@ -490,7 +494,7 @@
|
|||||||
"targetTlsSniDescription": "Der zu verwendende TLS-Servername für SNI. Leer lassen, um den Standard zu verwenden.",
|
"targetTlsSniDescription": "Der zu verwendende TLS-Servername für SNI. Leer lassen, um den Standard zu verwenden.",
|
||||||
"targetTlsSubmit": "Einstellungen speichern",
|
"targetTlsSubmit": "Einstellungen speichern",
|
||||||
"targets": "Ziel-Konfiguration",
|
"targets": "Ziel-Konfiguration",
|
||||||
"targetsDescription": "Richten Sie Ziele ein, um Datenverkehr zu Ihren Diensten zu leiten",
|
"targetsDescription": "Richten Sie Ziele ein, um Datenverkehr zu Ihren Backend-Diensten zu leiten",
|
||||||
"targetStickySessions": "Sticky Sessions aktivieren",
|
"targetStickySessions": "Sticky Sessions aktivieren",
|
||||||
"targetStickySessionsDescription": "Verbindungen für die gesamte Sitzung auf demselben Backend-Ziel halten.",
|
"targetStickySessionsDescription": "Verbindungen für die gesamte Sitzung auf demselben Backend-Ziel halten.",
|
||||||
"methodSelect": "Methode auswählen",
|
"methodSelect": "Methode auswählen",
|
||||||
@@ -542,6 +546,7 @@
|
|||||||
"rulesActions": "Aktionen",
|
"rulesActions": "Aktionen",
|
||||||
"rulesActionAlwaysAllow": "Immer erlauben: Alle Authentifizierungsmethoden umgehen",
|
"rulesActionAlwaysAllow": "Immer erlauben: Alle Authentifizierungsmethoden umgehen",
|
||||||
"rulesActionAlwaysDeny": "Immer verweigern: Alle Anfragen blockieren; keine Authentifizierung möglich",
|
"rulesActionAlwaysDeny": "Immer verweigern: Alle Anfragen blockieren; keine Authentifizierung möglich",
|
||||||
|
"rulesActionPassToAuth": "Weiterleiten zur Authentifizierung: Erlaubt das Versuchen von Authentifizierungsmethoden",
|
||||||
"rulesMatchCriteria": "Übereinstimmungskriterien",
|
"rulesMatchCriteria": "Übereinstimmungskriterien",
|
||||||
"rulesMatchCriteriaIpAddress": "Mit einer bestimmten IP-Adresse übereinstimmen",
|
"rulesMatchCriteriaIpAddress": "Mit einer bestimmten IP-Adresse übereinstimmen",
|
||||||
"rulesMatchCriteriaIpAddressRange": "Mit einem IP-Adressbereich in CIDR-Notation übereinstimmen",
|
"rulesMatchCriteriaIpAddressRange": "Mit einem IP-Adressbereich in CIDR-Notation übereinstimmen",
|
||||||
@@ -558,8 +563,8 @@
|
|||||||
"resourceErrorCreateDescription": "Beim Erstellen der Ressource ist ein Fehler aufgetreten",
|
"resourceErrorCreateDescription": "Beim Erstellen der Ressource ist ein Fehler aufgetreten",
|
||||||
"resourceErrorCreateMessage": "Fehler beim Erstellen der Ressource:",
|
"resourceErrorCreateMessage": "Fehler beim Erstellen der Ressource:",
|
||||||
"resourceErrorCreateMessageDescription": "Ein unerwarteter Fehler ist aufgetreten",
|
"resourceErrorCreateMessageDescription": "Ein unerwarteter Fehler ist aufgetreten",
|
||||||
"sitesErrorFetch": "Fehler beim Abrufen der Sites",
|
"sitesErrorFetch": "Fehler beim Abrufen der Standorte",
|
||||||
"sitesErrorFetchDescription": "Beim Abrufen der Sites ist ein Fehler aufgetreten",
|
"sitesErrorFetchDescription": "Beim Abrufen der Standorte ist ein Fehler aufgetreten",
|
||||||
"domainsErrorFetch": "Fehler beim Abrufen der Domains",
|
"domainsErrorFetch": "Fehler beim Abrufen der Domains",
|
||||||
"domainsErrorFetchDescription": "Beim Abrufen der Domains ist ein Fehler aufgetreten",
|
"domainsErrorFetchDescription": "Beim Abrufen der Domains ist ein Fehler aufgetreten",
|
||||||
"none": "Keine",
|
"none": "Keine",
|
||||||
@@ -677,10 +682,10 @@
|
|||||||
"resourceGeneralDescription": "Konfigurieren Sie die allgemeinen Einstellungen für diese Ressource",
|
"resourceGeneralDescription": "Konfigurieren Sie die allgemeinen Einstellungen für diese Ressource",
|
||||||
"resourceEnable": "Ressource aktivieren",
|
"resourceEnable": "Ressource aktivieren",
|
||||||
"resourceTransfer": "Ressource übertragen",
|
"resourceTransfer": "Ressource übertragen",
|
||||||
"resourceTransferDescription": "Diese Ressource auf eine andere Site übertragen",
|
"resourceTransferDescription": "Diese Ressource auf einen anderen Standort übertragen",
|
||||||
"resourceTransferSubmit": "Ressource übertragen",
|
"resourceTransferSubmit": "Ressource übertragen",
|
||||||
"siteDestination": "Zielsite",
|
"siteDestination": "Zielort",
|
||||||
"searchSites": "Sites durchsuchen",
|
"searchSites": "Standorte durchsuchen",
|
||||||
"accessRoleCreate": "Rolle erstellen",
|
"accessRoleCreate": "Rolle erstellen",
|
||||||
"accessRoleCreateDescription": "Erstellen Sie eine neue Rolle, um Benutzer zu gruppieren und ihre Berechtigungen zu verwalten.",
|
"accessRoleCreateDescription": "Erstellen Sie eine neue Rolle, um Benutzer zu gruppieren und ihre Berechtigungen zu verwalten.",
|
||||||
"accessRoleCreateSubmit": "Rolle erstellen",
|
"accessRoleCreateSubmit": "Rolle erstellen",
|
||||||
@@ -700,7 +705,7 @@
|
|||||||
"accessRoleRemovedDescription": "Die Rolle wurde erfolgreich entfernt.",
|
"accessRoleRemovedDescription": "Die Rolle wurde erfolgreich entfernt.",
|
||||||
"accessRoleRequiredRemove": "Bevor Sie diese Rolle löschen, wählen Sie bitte eine neue Rolle aus, zu der die bestehenden Mitglieder übertragen werden sollen.",
|
"accessRoleRequiredRemove": "Bevor Sie diese Rolle löschen, wählen Sie bitte eine neue Rolle aus, zu der die bestehenden Mitglieder übertragen werden sollen.",
|
||||||
"manage": "Verwalten",
|
"manage": "Verwalten",
|
||||||
"sitesNotFound": "Keine Sites gefunden.",
|
"sitesNotFound": "Keine Standorte gefunden.",
|
||||||
"pangolinServerAdmin": "Server-Admin - Pangolin",
|
"pangolinServerAdmin": "Server-Admin - Pangolin",
|
||||||
"licenseTierProfessional": "Professional Lizenz",
|
"licenseTierProfessional": "Professional Lizenz",
|
||||||
"licenseTierEnterprise": "Enterprise Lizenz",
|
"licenseTierEnterprise": "Enterprise Lizenz",
|
||||||
@@ -708,10 +713,10 @@
|
|||||||
"licensed": "Lizenziert",
|
"licensed": "Lizenziert",
|
||||||
"yes": "Ja",
|
"yes": "Ja",
|
||||||
"no": "Nein",
|
"no": "Nein",
|
||||||
"sitesAdditional": "Zusätzliche Sites",
|
"sitesAdditional": "Zusätzliche Standorte",
|
||||||
"licenseKeys": "Lizenzschlüssel",
|
"licenseKeys": "Lizenzschlüssel",
|
||||||
"sitestCountDecrease": "Anzahl der Sites verringern",
|
"sitestCountDecrease": "Anzahl der Standorte verringern",
|
||||||
"sitestCountIncrease": "Anzahl der Sites erhöhen",
|
"sitestCountIncrease": "Anzahl der Standorte erhöhen",
|
||||||
"idpManage": "Identitätsanbieter verwalten",
|
"idpManage": "Identitätsanbieter verwalten",
|
||||||
"idpManageDescription": "Identitätsanbieter im System anzeigen und verwalten",
|
"idpManageDescription": "Identitätsanbieter im System anzeigen und verwalten",
|
||||||
"idpDeletedDescription": "Identitätsanbieter erfolgreich gelöscht",
|
"idpDeletedDescription": "Identitätsanbieter erfolgreich gelöscht",
|
||||||
@@ -833,6 +838,24 @@
|
|||||||
"pincodeRequirementsLength": "PIN muss genau 6 Ziffern lang sein",
|
"pincodeRequirementsLength": "PIN muss genau 6 Ziffern lang sein",
|
||||||
"pincodeRequirementsChars": "PIN darf nur Zahlen enthalten",
|
"pincodeRequirementsChars": "PIN darf nur Zahlen enthalten",
|
||||||
"passwordRequirementsLength": "Passwort muss mindestens 1 Zeichen lang sein",
|
"passwordRequirementsLength": "Passwort muss mindestens 1 Zeichen lang sein",
|
||||||
|
"passwordRequirementsTitle": "Passwortanforderungen:",
|
||||||
|
"passwordRequirementLength": "Mindestens 8 Zeichen lang",
|
||||||
|
"passwordRequirementUppercase": "Mindestens ein Großbuchstabe",
|
||||||
|
"passwordRequirementLowercase": "Mindestens ein Kleinbuchstabe",
|
||||||
|
"passwordRequirementNumber": "Mindestens eine Zahl",
|
||||||
|
"passwordRequirementSpecial": "Mindestens ein Sonderzeichen",
|
||||||
|
"passwordRequirementsMet": "✓ Passwort erfüllt alle Anforderungen",
|
||||||
|
"passwordStrength": "Passwortstärke",
|
||||||
|
"passwordStrengthWeak": "Schwach",
|
||||||
|
"passwordStrengthMedium": "Mittel",
|
||||||
|
"passwordStrengthStrong": "Stark",
|
||||||
|
"passwordRequirements": "Anforderungen:",
|
||||||
|
"passwordRequirementLengthText": "8+ Zeichen",
|
||||||
|
"passwordRequirementUppercaseText": "Großbuchstabe (A-Z)",
|
||||||
|
"passwordRequirementLowercaseText": "Kleinbuchstabe (a-z)",
|
||||||
|
"passwordRequirementNumberText": "Zahl (0-9)",
|
||||||
|
"passwordRequirementSpecialText": "Sonderzeichen (!@#$%...)",
|
||||||
|
"passwordsDoNotMatch": "Passwörter stimmen nicht überein",
|
||||||
"otpEmailRequirementsLength": "OTP muss mindestens 1 Zeichen lang sein",
|
"otpEmailRequirementsLength": "OTP muss mindestens 1 Zeichen lang sein",
|
||||||
"otpEmailSent": "OTP gesendet",
|
"otpEmailSent": "OTP gesendet",
|
||||||
"otpEmailSentDescription": "Ein OTP wurde an Ihre E-Mail gesendet",
|
"otpEmailSentDescription": "Ein OTP wurde an Ihre E-Mail gesendet",
|
||||||
@@ -952,6 +975,7 @@
|
|||||||
"logoutError": "Fehler beim Abmelden",
|
"logoutError": "Fehler beim Abmelden",
|
||||||
"signingAs": "Angemeldet als",
|
"signingAs": "Angemeldet als",
|
||||||
"serverAdmin": "Server-Administrator",
|
"serverAdmin": "Server-Administrator",
|
||||||
|
"managedSelfhosted": "Verwaltetes Selbsthosted",
|
||||||
"otpEnable": "Zwei-Faktor aktivieren",
|
"otpEnable": "Zwei-Faktor aktivieren",
|
||||||
"otpDisable": "Zwei-Faktor deaktivieren",
|
"otpDisable": "Zwei-Faktor deaktivieren",
|
||||||
"logout": "Abmelden",
|
"logout": "Abmelden",
|
||||||
@@ -963,12 +987,15 @@
|
|||||||
"actionGetUser": "Benutzer abrufen",
|
"actionGetUser": "Benutzer abrufen",
|
||||||
"actionGetOrgUser": "Organisationsbenutzer abrufen",
|
"actionGetOrgUser": "Organisationsbenutzer abrufen",
|
||||||
"actionListOrgDomains": "Organisationsdomänen auflisten",
|
"actionListOrgDomains": "Organisationsdomänen auflisten",
|
||||||
"actionCreateSite": "Site erstellen",
|
"actionCreateSite": "Standort erstellen",
|
||||||
"actionDeleteSite": "Site löschen",
|
"actionDeleteSite": "Standort löschen",
|
||||||
"actionGetSite": "Site abrufen",
|
"actionGetSite": "Standort abrufen",
|
||||||
"actionListSites": "Sites auflisten",
|
"actionListSites": "Standorte auflisten",
|
||||||
"actionUpdateSite": "Site aktualisieren",
|
"setupToken": "Setup-Token",
|
||||||
"actionListSiteRoles": "Erlaubte Site-Rollen auflisten",
|
"setupTokenDescription": "Geben Sie das Setup-Token von der Serverkonsole ein.",
|
||||||
|
"setupTokenRequired": "Setup-Token ist erforderlich",
|
||||||
|
"actionUpdateSite": "Standorte aktualisieren",
|
||||||
|
"actionListSiteRoles": "Erlaubte Standort-Rollen auflisten",
|
||||||
"actionCreateResource": "Ressource erstellen",
|
"actionCreateResource": "Ressource erstellen",
|
||||||
"actionDeleteResource": "Ressource löschen",
|
"actionDeleteResource": "Ressource löschen",
|
||||||
"actionGetResource": "Ressource abrufen",
|
"actionGetResource": "Ressource abrufen",
|
||||||
@@ -1022,6 +1049,16 @@
|
|||||||
"actionDeleteIdpOrg": "IDP-Organisationsrichtlinie löschen",
|
"actionDeleteIdpOrg": "IDP-Organisationsrichtlinie löschen",
|
||||||
"actionListIdpOrgs": "IDP-Organisationen auflisten",
|
"actionListIdpOrgs": "IDP-Organisationen auflisten",
|
||||||
"actionUpdateIdpOrg": "IDP-Organisation aktualisieren",
|
"actionUpdateIdpOrg": "IDP-Organisation aktualisieren",
|
||||||
|
"actionCreateClient": "Kunde erstellen",
|
||||||
|
"actionDeleteClient": "Kunde löschen",
|
||||||
|
"actionUpdateClient": "Kunde aktualisieren",
|
||||||
|
"actionListClients": "Kunden auflisten",
|
||||||
|
"actionGetClient": "Kunde holen",
|
||||||
|
"actionCreateSiteResource": "Site-Ressource erstellen",
|
||||||
|
"actionDeleteSiteResource": "Site-Ressource löschen",
|
||||||
|
"actionGetSiteResource": "Site-Ressource abrufen",
|
||||||
|
"actionListSiteResources": "Site-Ressourcen auflisten",
|
||||||
|
"actionUpdateSiteResource": "Site-Ressource aktualisieren",
|
||||||
"noneSelected": "Keine ausgewählt",
|
"noneSelected": "Keine ausgewählt",
|
||||||
"orgNotFound2": "Keine Organisationen gefunden.",
|
"orgNotFound2": "Keine Organisationen gefunden.",
|
||||||
"searchProgress": "Suche...",
|
"searchProgress": "Suche...",
|
||||||
@@ -1073,7 +1110,7 @@
|
|||||||
"language": "Sprache",
|
"language": "Sprache",
|
||||||
"verificationCodeRequired": "Code ist erforderlich",
|
"verificationCodeRequired": "Code ist erforderlich",
|
||||||
"userErrorNoUpdate": "Kein Benutzer zum Aktualisieren",
|
"userErrorNoUpdate": "Kein Benutzer zum Aktualisieren",
|
||||||
"siteErrorNoUpdate": "Keine Site zum Aktualisieren",
|
"siteErrorNoUpdate": "Keine Standorte zum Aktualisieren",
|
||||||
"resourceErrorNoUpdate": "Keine Ressource zum Aktualisieren",
|
"resourceErrorNoUpdate": "Keine Ressource zum Aktualisieren",
|
||||||
"authErrorNoUpdate": "Keine Auth-Informationen zum Aktualisieren",
|
"authErrorNoUpdate": "Keine Auth-Informationen zum Aktualisieren",
|
||||||
"orgErrorNoUpdate": "Keine Organisation zum Aktualisieren",
|
"orgErrorNoUpdate": "Keine Organisation zum Aktualisieren",
|
||||||
@@ -1081,7 +1118,7 @@
|
|||||||
"apiKeysErrorNoUpdate": "Kein API-Schlüssel zum Aktualisieren",
|
"apiKeysErrorNoUpdate": "Kein API-Schlüssel zum Aktualisieren",
|
||||||
"sidebarOverview": "Übersicht",
|
"sidebarOverview": "Übersicht",
|
||||||
"sidebarHome": "Zuhause",
|
"sidebarHome": "Zuhause",
|
||||||
"sidebarSites": "Seiten",
|
"sidebarSites": "Standorte",
|
||||||
"sidebarResources": "Ressourcen",
|
"sidebarResources": "Ressourcen",
|
||||||
"sidebarAccessControl": "Zugriffskontrolle",
|
"sidebarAccessControl": "Zugriffskontrolle",
|
||||||
"sidebarUsers": "Benutzer",
|
"sidebarUsers": "Benutzer",
|
||||||
@@ -1280,21 +1317,21 @@
|
|||||||
"and": "und",
|
"and": "und",
|
||||||
"privacyPolicy": "Datenschutzrichtlinie"
|
"privacyPolicy": "Datenschutzrichtlinie"
|
||||||
},
|
},
|
||||||
"siteRequired": "Site ist erforderlich.",
|
"siteRequired": "Standort ist erforderlich.",
|
||||||
"olmTunnel": "Olm Tunnel",
|
"olmTunnel": "Olm Tunnel",
|
||||||
"olmTunnelDescription": "Nutzen Sie Olm für die Kundenverbindung",
|
"olmTunnelDescription": "Nutzen Sie Olm für die Kundenverbindung",
|
||||||
"errorCreatingClient": "Fehler beim Erstellen des Clients",
|
"errorCreatingClient": "Fehler beim Erstellen des Clients",
|
||||||
"clientDefaultsNotFound": "Kundenvorgaben nicht gefunden",
|
"clientDefaultsNotFound": "Kundenvorgaben nicht gefunden",
|
||||||
"createClient": "Client erstellen",
|
"createClient": "Client erstellen",
|
||||||
"createClientDescription": "Erstellen Sie einen neuen Client für die Verbindung zu Ihren Sites.",
|
"createClientDescription": "Erstellen Sie einen neuen Client für die Verbindung zu Ihren Standorten.",
|
||||||
"seeAllClients": "Alle Clients anzeigen",
|
"seeAllClients": "Alle Clients anzeigen",
|
||||||
"clientInformation": "Kundeninformationen",
|
"clientInformation": "Kundeninformationen",
|
||||||
"clientNamePlaceholder": "Kundenname",
|
"clientNamePlaceholder": "Kundenname",
|
||||||
"address": "Adresse",
|
"address": "Adresse",
|
||||||
"subnetPlaceholder": "Subnetz",
|
"subnetPlaceholder": "Subnetz",
|
||||||
"addressDescription": "Die Adresse, die dieser Client für die Verbindung verwenden wird.",
|
"addressDescription": "Die Adresse, die dieser Client für die Verbindung verwenden wird.",
|
||||||
"selectSites": "Sites auswählen",
|
"selectSites": "Standorte auswählen",
|
||||||
"sitesDescription": "Der Client wird zu den ausgewählten Sites eine Verbindung haben.",
|
"sitesDescription": "Der Client wird zu den ausgewählten Standorten eine Verbindung haben.",
|
||||||
"clientInstallOlm": "Olm installieren",
|
"clientInstallOlm": "Olm installieren",
|
||||||
"clientInstallOlmDescription": "Olm auf Ihrem System zum Laufen bringen",
|
"clientInstallOlmDescription": "Olm auf Ihrem System zum Laufen bringen",
|
||||||
"clientOlmCredentials": "Olm-Zugangsdaten",
|
"clientOlmCredentials": "Olm-Zugangsdaten",
|
||||||
@@ -1309,14 +1346,116 @@
|
|||||||
"clientUpdatedDescription": "Der Client wurde aktualisiert.",
|
"clientUpdatedDescription": "Der Client wurde aktualisiert.",
|
||||||
"clientUpdateFailed": "Fehler beim Aktualisieren des Clients",
|
"clientUpdateFailed": "Fehler beim Aktualisieren des Clients",
|
||||||
"clientUpdateError": "Beim Aktualisieren des Clients ist ein Fehler aufgetreten.",
|
"clientUpdateError": "Beim Aktualisieren des Clients ist ein Fehler aufgetreten.",
|
||||||
"sitesFetchFailed": "Fehler beim Abrufen von Sites",
|
"sitesFetchFailed": "Fehler beim Abrufen von Standorten",
|
||||||
"sitesFetchError": "Beim Abrufen von Sites ist ein Fehler aufgetreten.",
|
"sitesFetchError": "Beim Abrufen von Standorten ist ein Fehler aufgetreten.",
|
||||||
"olmErrorFetchReleases": "Beim Abrufen von Olm-Veröffentlichungen ist ein Fehler aufgetreten.",
|
"olmErrorFetchReleases": "Beim Abrufen von Olm-Veröffentlichungen ist ein Fehler aufgetreten.",
|
||||||
"olmErrorFetchLatest": "Beim Abrufen der neuesten Olm-Veröffentlichung ist ein Fehler aufgetreten.",
|
"olmErrorFetchLatest": "Beim Abrufen der neuesten Olm-Veröffentlichung ist ein Fehler aufgetreten.",
|
||||||
"remoteSubnets": "Remote-Subnetze",
|
"remoteSubnets": "Remote-Subnetze",
|
||||||
"enterCidrRange": "Geben Sie den CIDR-Bereich ein",
|
"enterCidrRange": "Geben Sie den CIDR-Bereich ein",
|
||||||
"remoteSubnetsDescription": "Fügen Sie CIDR-Bereiche hinzu, die aus der Ferne auf diese Site zugreifen können. Verwenden Sie das Format wie 10.0.0.0/24 oder 192.168.1.0/24.",
|
"remoteSubnetsDescription": "Fügen Sie CIDR-Bereiche hinzu, die über Clients von dieser Site aus remote zugänglich sind. Verwenden Sie ein Format wie 10.0.0.0/24. Dies gilt NUR für die VPN-Client-Konnektivität.",
|
||||||
"resourceEnableProxy": "Öffentlichen Proxy aktivieren",
|
"resourceEnableProxy": "Öffentlichen Proxy aktivieren",
|
||||||
"resourceEnableProxyDescription": "Ermöglichen Sie öffentliches Proxieren zu dieser Ressource. Dies ermöglicht den Zugriff auf die Ressource von außerhalb des Netzwerks durch die Cloud über einen offenen Port. Erfordert Traefik-Config.",
|
"resourceEnableProxyDescription": "Ermöglichen Sie öffentliches Proxieren zu dieser Ressource. Dies ermöglicht den Zugriff auf die Ressource von außerhalb des Netzwerks durch die Cloud über einen offenen Port. Erfordert Traefik-Config.",
|
||||||
"externalProxyEnabled": "Externer Proxy aktiviert"
|
"externalProxyEnabled": "Externer Proxy aktiviert",
|
||||||
|
"addNewTarget": "Neues Ziel hinzufügen",
|
||||||
|
"targetsList": "Ziel-Liste",
|
||||||
|
"targetErrorDuplicateTargetFound": "Doppeltes Ziel gefunden",
|
||||||
|
"httpMethod": "HTTP-Methode",
|
||||||
|
"selectHttpMethod": "HTTP-Methode auswählen",
|
||||||
|
"domainPickerSubdomainLabel": "Subdomain",
|
||||||
|
"domainPickerBaseDomainLabel": "Basisdomäne",
|
||||||
|
"domainPickerSearchDomains": "Domains suchen...",
|
||||||
|
"domainPickerNoDomainsFound": "Keine Domains gefunden",
|
||||||
|
"domainPickerLoadingDomains": "Domains werden geladen...",
|
||||||
|
"domainPickerSelectBaseDomain": "Basisdomäne auswählen...",
|
||||||
|
"domainPickerNotAvailableForCname": "Für CNAME-Domains nicht verfügbar",
|
||||||
|
"domainPickerEnterSubdomainOrLeaveBlank": "Geben Sie eine Subdomain ein oder lassen Sie das Feld leer, um die Basisdomäne zu verwenden.",
|
||||||
|
"domainPickerEnterSubdomainToSearch": "Geben Sie eine Subdomain ein, um verfügbare freie Domains zu suchen und auszuwählen.",
|
||||||
|
"domainPickerFreeDomains": "Freie Domains",
|
||||||
|
"domainPickerSearchForAvailableDomains": "Verfügbare Domains suchen",
|
||||||
|
"resourceDomain": "Domain",
|
||||||
|
"resourceEditDomain": "Domain bearbeiten",
|
||||||
|
"siteName": "Site-Name",
|
||||||
|
"proxyPort": "Port",
|
||||||
|
"resourcesTableProxyResources": "Proxy-Ressourcen",
|
||||||
|
"resourcesTableClientResources": "Client-Ressourcen",
|
||||||
|
"resourcesTableNoProxyResourcesFound": "Keine Proxy-Ressourcen gefunden.",
|
||||||
|
"resourcesTableNoInternalResourcesFound": "Keine internen Ressourcen gefunden.",
|
||||||
|
"resourcesTableDestination": "Ziel",
|
||||||
|
"resourcesTableTheseResourcesForUseWith": "Diese Ressourcen sind zur Verwendung mit",
|
||||||
|
"resourcesTableClients": "Kunden",
|
||||||
|
"resourcesTableAndOnlyAccessibleInternally": "und sind nur intern zugänglich, wenn mit einem Client verbunden.",
|
||||||
|
"editInternalResourceDialogEditClientResource": "Client-Ressource bearbeiten",
|
||||||
|
"editInternalResourceDialogUpdateResourceProperties": "Aktualisieren Sie die Ressourceneigenschaften und die Zielkonfiguration für {resourceName}.",
|
||||||
|
"editInternalResourceDialogResourceProperties": "Ressourceneigenschaften",
|
||||||
|
"editInternalResourceDialogName": "Name",
|
||||||
|
"editInternalResourceDialogProtocol": "Protokoll",
|
||||||
|
"editInternalResourceDialogSitePort": "Site-Port",
|
||||||
|
"editInternalResourceDialogTargetConfiguration": "Zielkonfiguration",
|
||||||
|
"editInternalResourceDialogDestinationIP": "Ziel-IP",
|
||||||
|
"editInternalResourceDialogDestinationPort": "Ziel-Port",
|
||||||
|
"editInternalResourceDialogCancel": "Abbrechen",
|
||||||
|
"editInternalResourceDialogSaveResource": "Ressource speichern",
|
||||||
|
"editInternalResourceDialogSuccess": "Erfolg",
|
||||||
|
"editInternalResourceDialogInternalResourceUpdatedSuccessfully": "Interne Ressource erfolgreich aktualisiert",
|
||||||
|
"editInternalResourceDialogError": "Fehler",
|
||||||
|
"editInternalResourceDialogFailedToUpdateInternalResource": "Interne Ressource konnte nicht aktualisiert werden",
|
||||||
|
"editInternalResourceDialogNameRequired": "Name ist erforderlich",
|
||||||
|
"editInternalResourceDialogNameMaxLength": "Der Name darf nicht länger als 255 Zeichen sein",
|
||||||
|
"editInternalResourceDialogProxyPortMin": "Proxy-Port muss mindestens 1 sein",
|
||||||
|
"editInternalResourceDialogProxyPortMax": "Proxy-Port muss kleiner als 65536 sein",
|
||||||
|
"editInternalResourceDialogInvalidIPAddressFormat": "Ungültiges IP-Adressformat",
|
||||||
|
"editInternalResourceDialogDestinationPortMin": "Ziel-Port muss mindestens 1 sein",
|
||||||
|
"editInternalResourceDialogDestinationPortMax": "Ziel-Port muss kleiner als 65536 sein",
|
||||||
|
"createInternalResourceDialogNoSitesAvailable": "Keine Sites verfügbar",
|
||||||
|
"createInternalResourceDialogNoSitesAvailableDescription": "Sie müssen mindestens eine Newt-Site mit einem konfigurierten Subnetz haben, um interne Ressourcen zu erstellen.",
|
||||||
|
"createInternalResourceDialogClose": "Schließen",
|
||||||
|
"createInternalResourceDialogCreateClientResource": "Ressource erstellen",
|
||||||
|
"createInternalResourceDialogCreateClientResourceDescription": "Erstellen Sie eine neue Ressource, die für Clients zugänglich ist, die mit der ausgewählten Site verbunden sind.",
|
||||||
|
"createInternalResourceDialogResourceProperties": "Ressourceneigenschaften",
|
||||||
|
"createInternalResourceDialogName": "Name",
|
||||||
|
"createInternalResourceDialogSite": "Standort",
|
||||||
|
"createInternalResourceDialogSelectSite": "Standort auswählen...",
|
||||||
|
"createInternalResourceDialogSearchSites": "Sites durchsuchen...",
|
||||||
|
"createInternalResourceDialogNoSitesFound": "Keine Standorte gefunden.",
|
||||||
|
"createInternalResourceDialogProtocol": "Protokoll",
|
||||||
|
"createInternalResourceDialogTcp": "TCP",
|
||||||
|
"createInternalResourceDialogUdp": "UDP",
|
||||||
|
"createInternalResourceDialogSitePort": "Site-Port",
|
||||||
|
"createInternalResourceDialogSitePortDescription": "Verwenden Sie diesen Port, um bei Verbindung mit einem Client auf die Ressource an der Site zuzugreifen.",
|
||||||
|
"createInternalResourceDialogTargetConfiguration": "Zielkonfiguration",
|
||||||
|
"createInternalResourceDialogDestinationIP": "Ziel-IP",
|
||||||
|
"createInternalResourceDialogDestinationIPDescription": "Die IP-Adresse der Ressource im Netzwerkstandort der Site.",
|
||||||
|
"createInternalResourceDialogDestinationPort": "Ziel-Port",
|
||||||
|
"createInternalResourceDialogDestinationPortDescription": "Der Port auf der Ziel-IP, unter dem die Ressource zugänglich ist.",
|
||||||
|
"createInternalResourceDialogCancel": "Abbrechen",
|
||||||
|
"createInternalResourceDialogCreateResource": "Ressource erstellen",
|
||||||
|
"createInternalResourceDialogSuccess": "Erfolg",
|
||||||
|
"createInternalResourceDialogInternalResourceCreatedSuccessfully": "Interne Ressource erfolgreich erstellt",
|
||||||
|
"createInternalResourceDialogError": "Fehler",
|
||||||
|
"createInternalResourceDialogFailedToCreateInternalResource": "Interne Ressource konnte nicht erstellt werden",
|
||||||
|
"createInternalResourceDialogNameRequired": "Name ist erforderlich",
|
||||||
|
"createInternalResourceDialogNameMaxLength": "Der Name darf nicht länger als 255 Zeichen sein",
|
||||||
|
"createInternalResourceDialogPleaseSelectSite": "Bitte wählen Sie eine Site aus",
|
||||||
|
"createInternalResourceDialogProxyPortMin": "Proxy-Port muss mindestens 1 sein",
|
||||||
|
"createInternalResourceDialogProxyPortMax": "Proxy-Port muss kleiner als 65536 sein",
|
||||||
|
"createInternalResourceDialogInvalidIPAddressFormat": "Ungültiges IP-Adressformat",
|
||||||
|
"createInternalResourceDialogDestinationPortMin": "Ziel-Port muss mindestens 1 sein",
|
||||||
|
"createInternalResourceDialogDestinationPortMax": "Ziel-Port muss kleiner als 65536 sein",
|
||||||
|
"siteConfiguration": "Konfiguration",
|
||||||
|
"siteAcceptClientConnections": "Clientverbindungen akzeptieren",
|
||||||
|
"siteAcceptClientConnectionsDescription": "Erlauben Sie anderen Geräten, über diese Newt-Instanz mit Clients als Gateway zu verbinden.",
|
||||||
|
"siteAddress": "Site-Adresse",
|
||||||
|
"siteAddressDescription": "Geben Sie die IP-Adresse des Hosts an, mit dem sich die Clients verbinden sollen. Dies ist die interne Adresse der Site im Pangolin-Netzwerk, die von Clients angesprochen werden muss. Muss innerhalb des Unternehmens-Subnetzes liegen.",
|
||||||
|
"autoLoginExternalIdp": "Automatische Anmeldung mit externem IDP",
|
||||||
|
"autoLoginExternalIdpDescription": "Leiten Sie den Benutzer sofort zur Authentifizierung an den externen IDP weiter.",
|
||||||
|
"selectIdp": "IDP auswählen",
|
||||||
|
"selectIdpPlaceholder": "Wählen Sie einen IDP...",
|
||||||
|
"selectIdpRequired": "Bitte wählen Sie einen IDP aus, wenn automatische Anmeldung aktiviert ist.",
|
||||||
|
"autoLoginTitle": "Weiterleitung",
|
||||||
|
"autoLoginDescription": "Sie werden zum externen Identitätsanbieter zur Authentifizierung weitergeleitet.",
|
||||||
|
"autoLoginProcessing": "Authentifizierung vorbereiten...",
|
||||||
|
"autoLoginRedirecting": "Weiterleitung zur Anmeldung...",
|
||||||
|
"autoLoginError": "Fehler bei der automatischen Anmeldung",
|
||||||
|
"autoLoginErrorNoRedirectUrl": "Keine Weiterleitungs-URL vom Identitätsanbieter erhalten.",
|
||||||
|
"autoLoginErrorGeneratingUrl": "Fehler beim Generieren der Authentifizierungs-URL."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -94,7 +94,9 @@
|
|||||||
"siteNewtTunnelDescription": "Easiest way to create an entrypoint into your network. No extra setup.",
|
"siteNewtTunnelDescription": "Easiest way to create an entrypoint into your network. No extra setup.",
|
||||||
"siteWg": "Basic WireGuard",
|
"siteWg": "Basic WireGuard",
|
||||||
"siteWgDescription": "Use any WireGuard client to establish a tunnel. Manual NAT setup required.",
|
"siteWgDescription": "Use any WireGuard client to establish a tunnel. Manual NAT setup required.",
|
||||||
|
"siteWgDescriptionSaas": "Use any WireGuard client to establish a tunnel. Manual NAT setup required. ONLY WORKS ON SELF HOSTED NODES",
|
||||||
"siteLocalDescription": "Local resources only. No tunneling.",
|
"siteLocalDescription": "Local resources only. No tunneling.",
|
||||||
|
"siteLocalDescriptionSaas": "Local resources only. No tunneling. ONLY WORKS ON SELF HOSTED NODES",
|
||||||
"siteSeeAll": "See All Sites",
|
"siteSeeAll": "See All Sites",
|
||||||
"siteTunnelDescription": "Determine how you want to connect to your site",
|
"siteTunnelDescription": "Determine how you want to connect to your site",
|
||||||
"siteNewtCredentials": "Newt Credentials",
|
"siteNewtCredentials": "Newt Credentials",
|
||||||
@@ -166,7 +168,7 @@
|
|||||||
"siteSelect": "Select site",
|
"siteSelect": "Select site",
|
||||||
"siteSearch": "Search site",
|
"siteSearch": "Search site",
|
||||||
"siteNotFound": "No site found.",
|
"siteNotFound": "No site found.",
|
||||||
"siteSelectionDescription": "This site will provide connectivity to the resource.",
|
"siteSelectionDescription": "This site will provide connectivity to the target.",
|
||||||
"resourceType": "Resource Type",
|
"resourceType": "Resource Type",
|
||||||
"resourceTypeDescription": "Determine how you want to access your resource",
|
"resourceTypeDescription": "Determine how you want to access your resource",
|
||||||
"resourceHTTPSSettings": "HTTPS Settings",
|
"resourceHTTPSSettings": "HTTPS Settings",
|
||||||
@@ -197,11 +199,13 @@
|
|||||||
"general": "General",
|
"general": "General",
|
||||||
"generalSettings": "General Settings",
|
"generalSettings": "General Settings",
|
||||||
"proxy": "Proxy",
|
"proxy": "Proxy",
|
||||||
|
"internal": "Internal",
|
||||||
"rules": "Rules",
|
"rules": "Rules",
|
||||||
"resourceSettingDescription": "Configure the settings on your resource",
|
"resourceSettingDescription": "Configure the settings on your resource",
|
||||||
"resourceSetting": "{resourceName} Settings",
|
"resourceSetting": "{resourceName} Settings",
|
||||||
"alwaysAllow": "Always Allow",
|
"alwaysAllow": "Always Allow",
|
||||||
"alwaysDeny": "Always Deny",
|
"alwaysDeny": "Always Deny",
|
||||||
|
"passToAuth": "Pass to Auth",
|
||||||
"orgSettingsDescription": "Configure your organization's general settings",
|
"orgSettingsDescription": "Configure your organization's general settings",
|
||||||
"orgGeneralSettings": "Organization Settings",
|
"orgGeneralSettings": "Organization Settings",
|
||||||
"orgGeneralSettingsDescription": "Manage your organization details and configuration",
|
"orgGeneralSettingsDescription": "Manage your organization details and configuration",
|
||||||
@@ -490,7 +494,7 @@
|
|||||||
"targetTlsSniDescription": "The TLS Server Name to use for SNI. Leave empty to use the default.",
|
"targetTlsSniDescription": "The TLS Server Name to use for SNI. Leave empty to use the default.",
|
||||||
"targetTlsSubmit": "Save Settings",
|
"targetTlsSubmit": "Save Settings",
|
||||||
"targets": "Targets Configuration",
|
"targets": "Targets Configuration",
|
||||||
"targetsDescription": "Set up targets to route traffic to your services",
|
"targetsDescription": "Set up targets to route traffic to your backend services",
|
||||||
"targetStickySessions": "Enable Sticky Sessions",
|
"targetStickySessions": "Enable Sticky Sessions",
|
||||||
"targetStickySessionsDescription": "Keep connections on the same backend target for their entire session.",
|
"targetStickySessionsDescription": "Keep connections on the same backend target for their entire session.",
|
||||||
"methodSelect": "Select method",
|
"methodSelect": "Select method",
|
||||||
@@ -542,6 +546,7 @@
|
|||||||
"rulesActions": "Actions",
|
"rulesActions": "Actions",
|
||||||
"rulesActionAlwaysAllow": "Always Allow: Bypass all authentication methods",
|
"rulesActionAlwaysAllow": "Always Allow: Bypass all authentication methods",
|
||||||
"rulesActionAlwaysDeny": "Always Deny: Block all requests; no authentication can be attempted",
|
"rulesActionAlwaysDeny": "Always Deny: Block all requests; no authentication can be attempted",
|
||||||
|
"rulesActionPassToAuth": "Pass to Auth: Allow authentication methods to be attempted",
|
||||||
"rulesMatchCriteria": "Matching Criteria",
|
"rulesMatchCriteria": "Matching Criteria",
|
||||||
"rulesMatchCriteriaIpAddress": "Match a specific IP address",
|
"rulesMatchCriteriaIpAddress": "Match a specific IP address",
|
||||||
"rulesMatchCriteriaIpAddressRange": "Match a range of IP addresses in CIDR notation",
|
"rulesMatchCriteriaIpAddressRange": "Match a range of IP addresses in CIDR notation",
|
||||||
@@ -833,6 +838,24 @@
|
|||||||
"pincodeRequirementsLength": "PIN must be exactly 6 digits",
|
"pincodeRequirementsLength": "PIN must be exactly 6 digits",
|
||||||
"pincodeRequirementsChars": "PIN must only contain numbers",
|
"pincodeRequirementsChars": "PIN must only contain numbers",
|
||||||
"passwordRequirementsLength": "Password must be at least 1 character long",
|
"passwordRequirementsLength": "Password must be at least 1 character long",
|
||||||
|
"passwordRequirementsTitle": "Password requirements:",
|
||||||
|
"passwordRequirementLength": "At least 8 characters long",
|
||||||
|
"passwordRequirementUppercase": "At least one uppercase letter",
|
||||||
|
"passwordRequirementLowercase": "At least one lowercase letter",
|
||||||
|
"passwordRequirementNumber": "At least one number",
|
||||||
|
"passwordRequirementSpecial": "At least one special character",
|
||||||
|
"passwordRequirementsMet": "✓ Password meets all requirements",
|
||||||
|
"passwordStrength": "Password strength",
|
||||||
|
"passwordStrengthWeak": "Weak",
|
||||||
|
"passwordStrengthMedium": "Medium",
|
||||||
|
"passwordStrengthStrong": "Strong",
|
||||||
|
"passwordRequirements": "Requirements:",
|
||||||
|
"passwordRequirementLengthText": "8+ characters",
|
||||||
|
"passwordRequirementUppercaseText": "Uppercase letter (A-Z)",
|
||||||
|
"passwordRequirementLowercaseText": "Lowercase letter (a-z)",
|
||||||
|
"passwordRequirementNumberText": "Number (0-9)",
|
||||||
|
"passwordRequirementSpecialText": "Special character (!@#$%...)",
|
||||||
|
"passwordsDoNotMatch": "Passwords do not match",
|
||||||
"otpEmailRequirementsLength": "OTP must be at least 1 character long",
|
"otpEmailRequirementsLength": "OTP must be at least 1 character long",
|
||||||
"otpEmailSent": "OTP Sent",
|
"otpEmailSent": "OTP Sent",
|
||||||
"otpEmailSentDescription": "An OTP has been sent to your email",
|
"otpEmailSentDescription": "An OTP has been sent to your email",
|
||||||
@@ -952,6 +975,7 @@
|
|||||||
"logoutError": "Error logging out",
|
"logoutError": "Error logging out",
|
||||||
"signingAs": "Signed in as",
|
"signingAs": "Signed in as",
|
||||||
"serverAdmin": "Server Admin",
|
"serverAdmin": "Server Admin",
|
||||||
|
"managedSelfhosted": "Managed Self-Hosted",
|
||||||
"otpEnable": "Enable Two-factor",
|
"otpEnable": "Enable Two-factor",
|
||||||
"otpDisable": "Disable Two-factor",
|
"otpDisable": "Disable Two-factor",
|
||||||
"logout": "Log Out",
|
"logout": "Log Out",
|
||||||
@@ -967,6 +991,9 @@
|
|||||||
"actionDeleteSite": "Delete Site",
|
"actionDeleteSite": "Delete Site",
|
||||||
"actionGetSite": "Get Site",
|
"actionGetSite": "Get Site",
|
||||||
"actionListSites": "List Sites",
|
"actionListSites": "List Sites",
|
||||||
|
"setupToken": "Setup Token",
|
||||||
|
"setupTokenDescription": "Enter the setup token from the server console.",
|
||||||
|
"setupTokenRequired": "Setup token is required",
|
||||||
"actionUpdateSite": "Update Site",
|
"actionUpdateSite": "Update Site",
|
||||||
"actionListSiteRoles": "List Allowed Site Roles",
|
"actionListSiteRoles": "List Allowed Site Roles",
|
||||||
"actionCreateResource": "Create Resource",
|
"actionCreateResource": "Create Resource",
|
||||||
@@ -1022,6 +1049,16 @@
|
|||||||
"actionDeleteIdpOrg": "Delete IDP Org Policy",
|
"actionDeleteIdpOrg": "Delete IDP Org Policy",
|
||||||
"actionListIdpOrgs": "List IDP Orgs",
|
"actionListIdpOrgs": "List IDP Orgs",
|
||||||
"actionUpdateIdpOrg": "Update IDP Org",
|
"actionUpdateIdpOrg": "Update IDP Org",
|
||||||
|
"actionCreateClient": "Create Client",
|
||||||
|
"actionDeleteClient": "Delete Client",
|
||||||
|
"actionUpdateClient": "Update Client",
|
||||||
|
"actionListClients": "List Clients",
|
||||||
|
"actionGetClient": "Get Client",
|
||||||
|
"actionCreateSiteResource": "Create Site Resource",
|
||||||
|
"actionDeleteSiteResource": "Delete Site Resource",
|
||||||
|
"actionGetSiteResource": "Get Site Resource",
|
||||||
|
"actionListSiteResources": "List Site Resources",
|
||||||
|
"actionUpdateSiteResource": "Update Site Resource",
|
||||||
"noneSelected": "None selected",
|
"noneSelected": "None selected",
|
||||||
"orgNotFound2": "No organizations found.",
|
"orgNotFound2": "No organizations found.",
|
||||||
"searchProgress": "Search...",
|
"searchProgress": "Search...",
|
||||||
@@ -1315,8 +1352,110 @@
|
|||||||
"olmErrorFetchLatest": "An error occurred while fetching the latest Olm release.",
|
"olmErrorFetchLatest": "An error occurred while fetching the latest Olm release.",
|
||||||
"remoteSubnets": "Remote Subnets",
|
"remoteSubnets": "Remote Subnets",
|
||||||
"enterCidrRange": "Enter CIDR range",
|
"enterCidrRange": "Enter CIDR range",
|
||||||
"remoteSubnetsDescription": "Add CIDR ranges that can access this site remotely. Use format like 10.0.0.0/24 or 192.168.1.0/24.",
|
"remoteSubnetsDescription": "Add CIDR ranges that can be accessed from this site remotely using clients. Use format like 10.0.0.0/24. This ONLY applies to VPN client connectivity.",
|
||||||
"resourceEnableProxy": "Enable Public Proxy",
|
"resourceEnableProxy": "Enable Public Proxy",
|
||||||
"resourceEnableProxyDescription": "Enable public proxying to this resource. This allows access to the resource from outside the network through the cloud on an open port. Requires Traefik config.",
|
"resourceEnableProxyDescription": "Enable public proxying to this resource. This allows access to the resource from outside the network through the cloud on an open port. Requires Traefik config.",
|
||||||
"externalProxyEnabled": "External Proxy Enabled"
|
"externalProxyEnabled": "External Proxy Enabled",
|
||||||
|
"addNewTarget": "Add New Target",
|
||||||
|
"targetsList": "Targets List",
|
||||||
|
"targetErrorDuplicateTargetFound": "Duplicate target found",
|
||||||
|
"httpMethod": "HTTP Method",
|
||||||
|
"selectHttpMethod": "Select HTTP method",
|
||||||
|
"domainPickerSubdomainLabel": "Subdomain",
|
||||||
|
"domainPickerBaseDomainLabel": "Base Domain",
|
||||||
|
"domainPickerSearchDomains": "Search domains...",
|
||||||
|
"domainPickerNoDomainsFound": "No domains found",
|
||||||
|
"domainPickerLoadingDomains": "Loading domains...",
|
||||||
|
"domainPickerSelectBaseDomain": "Select base domain...",
|
||||||
|
"domainPickerNotAvailableForCname": "Not available for CNAME domains",
|
||||||
|
"domainPickerEnterSubdomainOrLeaveBlank": "Enter subdomain or leave blank to use base domain.",
|
||||||
|
"domainPickerEnterSubdomainToSearch": "Enter a subdomain to search and select from available free domains.",
|
||||||
|
"domainPickerFreeDomains": "Free Domains",
|
||||||
|
"domainPickerSearchForAvailableDomains": "Search for available domains",
|
||||||
|
"resourceDomain": "Domain",
|
||||||
|
"resourceEditDomain": "Edit Domain",
|
||||||
|
"siteName": "Site Name",
|
||||||
|
"proxyPort": "Port",
|
||||||
|
"resourcesTableProxyResources": "Proxy Resources",
|
||||||
|
"resourcesTableClientResources": "Client Resources",
|
||||||
|
"resourcesTableNoProxyResourcesFound": "No proxy resources found.",
|
||||||
|
"resourcesTableNoInternalResourcesFound": "No internal resources found.",
|
||||||
|
"resourcesTableDestination": "Destination",
|
||||||
|
"resourcesTableTheseResourcesForUseWith": "These resources are for use with",
|
||||||
|
"resourcesTableClients": "Clients",
|
||||||
|
"resourcesTableAndOnlyAccessibleInternally": "and are only accessible internally when connected with a client.",
|
||||||
|
"editInternalResourceDialogEditClientResource": "Edit Client Resource",
|
||||||
|
"editInternalResourceDialogUpdateResourceProperties": "Update the resource properties and target configuration for {resourceName}.",
|
||||||
|
"editInternalResourceDialogResourceProperties": "Resource Properties",
|
||||||
|
"editInternalResourceDialogName": "Name",
|
||||||
|
"editInternalResourceDialogProtocol": "Protocol",
|
||||||
|
"editInternalResourceDialogSitePort": "Site Port",
|
||||||
|
"editInternalResourceDialogTargetConfiguration": "Target Configuration",
|
||||||
|
"editInternalResourceDialogDestinationIP": "Destination IP",
|
||||||
|
"editInternalResourceDialogDestinationPort": "Destination Port",
|
||||||
|
"editInternalResourceDialogCancel": "Cancel",
|
||||||
|
"editInternalResourceDialogSaveResource": "Save Resource",
|
||||||
|
"editInternalResourceDialogSuccess": "Success",
|
||||||
|
"editInternalResourceDialogInternalResourceUpdatedSuccessfully": "Internal resource updated successfully",
|
||||||
|
"editInternalResourceDialogError": "Error",
|
||||||
|
"editInternalResourceDialogFailedToUpdateInternalResource": "Failed to update internal resource",
|
||||||
|
"editInternalResourceDialogNameRequired": "Name is required",
|
||||||
|
"editInternalResourceDialogNameMaxLength": "Name must be less than 255 characters",
|
||||||
|
"editInternalResourceDialogProxyPortMin": "Proxy port must be at least 1",
|
||||||
|
"editInternalResourceDialogProxyPortMax": "Proxy port must be less than 65536",
|
||||||
|
"editInternalResourceDialogInvalidIPAddressFormat": "Invalid IP address format",
|
||||||
|
"editInternalResourceDialogDestinationPortMin": "Destination port must be at least 1",
|
||||||
|
"editInternalResourceDialogDestinationPortMax": "Destination port must be less than 65536",
|
||||||
|
"createInternalResourceDialogNoSitesAvailable": "No Sites Available",
|
||||||
|
"createInternalResourceDialogNoSitesAvailableDescription": "You need to have at least one Newt site with a subnet configured to create internal resources.",
|
||||||
|
"createInternalResourceDialogClose": "Close",
|
||||||
|
"createInternalResourceDialogCreateClientResource": "Create Client Resource",
|
||||||
|
"createInternalResourceDialogCreateClientResourceDescription": "Create a new resource that will be accessible to clients connected to the selected site.",
|
||||||
|
"createInternalResourceDialogResourceProperties": "Resource Properties",
|
||||||
|
"createInternalResourceDialogName": "Name",
|
||||||
|
"createInternalResourceDialogSite": "Site",
|
||||||
|
"createInternalResourceDialogSelectSite": "Select site...",
|
||||||
|
"createInternalResourceDialogSearchSites": "Search sites...",
|
||||||
|
"createInternalResourceDialogNoSitesFound": "No sites found.",
|
||||||
|
"createInternalResourceDialogProtocol": "Protocol",
|
||||||
|
"createInternalResourceDialogTcp": "TCP",
|
||||||
|
"createInternalResourceDialogUdp": "UDP",
|
||||||
|
"createInternalResourceDialogSitePort": "Site Port",
|
||||||
|
"createInternalResourceDialogSitePortDescription": "Use this port to access the resource on the site when connected with a client.",
|
||||||
|
"createInternalResourceDialogTargetConfiguration": "Target Configuration",
|
||||||
|
"createInternalResourceDialogDestinationIP": "Destination IP",
|
||||||
|
"createInternalResourceDialogDestinationIPDescription": "The IP address of the resource on the site's network.",
|
||||||
|
"createInternalResourceDialogDestinationPort": "Destination Port",
|
||||||
|
"createInternalResourceDialogDestinationPortDescription": "The port on the destination IP where the resource is accessible.",
|
||||||
|
"createInternalResourceDialogCancel": "Cancel",
|
||||||
|
"createInternalResourceDialogCreateResource": "Create Resource",
|
||||||
|
"createInternalResourceDialogSuccess": "Success",
|
||||||
|
"createInternalResourceDialogInternalResourceCreatedSuccessfully": "Internal resource created successfully",
|
||||||
|
"createInternalResourceDialogError": "Error",
|
||||||
|
"createInternalResourceDialogFailedToCreateInternalResource": "Failed to create internal resource",
|
||||||
|
"createInternalResourceDialogNameRequired": "Name is required",
|
||||||
|
"createInternalResourceDialogNameMaxLength": "Name must be less than 255 characters",
|
||||||
|
"createInternalResourceDialogPleaseSelectSite": "Please select a site",
|
||||||
|
"createInternalResourceDialogProxyPortMin": "Proxy port must be at least 1",
|
||||||
|
"createInternalResourceDialogProxyPortMax": "Proxy port must be less than 65536",
|
||||||
|
"createInternalResourceDialogInvalidIPAddressFormat": "Invalid IP address format",
|
||||||
|
"createInternalResourceDialogDestinationPortMin": "Destination port must be at least 1",
|
||||||
|
"createInternalResourceDialogDestinationPortMax": "Destination port must be less than 65536",
|
||||||
|
"siteConfiguration": "Configuration",
|
||||||
|
"siteAcceptClientConnections": "Accept Client Connections",
|
||||||
|
"siteAcceptClientConnectionsDescription": "Allow other devices to connect through this Newt instance as a gateway using clients.",
|
||||||
|
"siteAddress": "Site Address",
|
||||||
|
"siteAddressDescription": "Specify the IP address of the host for clients to connect to. This is the internal address of the site in the Pangolin network for clients to address. Must fall within the Org subnet.",
|
||||||
|
"autoLoginExternalIdp": "Auto Login with External IDP",
|
||||||
|
"autoLoginExternalIdpDescription": "Immediately redirect the user to the external IDP for authentication.",
|
||||||
|
"selectIdp": "Select IDP",
|
||||||
|
"selectIdpPlaceholder": "Choose an IDP...",
|
||||||
|
"selectIdpRequired": "Please select an IDP when auto login is enabled.",
|
||||||
|
"autoLoginTitle": "Redirecting",
|
||||||
|
"autoLoginDescription": "Redirecting you to the external identity provider for authentication.",
|
||||||
|
"autoLoginProcessing": "Preparing authentication...",
|
||||||
|
"autoLoginRedirecting": "Redirecting to login...",
|
||||||
|
"autoLoginError": "Auto Login Error",
|
||||||
|
"autoLoginErrorNoRedirectUrl": "No redirect URL received from the identity provider.",
|
||||||
|
"autoLoginErrorGeneratingUrl": "Failed to generate authentication URL."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -94,7 +94,9 @@
|
|||||||
"siteNewtTunnelDescription": "La forma más fácil de crear un punto de entrada en tu red. Sin configuración adicional.",
|
"siteNewtTunnelDescription": "La forma más fácil de crear un punto de entrada en tu red. Sin configuración adicional.",
|
||||||
"siteWg": "Wirex Guardia Básica",
|
"siteWg": "Wirex Guardia Básica",
|
||||||
"siteWgDescription": "Utilice cualquier cliente Wirex Guard para establecer un túnel. Se requiere una configuración manual de NAT.",
|
"siteWgDescription": "Utilice cualquier cliente Wirex Guard para establecer un túnel. Se requiere una configuración manual de NAT.",
|
||||||
|
"siteWgDescriptionSaas": "Utilice cualquier cliente de WireGuard para establecer un túnel. Se requiere configuración manual de NAT. SOLO FUNCIONA EN NODOS AUTOGESTIONADOS",
|
||||||
"siteLocalDescription": "Solo recursos locales. Sin túneles.",
|
"siteLocalDescription": "Solo recursos locales. Sin túneles.",
|
||||||
|
"siteLocalDescriptionSaas": "Solo recursos locales. Sin túneles. SOLO FUNCIONA EN NODOS AUTOGESTIONADOS",
|
||||||
"siteSeeAll": "Ver todos los sitios",
|
"siteSeeAll": "Ver todos los sitios",
|
||||||
"siteTunnelDescription": "Determina cómo quieres conectarte a tu sitio",
|
"siteTunnelDescription": "Determina cómo quieres conectarte a tu sitio",
|
||||||
"siteNewtCredentials": "Credenciales nuevas",
|
"siteNewtCredentials": "Credenciales nuevas",
|
||||||
@@ -166,7 +168,7 @@
|
|||||||
"siteSelect": "Seleccionar sitio",
|
"siteSelect": "Seleccionar sitio",
|
||||||
"siteSearch": "Buscar sitio",
|
"siteSearch": "Buscar sitio",
|
||||||
"siteNotFound": "Sitio no encontrado.",
|
"siteNotFound": "Sitio no encontrado.",
|
||||||
"siteSelectionDescription": "Este sitio proporcionará conectividad al recurso.",
|
"siteSelectionDescription": "Este sitio proporcionará conectividad al objetivo.",
|
||||||
"resourceType": "Tipo de recurso",
|
"resourceType": "Tipo de recurso",
|
||||||
"resourceTypeDescription": "Determina cómo quieres acceder a tu recurso",
|
"resourceTypeDescription": "Determina cómo quieres acceder a tu recurso",
|
||||||
"resourceHTTPSSettings": "Configuración HTTPS",
|
"resourceHTTPSSettings": "Configuración HTTPS",
|
||||||
@@ -197,11 +199,13 @@
|
|||||||
"general": "General",
|
"general": "General",
|
||||||
"generalSettings": "Configuración General",
|
"generalSettings": "Configuración General",
|
||||||
"proxy": "Proxy",
|
"proxy": "Proxy",
|
||||||
|
"internal": "Interno",
|
||||||
"rules": "Reglas",
|
"rules": "Reglas",
|
||||||
"resourceSettingDescription": "Configure la configuración de su recurso",
|
"resourceSettingDescription": "Configure la configuración de su recurso",
|
||||||
"resourceSetting": "Ajustes {resourceName}",
|
"resourceSetting": "Ajustes {resourceName}",
|
||||||
"alwaysAllow": "Permitir siempre",
|
"alwaysAllow": "Permitir siempre",
|
||||||
"alwaysDeny": "Denegar siempre",
|
"alwaysDeny": "Denegar siempre",
|
||||||
|
"passToAuth": "Pasar a Autenticación",
|
||||||
"orgSettingsDescription": "Configurar la configuración general de su organización",
|
"orgSettingsDescription": "Configurar la configuración general de su organización",
|
||||||
"orgGeneralSettings": "Configuración de la organización",
|
"orgGeneralSettings": "Configuración de la organización",
|
||||||
"orgGeneralSettingsDescription": "Administra los detalles y la configuración de tu organización",
|
"orgGeneralSettingsDescription": "Administra los detalles y la configuración de tu organización",
|
||||||
@@ -542,6 +546,7 @@
|
|||||||
"rulesActions": "Acciones",
|
"rulesActions": "Acciones",
|
||||||
"rulesActionAlwaysAllow": "Permitir siempre: pasar todos los métodos de autenticación",
|
"rulesActionAlwaysAllow": "Permitir siempre: pasar todos los métodos de autenticación",
|
||||||
"rulesActionAlwaysDeny": "Denegar siempre: Bloquear todas las peticiones; no se puede intentar autenticación",
|
"rulesActionAlwaysDeny": "Denegar siempre: Bloquear todas las peticiones; no se puede intentar autenticación",
|
||||||
|
"rulesActionPassToAuth": "Pasar a Autenticación: Permitir que se intenten los métodos de autenticación",
|
||||||
"rulesMatchCriteria": "Criterios coincidentes",
|
"rulesMatchCriteria": "Criterios coincidentes",
|
||||||
"rulesMatchCriteriaIpAddress": "Coincidir con una dirección IP específica",
|
"rulesMatchCriteriaIpAddress": "Coincidir con una dirección IP específica",
|
||||||
"rulesMatchCriteriaIpAddressRange": "Coincide con un rango de direcciones IP en notación CIDR",
|
"rulesMatchCriteriaIpAddressRange": "Coincide con un rango de direcciones IP en notación CIDR",
|
||||||
@@ -833,6 +838,24 @@
|
|||||||
"pincodeRequirementsLength": "El PIN debe tener exactamente 6 dígitos",
|
"pincodeRequirementsLength": "El PIN debe tener exactamente 6 dígitos",
|
||||||
"pincodeRequirementsChars": "El PIN sólo debe contener números",
|
"pincodeRequirementsChars": "El PIN sólo debe contener números",
|
||||||
"passwordRequirementsLength": "La contraseña debe tener al menos 1 carácter",
|
"passwordRequirementsLength": "La contraseña debe tener al menos 1 carácter",
|
||||||
|
"passwordRequirementsTitle": "Requisitos de la contraseña:",
|
||||||
|
"passwordRequirementLength": "Al menos 8 caracteres de largo",
|
||||||
|
"passwordRequirementUppercase": "Al menos una letra mayúscula",
|
||||||
|
"passwordRequirementLowercase": "Al menos una letra minúscula",
|
||||||
|
"passwordRequirementNumber": "Al menos un número",
|
||||||
|
"passwordRequirementSpecial": "Al menos un carácter especial",
|
||||||
|
"passwordRequirementsMet": "✓ La contraseña cumple con todos los requisitos",
|
||||||
|
"passwordStrength": "Seguridad de la contraseña",
|
||||||
|
"passwordStrengthWeak": "Débil",
|
||||||
|
"passwordStrengthMedium": "Media",
|
||||||
|
"passwordStrengthStrong": "Fuerte",
|
||||||
|
"passwordRequirements": "Requisitos:",
|
||||||
|
"passwordRequirementLengthText": "8+ caracteres",
|
||||||
|
"passwordRequirementUppercaseText": "Letra mayúscula (A-Z)",
|
||||||
|
"passwordRequirementLowercaseText": "Letra minúscula (a-z)",
|
||||||
|
"passwordRequirementNumberText": "Número (0-9)",
|
||||||
|
"passwordRequirementSpecialText": "Caracter especial (!@#$%...)",
|
||||||
|
"passwordsDoNotMatch": "Las contraseñas no coinciden",
|
||||||
"otpEmailRequirementsLength": "OTP debe tener al menos 1 carácter",
|
"otpEmailRequirementsLength": "OTP debe tener al menos 1 carácter",
|
||||||
"otpEmailSent": "OTP enviado",
|
"otpEmailSent": "OTP enviado",
|
||||||
"otpEmailSentDescription": "Un OTP ha sido enviado a tu correo electrónico",
|
"otpEmailSentDescription": "Un OTP ha sido enviado a tu correo electrónico",
|
||||||
@@ -952,6 +975,7 @@
|
|||||||
"logoutError": "Error al cerrar sesión",
|
"logoutError": "Error al cerrar sesión",
|
||||||
"signingAs": "Conectado como",
|
"signingAs": "Conectado como",
|
||||||
"serverAdmin": "Admin Servidor",
|
"serverAdmin": "Admin Servidor",
|
||||||
|
"managedSelfhosted": "Autogestionado",
|
||||||
"otpEnable": "Activar doble factor",
|
"otpEnable": "Activar doble factor",
|
||||||
"otpDisable": "Desactivar doble factor",
|
"otpDisable": "Desactivar doble factor",
|
||||||
"logout": "Cerrar sesión",
|
"logout": "Cerrar sesión",
|
||||||
@@ -967,6 +991,9 @@
|
|||||||
"actionDeleteSite": "Eliminar sitio",
|
"actionDeleteSite": "Eliminar sitio",
|
||||||
"actionGetSite": "Obtener sitio",
|
"actionGetSite": "Obtener sitio",
|
||||||
"actionListSites": "Listar sitios",
|
"actionListSites": "Listar sitios",
|
||||||
|
"setupToken": "Configuración de token",
|
||||||
|
"setupTokenDescription": "Ingrese el token de configuración desde la consola del servidor.",
|
||||||
|
"setupTokenRequired": "Se requiere el token de configuración",
|
||||||
"actionUpdateSite": "Actualizar sitio",
|
"actionUpdateSite": "Actualizar sitio",
|
||||||
"actionListSiteRoles": "Lista de roles permitidos del sitio",
|
"actionListSiteRoles": "Lista de roles permitidos del sitio",
|
||||||
"actionCreateResource": "Crear Recurso",
|
"actionCreateResource": "Crear Recurso",
|
||||||
@@ -1022,6 +1049,16 @@
|
|||||||
"actionDeleteIdpOrg": "Eliminar política de IDP Org",
|
"actionDeleteIdpOrg": "Eliminar política de IDP Org",
|
||||||
"actionListIdpOrgs": "Listar Orgs IDP",
|
"actionListIdpOrgs": "Listar Orgs IDP",
|
||||||
"actionUpdateIdpOrg": "Actualizar IDP Org",
|
"actionUpdateIdpOrg": "Actualizar IDP Org",
|
||||||
|
"actionCreateClient": "Crear cliente",
|
||||||
|
"actionDeleteClient": "Eliminar cliente",
|
||||||
|
"actionUpdateClient": "Actualizar cliente",
|
||||||
|
"actionListClients": "Listar clientes",
|
||||||
|
"actionGetClient": "Obtener cliente",
|
||||||
|
"actionCreateSiteResource": "Crear Recurso del Sitio",
|
||||||
|
"actionDeleteSiteResource": "Eliminar recurso del sitio",
|
||||||
|
"actionGetSiteResource": "Obtener recurso del sitio",
|
||||||
|
"actionListSiteResources": "Listar recursos del sitio",
|
||||||
|
"actionUpdateSiteResource": "Actualizar recurso del sitio",
|
||||||
"noneSelected": "Ninguno seleccionado",
|
"noneSelected": "Ninguno seleccionado",
|
||||||
"orgNotFound2": "No se encontraron organizaciones.",
|
"orgNotFound2": "No se encontraron organizaciones.",
|
||||||
"searchProgress": "Buscar...",
|
"searchProgress": "Buscar...",
|
||||||
@@ -1315,8 +1352,110 @@
|
|||||||
"olmErrorFetchLatest": "Se ha producido un error al recuperar la última versión de Olm.",
|
"olmErrorFetchLatest": "Se ha producido un error al recuperar la última versión de Olm.",
|
||||||
"remoteSubnets": "Subredes remotas",
|
"remoteSubnets": "Subredes remotas",
|
||||||
"enterCidrRange": "Ingresa el rango CIDR",
|
"enterCidrRange": "Ingresa el rango CIDR",
|
||||||
"remoteSubnetsDescription": "Agregue rangos CIDR que puedan acceder a este sitio de forma remota. Use un formato como 10.0.0.0/24 o 192.168.1.0/24.",
|
"remoteSubnetsDescription": "Agregue rangos CIDR que se puedan acceder desde este sitio de forma remota usando clientes. Utilice el formato como 10.0.0.0/24. Esto SOLO se aplica a la conectividad del cliente VPN.",
|
||||||
"resourceEnableProxy": "Habilitar proxy público",
|
"resourceEnableProxy": "Habilitar proxy público",
|
||||||
"resourceEnableProxyDescription": "Habilite el proxy público para este recurso. Esto permite el acceso al recurso desde fuera de la red a través de la nube en un puerto abierto. Requiere configuración de Traefik.",
|
"resourceEnableProxyDescription": "Habilite el proxy público para este recurso. Esto permite el acceso al recurso desde fuera de la red a través de la nube en un puerto abierto. Requiere configuración de Traefik.",
|
||||||
"externalProxyEnabled": "Proxy externo habilitado"
|
"externalProxyEnabled": "Proxy externo habilitado",
|
||||||
|
"addNewTarget": "Agregar nuevo destino",
|
||||||
|
"targetsList": "Lista de destinos",
|
||||||
|
"targetErrorDuplicateTargetFound": "Se encontró un destino duplicado",
|
||||||
|
"httpMethod": "Método HTTP",
|
||||||
|
"selectHttpMethod": "Seleccionar método HTTP",
|
||||||
|
"domainPickerSubdomainLabel": "Subdominio",
|
||||||
|
"domainPickerBaseDomainLabel": "Dominio base",
|
||||||
|
"domainPickerSearchDomains": "Buscar dominios...",
|
||||||
|
"domainPickerNoDomainsFound": "No se encontraron dominios",
|
||||||
|
"domainPickerLoadingDomains": "Cargando dominios...",
|
||||||
|
"domainPickerSelectBaseDomain": "Seleccionar dominio base...",
|
||||||
|
"domainPickerNotAvailableForCname": "No disponible para dominios CNAME",
|
||||||
|
"domainPickerEnterSubdomainOrLeaveBlank": "Ingrese subdominio o deje en blanco para usar dominio base.",
|
||||||
|
"domainPickerEnterSubdomainToSearch": "Ingrese un subdominio para buscar y seleccionar entre dominios gratuitos disponibles.",
|
||||||
|
"domainPickerFreeDomains": "Dominios gratuitos",
|
||||||
|
"domainPickerSearchForAvailableDomains": "Buscar dominios disponibles",
|
||||||
|
"resourceDomain": "Dominio",
|
||||||
|
"resourceEditDomain": "Editar dominio",
|
||||||
|
"siteName": "Nombre del sitio",
|
||||||
|
"proxyPort": "Puerto",
|
||||||
|
"resourcesTableProxyResources": "Recursos de proxy",
|
||||||
|
"resourcesTableClientResources": "Recursos del cliente",
|
||||||
|
"resourcesTableNoProxyResourcesFound": "No se encontraron recursos de proxy.",
|
||||||
|
"resourcesTableNoInternalResourcesFound": "No se encontraron recursos internos.",
|
||||||
|
"resourcesTableDestination": "Destino",
|
||||||
|
"resourcesTableTheseResourcesForUseWith": "Estos recursos son para uso con",
|
||||||
|
"resourcesTableClients": "Clientes",
|
||||||
|
"resourcesTableAndOnlyAccessibleInternally": "y solo son accesibles internamente cuando se conectan con un cliente.",
|
||||||
|
"editInternalResourceDialogEditClientResource": "Editar recurso del cliente",
|
||||||
|
"editInternalResourceDialogUpdateResourceProperties": "Actualizar las propiedades del recurso y la configuración del objetivo para {resourceName}.",
|
||||||
|
"editInternalResourceDialogResourceProperties": "Propiedades del recurso",
|
||||||
|
"editInternalResourceDialogName": "Nombre",
|
||||||
|
"editInternalResourceDialogProtocol": "Protocolo",
|
||||||
|
"editInternalResourceDialogSitePort": "Puerto del sitio",
|
||||||
|
"editInternalResourceDialogTargetConfiguration": "Configuración de objetivos",
|
||||||
|
"editInternalResourceDialogDestinationIP": "IP de destino",
|
||||||
|
"editInternalResourceDialogDestinationPort": "Puerto de destino",
|
||||||
|
"editInternalResourceDialogCancel": "Cancelar",
|
||||||
|
"editInternalResourceDialogSaveResource": "Guardar recurso",
|
||||||
|
"editInternalResourceDialogSuccess": "Éxito",
|
||||||
|
"editInternalResourceDialogInternalResourceUpdatedSuccessfully": "Recurso interno actualizado con éxito",
|
||||||
|
"editInternalResourceDialogError": "Error",
|
||||||
|
"editInternalResourceDialogFailedToUpdateInternalResource": "Error al actualizar el recurso interno",
|
||||||
|
"editInternalResourceDialogNameRequired": "El nombre es requerido",
|
||||||
|
"editInternalResourceDialogNameMaxLength": "El nombre no debe tener más de 255 caracteres",
|
||||||
|
"editInternalResourceDialogProxyPortMin": "El puerto del proxy debe ser al menos 1",
|
||||||
|
"editInternalResourceDialogProxyPortMax": "El puerto del proxy debe ser menor de 65536",
|
||||||
|
"editInternalResourceDialogInvalidIPAddressFormat": "Formato de dirección IP inválido",
|
||||||
|
"editInternalResourceDialogDestinationPortMin": "El puerto de destino debe ser al menos 1",
|
||||||
|
"editInternalResourceDialogDestinationPortMax": "El puerto de destino debe ser menor de 65536",
|
||||||
|
"createInternalResourceDialogNoSitesAvailable": "No hay sitios disponibles",
|
||||||
|
"createInternalResourceDialogNoSitesAvailableDescription": "Necesita tener al menos un sitio de Newt con una subred configurada para crear recursos internos.",
|
||||||
|
"createInternalResourceDialogClose": "Cerrar",
|
||||||
|
"createInternalResourceDialogCreateClientResource": "Crear recurso del cliente",
|
||||||
|
"createInternalResourceDialogCreateClientResourceDescription": "Crear un nuevo recurso que será accesible para los clientes conectados al sitio seleccionado.",
|
||||||
|
"createInternalResourceDialogResourceProperties": "Propiedades del recurso",
|
||||||
|
"createInternalResourceDialogName": "Nombre",
|
||||||
|
"createInternalResourceDialogSite": "Sitio",
|
||||||
|
"createInternalResourceDialogSelectSite": "Seleccionar sitio...",
|
||||||
|
"createInternalResourceDialogSearchSites": "Buscar sitios...",
|
||||||
|
"createInternalResourceDialogNoSitesFound": "Sitios no encontrados.",
|
||||||
|
"createInternalResourceDialogProtocol": "Protocolo",
|
||||||
|
"createInternalResourceDialogTcp": "TCP",
|
||||||
|
"createInternalResourceDialogUdp": "UDP",
|
||||||
|
"createInternalResourceDialogSitePort": "Puerto del sitio",
|
||||||
|
"createInternalResourceDialogSitePortDescription": "Use este puerto para acceder al recurso en el sitio cuando se conecta con un cliente.",
|
||||||
|
"createInternalResourceDialogTargetConfiguration": "Configuración de objetivos",
|
||||||
|
"createInternalResourceDialogDestinationIP": "IP de destino",
|
||||||
|
"createInternalResourceDialogDestinationIPDescription": "La dirección IP del recurso en la red del sitio.",
|
||||||
|
"createInternalResourceDialogDestinationPort": "Puerto de destino",
|
||||||
|
"createInternalResourceDialogDestinationPortDescription": "El puerto en la IP de destino donde el recurso es accesible.",
|
||||||
|
"createInternalResourceDialogCancel": "Cancelar",
|
||||||
|
"createInternalResourceDialogCreateResource": "Crear recurso",
|
||||||
|
"createInternalResourceDialogSuccess": "Éxito",
|
||||||
|
"createInternalResourceDialogInternalResourceCreatedSuccessfully": "Recurso interno creado con éxito",
|
||||||
|
"createInternalResourceDialogError": "Error",
|
||||||
|
"createInternalResourceDialogFailedToCreateInternalResource": "Error al crear recurso interno",
|
||||||
|
"createInternalResourceDialogNameRequired": "El nombre es requerido",
|
||||||
|
"createInternalResourceDialogNameMaxLength": "El nombre debe ser menor de 255 caracteres",
|
||||||
|
"createInternalResourceDialogPleaseSelectSite": "Por favor seleccione un sitio",
|
||||||
|
"createInternalResourceDialogProxyPortMin": "El puerto del proxy debe ser al menos 1",
|
||||||
|
"createInternalResourceDialogProxyPortMax": "El puerto del proxy debe ser menor de 65536",
|
||||||
|
"createInternalResourceDialogInvalidIPAddressFormat": "Formato de dirección IP inválido",
|
||||||
|
"createInternalResourceDialogDestinationPortMin": "El puerto de destino debe ser al menos 1",
|
||||||
|
"createInternalResourceDialogDestinationPortMax": "El puerto de destino debe ser menor de 65536",
|
||||||
|
"siteConfiguration": "Configuración",
|
||||||
|
"siteAcceptClientConnections": "Aceptar conexiones de clientes",
|
||||||
|
"siteAcceptClientConnectionsDescription": "Permitir que otros dispositivos se conecten a través de esta instancia Newt como una puerta de enlace utilizando clientes.",
|
||||||
|
"siteAddress": "Dirección del sitio",
|
||||||
|
"siteAddressDescription": "Especifique la dirección IP del host que los clientes deben usar para conectarse. Esta es la dirección interna del sitio en la red de Pangolín para que los clientes dirijan. Debe estar dentro de la subred de la organización.",
|
||||||
|
"autoLoginExternalIdp": "Inicio de sesión automático con IDP externo",
|
||||||
|
"autoLoginExternalIdpDescription": "Redirigir inmediatamente al usuario al IDP externo para autenticación.",
|
||||||
|
"selectIdp": "Seleccionar IDP",
|
||||||
|
"selectIdpPlaceholder": "Elegir un IDP...",
|
||||||
|
"selectIdpRequired": "Por favor seleccione un IDP cuando el inicio de sesión automático esté habilitado.",
|
||||||
|
"autoLoginTitle": "Redirigiendo",
|
||||||
|
"autoLoginDescription": "Te estamos redirigiendo al proveedor de identidad externo para autenticación.",
|
||||||
|
"autoLoginProcessing": "Preparando autenticación...",
|
||||||
|
"autoLoginRedirecting": "Redirigiendo al inicio de sesión...",
|
||||||
|
"autoLoginError": "Error de inicio de sesión automático",
|
||||||
|
"autoLoginErrorNoRedirectUrl": "No se recibió URL de redirección del proveedor de identidad.",
|
||||||
|
"autoLoginErrorGeneratingUrl": "Error al generar URL de autenticación."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -94,7 +94,9 @@
|
|||||||
"siteNewtTunnelDescription": "La façon la plus simple de créer un point d'entrée dans votre réseau. Pas de configuration supplémentaire.",
|
"siteNewtTunnelDescription": "La façon la plus simple de créer un point d'entrée dans votre réseau. Pas de configuration supplémentaire.",
|
||||||
"siteWg": "WireGuard basique",
|
"siteWg": "WireGuard basique",
|
||||||
"siteWgDescription": "Utilisez n'importe quel client WireGuard pour établir un tunnel. Configuration NAT manuelle requise.",
|
"siteWgDescription": "Utilisez n'importe quel client WireGuard pour établir un tunnel. Configuration NAT manuelle requise.",
|
||||||
|
"siteWgDescriptionSaas": "Utilisez n'importe quel client WireGuard pour établir un tunnel. Configuration NAT manuelle requise. FONCTIONNE UNIQUEMENT SUR DES NŒUDS AUTONOMES",
|
||||||
"siteLocalDescription": "Ressources locales seulement. Pas de tunneling.",
|
"siteLocalDescription": "Ressources locales seulement. Pas de tunneling.",
|
||||||
|
"siteLocalDescriptionSaas": "Ressources locales uniquement. Pas de tunneling. FONCTIONNE UNIQUEMENT SUR DES NŒUDS AUTONOMES",
|
||||||
"siteSeeAll": "Voir tous les sites",
|
"siteSeeAll": "Voir tous les sites",
|
||||||
"siteTunnelDescription": "Déterminez comment vous voulez vous connecter à votre site",
|
"siteTunnelDescription": "Déterminez comment vous voulez vous connecter à votre site",
|
||||||
"siteNewtCredentials": "Identifiants Newt",
|
"siteNewtCredentials": "Identifiants Newt",
|
||||||
@@ -166,7 +168,7 @@
|
|||||||
"siteSelect": "Sélectionner un site",
|
"siteSelect": "Sélectionner un site",
|
||||||
"siteSearch": "Chercher un site",
|
"siteSearch": "Chercher un site",
|
||||||
"siteNotFound": "Aucun site trouvé.",
|
"siteNotFound": "Aucun site trouvé.",
|
||||||
"siteSelectionDescription": "Ce site fournira la connectivité à la ressource.",
|
"siteSelectionDescription": "Ce site fournira la connectivité à la cible.",
|
||||||
"resourceType": "Type de ressource",
|
"resourceType": "Type de ressource",
|
||||||
"resourceTypeDescription": "Déterminer comment vous voulez accéder à votre ressource",
|
"resourceTypeDescription": "Déterminer comment vous voulez accéder à votre ressource",
|
||||||
"resourceHTTPSSettings": "Paramètres HTTPS",
|
"resourceHTTPSSettings": "Paramètres HTTPS",
|
||||||
@@ -197,11 +199,13 @@
|
|||||||
"general": "Généraux",
|
"general": "Généraux",
|
||||||
"generalSettings": "Paramètres généraux",
|
"generalSettings": "Paramètres généraux",
|
||||||
"proxy": "Proxy",
|
"proxy": "Proxy",
|
||||||
|
"internal": "Interne",
|
||||||
"rules": "Règles",
|
"rules": "Règles",
|
||||||
"resourceSettingDescription": "Configurer les paramètres de votre ressource",
|
"resourceSettingDescription": "Configurer les paramètres de votre ressource",
|
||||||
"resourceSetting": "Réglages {resourceName}",
|
"resourceSetting": "Réglages {resourceName}",
|
||||||
"alwaysAllow": "Toujours autoriser",
|
"alwaysAllow": "Toujours autoriser",
|
||||||
"alwaysDeny": "Toujours refuser",
|
"alwaysDeny": "Toujours refuser",
|
||||||
|
"passToAuth": "Paser à l'authentification",
|
||||||
"orgSettingsDescription": "Configurer les paramètres généraux de votre organisation",
|
"orgSettingsDescription": "Configurer les paramètres généraux de votre organisation",
|
||||||
"orgGeneralSettings": "Paramètres de l'organisation",
|
"orgGeneralSettings": "Paramètres de l'organisation",
|
||||||
"orgGeneralSettingsDescription": "Gérer les détails et la configuration de votre organisation",
|
"orgGeneralSettingsDescription": "Gérer les détails et la configuration de votre organisation",
|
||||||
@@ -490,7 +494,7 @@
|
|||||||
"targetTlsSniDescription": "Le nom de serveur TLS à utiliser pour SNI. Laissez vide pour utiliser la valeur par défaut.",
|
"targetTlsSniDescription": "Le nom de serveur TLS à utiliser pour SNI. Laissez vide pour utiliser la valeur par défaut.",
|
||||||
"targetTlsSubmit": "Enregistrer les paramètres",
|
"targetTlsSubmit": "Enregistrer les paramètres",
|
||||||
"targets": "Configuration des cibles",
|
"targets": "Configuration des cibles",
|
||||||
"targetsDescription": "Configurez les cibles pour router le trafic vers vos services",
|
"targetsDescription": "Configurez les cibles pour router le trafic vers vos services.",
|
||||||
"targetStickySessions": "Activer les sessions persistantes",
|
"targetStickySessions": "Activer les sessions persistantes",
|
||||||
"targetStickySessionsDescription": "Maintenir les connexions sur la même cible backend pendant toute leur session.",
|
"targetStickySessionsDescription": "Maintenir les connexions sur la même cible backend pendant toute leur session.",
|
||||||
"methodSelect": "Sélectionner la méthode",
|
"methodSelect": "Sélectionner la méthode",
|
||||||
@@ -542,6 +546,7 @@
|
|||||||
"rulesActions": "Actions",
|
"rulesActions": "Actions",
|
||||||
"rulesActionAlwaysAllow": "Toujours autoriser : Contourner toutes les méthodes d'authentification",
|
"rulesActionAlwaysAllow": "Toujours autoriser : Contourner toutes les méthodes d'authentification",
|
||||||
"rulesActionAlwaysDeny": "Toujours refuser : Bloquer toutes les requêtes ; aucune authentification ne peut être tentée",
|
"rulesActionAlwaysDeny": "Toujours refuser : Bloquer toutes les requêtes ; aucune authentification ne peut être tentée",
|
||||||
|
"rulesActionPassToAuth": "Passer à l'authentification : Autoriser les méthodes d'authentification à être tentées",
|
||||||
"rulesMatchCriteria": "Critères de correspondance",
|
"rulesMatchCriteria": "Critères de correspondance",
|
||||||
"rulesMatchCriteriaIpAddress": "Correspondre à une adresse IP spécifique",
|
"rulesMatchCriteriaIpAddress": "Correspondre à une adresse IP spécifique",
|
||||||
"rulesMatchCriteriaIpAddressRange": "Correspondre à une plage d'adresses IP en notation CIDR",
|
"rulesMatchCriteriaIpAddressRange": "Correspondre à une plage d'adresses IP en notation CIDR",
|
||||||
@@ -833,6 +838,24 @@
|
|||||||
"pincodeRequirementsLength": "Le code PIN doit comporter exactement 6 chiffres",
|
"pincodeRequirementsLength": "Le code PIN doit comporter exactement 6 chiffres",
|
||||||
"pincodeRequirementsChars": "Le code PIN ne doit contenir que des chiffres",
|
"pincodeRequirementsChars": "Le code PIN ne doit contenir que des chiffres",
|
||||||
"passwordRequirementsLength": "Le mot de passe doit comporter au moins 1 caractère",
|
"passwordRequirementsLength": "Le mot de passe doit comporter au moins 1 caractère",
|
||||||
|
"passwordRequirementsTitle": "Exigences relatives au mot de passe :",
|
||||||
|
"passwordRequirementLength": "Au moins 8 caractères",
|
||||||
|
"passwordRequirementUppercase": "Au moins une lettre majuscule",
|
||||||
|
"passwordRequirementLowercase": "Au moins une lettre minuscule",
|
||||||
|
"passwordRequirementNumber": "Au moins un chiffre",
|
||||||
|
"passwordRequirementSpecial": "Au moins un caractère spécial",
|
||||||
|
"passwordRequirementsMet": "✓ Le mot de passe répond à toutes les exigences",
|
||||||
|
"passwordStrength": "Solidité du mot de passe",
|
||||||
|
"passwordStrengthWeak": "Faible",
|
||||||
|
"passwordStrengthMedium": "Moyen",
|
||||||
|
"passwordStrengthStrong": "Fort",
|
||||||
|
"passwordRequirements": "Exigences :",
|
||||||
|
"passwordRequirementLengthText": "8+ caractères",
|
||||||
|
"passwordRequirementUppercaseText": "Lettre majuscule (A-Z)",
|
||||||
|
"passwordRequirementLowercaseText": "Lettre minuscule (a-z)",
|
||||||
|
"passwordRequirementNumberText": "Nombre (0-9)",
|
||||||
|
"passwordRequirementSpecialText": "Caractère spécial (!@#$%...)",
|
||||||
|
"passwordsDoNotMatch": "Les mots de passe ne correspondent pas",
|
||||||
"otpEmailRequirementsLength": "L'OTP doit comporter au moins 1 caractère",
|
"otpEmailRequirementsLength": "L'OTP doit comporter au moins 1 caractère",
|
||||||
"otpEmailSent": "OTP envoyé",
|
"otpEmailSent": "OTP envoyé",
|
||||||
"otpEmailSentDescription": "Un OTP a été envoyé à votre e-mail",
|
"otpEmailSentDescription": "Un OTP a été envoyé à votre e-mail",
|
||||||
@@ -952,6 +975,7 @@
|
|||||||
"logoutError": "Erreur lors de la déconnexion",
|
"logoutError": "Erreur lors de la déconnexion",
|
||||||
"signingAs": "Connecté en tant que",
|
"signingAs": "Connecté en tant que",
|
||||||
"serverAdmin": "Admin Serveur",
|
"serverAdmin": "Admin Serveur",
|
||||||
|
"managedSelfhosted": "Gestion autonome",
|
||||||
"otpEnable": "Activer l'authentification à deux facteurs",
|
"otpEnable": "Activer l'authentification à deux facteurs",
|
||||||
"otpDisable": "Désactiver l'authentification à deux facteurs",
|
"otpDisable": "Désactiver l'authentification à deux facteurs",
|
||||||
"logout": "Déconnexion",
|
"logout": "Déconnexion",
|
||||||
@@ -967,6 +991,9 @@
|
|||||||
"actionDeleteSite": "Supprimer un site",
|
"actionDeleteSite": "Supprimer un site",
|
||||||
"actionGetSite": "Obtenir un site",
|
"actionGetSite": "Obtenir un site",
|
||||||
"actionListSites": "Lister les sites",
|
"actionListSites": "Lister les sites",
|
||||||
|
"setupToken": "Jeton de configuration",
|
||||||
|
"setupTokenDescription": "Entrez le jeton de configuration depuis la console du serveur.",
|
||||||
|
"setupTokenRequired": "Le jeton de configuration est requis.",
|
||||||
"actionUpdateSite": "Mettre à jour un site",
|
"actionUpdateSite": "Mettre à jour un site",
|
||||||
"actionListSiteRoles": "Lister les rôles autorisés du site",
|
"actionListSiteRoles": "Lister les rôles autorisés du site",
|
||||||
"actionCreateResource": "Créer une ressource",
|
"actionCreateResource": "Créer une ressource",
|
||||||
@@ -1022,6 +1049,16 @@
|
|||||||
"actionDeleteIdpOrg": "Supprimer une politique d'organisation IDP",
|
"actionDeleteIdpOrg": "Supprimer une politique d'organisation IDP",
|
||||||
"actionListIdpOrgs": "Lister les organisations IDP",
|
"actionListIdpOrgs": "Lister les organisations IDP",
|
||||||
"actionUpdateIdpOrg": "Mettre à jour une organisation IDP",
|
"actionUpdateIdpOrg": "Mettre à jour une organisation IDP",
|
||||||
|
"actionCreateClient": "Créer un client",
|
||||||
|
"actionDeleteClient": "Supprimer le client",
|
||||||
|
"actionUpdateClient": "Mettre à jour le client",
|
||||||
|
"actionListClients": "Liste des clients",
|
||||||
|
"actionGetClient": "Obtenir le client",
|
||||||
|
"actionCreateSiteResource": "Créer une ressource de site",
|
||||||
|
"actionDeleteSiteResource": "Supprimer une ressource de site",
|
||||||
|
"actionGetSiteResource": "Obtenir une ressource de site",
|
||||||
|
"actionListSiteResources": "Lister les ressources de site",
|
||||||
|
"actionUpdateSiteResource": "Mettre à jour une ressource de site",
|
||||||
"noneSelected": "Aucune sélection",
|
"noneSelected": "Aucune sélection",
|
||||||
"orgNotFound2": "Aucune organisation trouvée.",
|
"orgNotFound2": "Aucune organisation trouvée.",
|
||||||
"searchProgress": "Rechercher...",
|
"searchProgress": "Rechercher...",
|
||||||
@@ -1315,8 +1352,110 @@
|
|||||||
"olmErrorFetchLatest": "Une erreur s'est produite lors de la récupération de la dernière version d'Olm.",
|
"olmErrorFetchLatest": "Une erreur s'est produite lors de la récupération de la dernière version d'Olm.",
|
||||||
"remoteSubnets": "Sous-réseaux distants",
|
"remoteSubnets": "Sous-réseaux distants",
|
||||||
"enterCidrRange": "Entrez la plage CIDR",
|
"enterCidrRange": "Entrez la plage CIDR",
|
||||||
"remoteSubnetsDescription": "Ajoutez des plages CIDR pouvant accéder à ce site à distance. Utilisez le format comme 10.0.0.0/24 ou 192.168.1.0/24.",
|
"remoteSubnetsDescription": "Ajoutez des plages CIDR accessibles à distance depuis ce site à l'aide de clients. Utilisez le format comme 10.0.0.0/24. Cela s'applique UNIQUEMENT à la connectivité des clients VPN.",
|
||||||
"resourceEnableProxy": "Activer le proxy public",
|
"resourceEnableProxy": "Activer le proxy public",
|
||||||
"resourceEnableProxyDescription": "Activez le proxy public vers cette ressource. Cela permet d'accéder à la ressource depuis l'extérieur du réseau via le cloud sur un port ouvert. Nécessite la configuration de Traefik.",
|
"resourceEnableProxyDescription": "Activez le proxy public vers cette ressource. Cela permet d'accéder à la ressource depuis l'extérieur du réseau via le cloud sur un port ouvert. Nécessite la configuration de Traefik.",
|
||||||
"externalProxyEnabled": "Proxy externe activé"
|
"externalProxyEnabled": "Proxy externe activé",
|
||||||
|
"addNewTarget": "Ajouter une nouvelle cible",
|
||||||
|
"targetsList": "Liste des cibles",
|
||||||
|
"targetErrorDuplicateTargetFound": "Cible en double trouvée",
|
||||||
|
"httpMethod": "Méthode HTTP",
|
||||||
|
"selectHttpMethod": "Sélectionnez la méthode HTTP",
|
||||||
|
"domainPickerSubdomainLabel": "Sous-domaine",
|
||||||
|
"domainPickerBaseDomainLabel": "Domaine de base",
|
||||||
|
"domainPickerSearchDomains": "Rechercher des domaines...",
|
||||||
|
"domainPickerNoDomainsFound": "Aucun domaine trouvé",
|
||||||
|
"domainPickerLoadingDomains": "Chargement des domaines...",
|
||||||
|
"domainPickerSelectBaseDomain": "Sélectionnez le domaine de base...",
|
||||||
|
"domainPickerNotAvailableForCname": "Non disponible pour les domaines CNAME",
|
||||||
|
"domainPickerEnterSubdomainOrLeaveBlank": "Entrez un sous-domaine ou laissez vide pour utiliser le domaine de base.",
|
||||||
|
"domainPickerEnterSubdomainToSearch": "Entrez un sous-domaine pour rechercher et sélectionner parmi les domaines gratuits disponibles.",
|
||||||
|
"domainPickerFreeDomains": "Domaines gratuits",
|
||||||
|
"domainPickerSearchForAvailableDomains": "Rechercher des domaines disponibles",
|
||||||
|
"resourceDomain": "Domaine",
|
||||||
|
"resourceEditDomain": "Modifier le domaine",
|
||||||
|
"siteName": "Nom du site",
|
||||||
|
"proxyPort": "Port",
|
||||||
|
"resourcesTableProxyResources": "Ressources proxy",
|
||||||
|
"resourcesTableClientResources": "Ressources client",
|
||||||
|
"resourcesTableNoProxyResourcesFound": "Aucune ressource proxy trouvée.",
|
||||||
|
"resourcesTableNoInternalResourcesFound": "Aucune ressource interne trouvée.",
|
||||||
|
"resourcesTableDestination": "Destination",
|
||||||
|
"resourcesTableTheseResourcesForUseWith": "Ces ressources sont à utiliser avec",
|
||||||
|
"resourcesTableClients": "Clients",
|
||||||
|
"resourcesTableAndOnlyAccessibleInternally": "et sont uniquement accessibles en interne lorsqu'elles sont connectées avec un client.",
|
||||||
|
"editInternalResourceDialogEditClientResource": "Modifier la ressource client",
|
||||||
|
"editInternalResourceDialogUpdateResourceProperties": "Mettez à jour les propriétés de la ressource et la configuration de la cible pour {resourceName}.",
|
||||||
|
"editInternalResourceDialogResourceProperties": "Propriétés de la ressource",
|
||||||
|
"editInternalResourceDialogName": "Nom",
|
||||||
|
"editInternalResourceDialogProtocol": "Protocole",
|
||||||
|
"editInternalResourceDialogSitePort": "Port du site",
|
||||||
|
"editInternalResourceDialogTargetConfiguration": "Configuration de la cible",
|
||||||
|
"editInternalResourceDialogDestinationIP": "IP de destination",
|
||||||
|
"editInternalResourceDialogDestinationPort": "Port de destination",
|
||||||
|
"editInternalResourceDialogCancel": "Abandonner",
|
||||||
|
"editInternalResourceDialogSaveResource": "Enregistrer la ressource",
|
||||||
|
"editInternalResourceDialogSuccess": "Succès",
|
||||||
|
"editInternalResourceDialogInternalResourceUpdatedSuccessfully": "Ressource interne mise à jour avec succès",
|
||||||
|
"editInternalResourceDialogError": "Erreur",
|
||||||
|
"editInternalResourceDialogFailedToUpdateInternalResource": "Échec de la mise à jour de la ressource interne",
|
||||||
|
"editInternalResourceDialogNameRequired": "Le nom est requis",
|
||||||
|
"editInternalResourceDialogNameMaxLength": "Le nom doit être inférieur à 255 caractères",
|
||||||
|
"editInternalResourceDialogProxyPortMin": "Le port proxy doit être d'au moins 1",
|
||||||
|
"editInternalResourceDialogProxyPortMax": "Le port proxy doit être inférieur à 65536",
|
||||||
|
"editInternalResourceDialogInvalidIPAddressFormat": "Format d'adresse IP invalide",
|
||||||
|
"editInternalResourceDialogDestinationPortMin": "Le port de destination doit être d'au moins 1",
|
||||||
|
"editInternalResourceDialogDestinationPortMax": "Le port de destination doit être inférieur à 65536",
|
||||||
|
"createInternalResourceDialogNoSitesAvailable": "Aucun site disponible",
|
||||||
|
"createInternalResourceDialogNoSitesAvailableDescription": "Vous devez avoir au moins un site Newt avec un sous-réseau configuré pour créer des ressources internes.",
|
||||||
|
"createInternalResourceDialogClose": "Fermer",
|
||||||
|
"createInternalResourceDialogCreateClientResource": "Créer une ressource client",
|
||||||
|
"createInternalResourceDialogCreateClientResourceDescription": "Créez une ressource accessible aux clients connectés au site sélectionné.",
|
||||||
|
"createInternalResourceDialogResourceProperties": "Propriétés de la ressource",
|
||||||
|
"createInternalResourceDialogName": "Nom",
|
||||||
|
"createInternalResourceDialogSite": "Site",
|
||||||
|
"createInternalResourceDialogSelectSite": "Sélectionner un site...",
|
||||||
|
"createInternalResourceDialogSearchSites": "Rechercher des sites...",
|
||||||
|
"createInternalResourceDialogNoSitesFound": "Aucun site trouvé.",
|
||||||
|
"createInternalResourceDialogProtocol": "Protocole",
|
||||||
|
"createInternalResourceDialogTcp": "TCP",
|
||||||
|
"createInternalResourceDialogUdp": "UDP",
|
||||||
|
"createInternalResourceDialogSitePort": "Port du site",
|
||||||
|
"createInternalResourceDialogSitePortDescription": "Utilisez ce port pour accéder à la ressource sur le site lors de la connexion avec un client.",
|
||||||
|
"createInternalResourceDialogTargetConfiguration": "Configuration de la cible",
|
||||||
|
"createInternalResourceDialogDestinationIP": "IP de destination",
|
||||||
|
"createInternalResourceDialogDestinationIPDescription": "L'adresse IP de la ressource sur le réseau du site.",
|
||||||
|
"createInternalResourceDialogDestinationPort": "Port de destination",
|
||||||
|
"createInternalResourceDialogDestinationPortDescription": "Le port sur l'IP de destination où la ressource est accessible.",
|
||||||
|
"createInternalResourceDialogCancel": "Abandonner",
|
||||||
|
"createInternalResourceDialogCreateResource": "Créer une ressource",
|
||||||
|
"createInternalResourceDialogSuccess": "Succès",
|
||||||
|
"createInternalResourceDialogInternalResourceCreatedSuccessfully": "Ressource interne créée avec succès",
|
||||||
|
"createInternalResourceDialogError": "Erreur",
|
||||||
|
"createInternalResourceDialogFailedToCreateInternalResource": "Échec de la création de la ressource interne",
|
||||||
|
"createInternalResourceDialogNameRequired": "Le nom est requis",
|
||||||
|
"createInternalResourceDialogNameMaxLength": "Le nom doit être inférieur à 255 caractères",
|
||||||
|
"createInternalResourceDialogPleaseSelectSite": "Veuillez sélectionner un site",
|
||||||
|
"createInternalResourceDialogProxyPortMin": "Le port proxy doit être d'au moins 1",
|
||||||
|
"createInternalResourceDialogProxyPortMax": "Le port proxy doit être inférieur à 65536",
|
||||||
|
"createInternalResourceDialogInvalidIPAddressFormat": "Format d'adresse IP invalide",
|
||||||
|
"createInternalResourceDialogDestinationPortMin": "Le port de destination doit être d'au moins 1",
|
||||||
|
"createInternalResourceDialogDestinationPortMax": "Le port de destination doit être inférieur à 65536",
|
||||||
|
"siteConfiguration": "Configuration",
|
||||||
|
"siteAcceptClientConnections": "Accepter les connexions client",
|
||||||
|
"siteAcceptClientConnectionsDescription": "Permet à d'autres appareils de se connecter via cette instance de Newt en tant que passerelle utilisant des clients.",
|
||||||
|
"siteAddress": "Adresse du site",
|
||||||
|
"siteAddressDescription": "Spécifiez l'adresse IP de l'hôte pour que les clients puissent s'y connecter. C'est l'adresse interne du site dans le réseau Pangolin pour que les clients puissent s'adresser. Doit être dans le sous-réseau de l'organisation.",
|
||||||
|
"autoLoginExternalIdp": "Connexion automatique avec IDP externe",
|
||||||
|
"autoLoginExternalIdpDescription": "Rediriger immédiatement l'utilisateur vers l'IDP externe pour l'authentification.",
|
||||||
|
"selectIdp": "Sélectionner l'IDP",
|
||||||
|
"selectIdpPlaceholder": "Choisissez un IDP...",
|
||||||
|
"selectIdpRequired": "Veuillez sélectionner un IDP lorsque la connexion automatique est activée.",
|
||||||
|
"autoLoginTitle": "Redirection",
|
||||||
|
"autoLoginDescription": "Redirection vers le fournisseur d'identité externe pour l'authentification.",
|
||||||
|
"autoLoginProcessing": "Préparation de l'authentification...",
|
||||||
|
"autoLoginRedirecting": "Redirection vers la connexion...",
|
||||||
|
"autoLoginError": "Erreur de connexion automatique",
|
||||||
|
"autoLoginErrorNoRedirectUrl": "Aucune URL de redirection reçue du fournisseur d'identité.",
|
||||||
|
"autoLoginErrorGeneratingUrl": "Échec de la génération de l'URL d'authentification."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -94,7 +94,9 @@
|
|||||||
"siteNewtTunnelDescription": "Modo più semplice per creare un entrypoint nella rete. Nessuna configurazione aggiuntiva.",
|
"siteNewtTunnelDescription": "Modo più semplice per creare un entrypoint nella rete. Nessuna configurazione aggiuntiva.",
|
||||||
"siteWg": "WireGuard Base",
|
"siteWg": "WireGuard Base",
|
||||||
"siteWgDescription": "Usa qualsiasi client WireGuard per stabilire un tunnel. Impostazione NAT manuale richiesta.",
|
"siteWgDescription": "Usa qualsiasi client WireGuard per stabilire un tunnel. Impostazione NAT manuale richiesta.",
|
||||||
|
"siteWgDescriptionSaas": "Usa qualsiasi client WireGuard per stabilire un tunnel. Impostazione NAT manuale richiesta. FUNZIONA SOLO SU NODI AUTO-OSPITATI",
|
||||||
"siteLocalDescription": "Solo risorse locali. Nessun tunneling.",
|
"siteLocalDescription": "Solo risorse locali. Nessun tunneling.",
|
||||||
|
"siteLocalDescriptionSaas": "Solo risorse locali. Nessun tunneling. FUNZIONA SOLO SU NODI AUTO-OSPITATI",
|
||||||
"siteSeeAll": "Vedi Tutti I Siti",
|
"siteSeeAll": "Vedi Tutti I Siti",
|
||||||
"siteTunnelDescription": "Determina come vuoi connetterti al tuo sito",
|
"siteTunnelDescription": "Determina come vuoi connetterti al tuo sito",
|
||||||
"siteNewtCredentials": "Credenziali Newt",
|
"siteNewtCredentials": "Credenziali Newt",
|
||||||
@@ -166,7 +168,7 @@
|
|||||||
"siteSelect": "Seleziona sito",
|
"siteSelect": "Seleziona sito",
|
||||||
"siteSearch": "Cerca sito",
|
"siteSearch": "Cerca sito",
|
||||||
"siteNotFound": "Nessun sito trovato.",
|
"siteNotFound": "Nessun sito trovato.",
|
||||||
"siteSelectionDescription": "Questo sito fornirà connettività alla risorsa.",
|
"siteSelectionDescription": "Questo sito fornirà connettività all'obiettivo.",
|
||||||
"resourceType": "Tipo Di Risorsa",
|
"resourceType": "Tipo Di Risorsa",
|
||||||
"resourceTypeDescription": "Determina come vuoi accedere alla tua risorsa",
|
"resourceTypeDescription": "Determina come vuoi accedere alla tua risorsa",
|
||||||
"resourceHTTPSSettings": "Impostazioni HTTPS",
|
"resourceHTTPSSettings": "Impostazioni HTTPS",
|
||||||
@@ -197,11 +199,13 @@
|
|||||||
"general": "Generale",
|
"general": "Generale",
|
||||||
"generalSettings": "Impostazioni Generali",
|
"generalSettings": "Impostazioni Generali",
|
||||||
"proxy": "Proxy",
|
"proxy": "Proxy",
|
||||||
|
"internal": "Interno",
|
||||||
"rules": "Regole",
|
"rules": "Regole",
|
||||||
"resourceSettingDescription": "Configura le impostazioni sulla tua risorsa",
|
"resourceSettingDescription": "Configura le impostazioni sulla tua risorsa",
|
||||||
"resourceSetting": "Impostazioni {resourceName}",
|
"resourceSetting": "Impostazioni {resourceName}",
|
||||||
"alwaysAllow": "Consenti Sempre",
|
"alwaysAllow": "Consenti Sempre",
|
||||||
"alwaysDeny": "Nega Sempre",
|
"alwaysDeny": "Nega Sempre",
|
||||||
|
"passToAuth": "Passa all'autenticazione",
|
||||||
"orgSettingsDescription": "Configura le impostazioni generali della tua organizzazione",
|
"orgSettingsDescription": "Configura le impostazioni generali della tua organizzazione",
|
||||||
"orgGeneralSettings": "Impostazioni Organizzazione",
|
"orgGeneralSettings": "Impostazioni Organizzazione",
|
||||||
"orgGeneralSettingsDescription": "Gestisci i dettagli dell'organizzazione e la configurazione",
|
"orgGeneralSettingsDescription": "Gestisci i dettagli dell'organizzazione e la configurazione",
|
||||||
@@ -490,7 +494,7 @@
|
|||||||
"targetTlsSniDescription": "Il Nome Server TLS da usare per SNI. Lascia vuoto per usare quello predefinito.",
|
"targetTlsSniDescription": "Il Nome Server TLS da usare per SNI. Lascia vuoto per usare quello predefinito.",
|
||||||
"targetTlsSubmit": "Salva Impostazioni",
|
"targetTlsSubmit": "Salva Impostazioni",
|
||||||
"targets": "Configurazione Target",
|
"targets": "Configurazione Target",
|
||||||
"targetsDescription": "Configura i target per instradare il traffico ai tuoi servizi",
|
"targetsDescription": "Configura i target per instradare il traffico ai tuoi servizi backend",
|
||||||
"targetStickySessions": "Abilita Sessioni Persistenti",
|
"targetStickySessions": "Abilita Sessioni Persistenti",
|
||||||
"targetStickySessionsDescription": "Mantieni le connessioni sullo stesso target backend per l'intera sessione.",
|
"targetStickySessionsDescription": "Mantieni le connessioni sullo stesso target backend per l'intera sessione.",
|
||||||
"methodSelect": "Seleziona metodo",
|
"methodSelect": "Seleziona metodo",
|
||||||
@@ -542,6 +546,7 @@
|
|||||||
"rulesActions": "Azioni",
|
"rulesActions": "Azioni",
|
||||||
"rulesActionAlwaysAllow": "Consenti Sempre: Ignora tutti i metodi di autenticazione",
|
"rulesActionAlwaysAllow": "Consenti Sempre: Ignora tutti i metodi di autenticazione",
|
||||||
"rulesActionAlwaysDeny": "Nega Sempre: Blocca tutte le richieste; nessuna autenticazione può essere tentata",
|
"rulesActionAlwaysDeny": "Nega Sempre: Blocca tutte le richieste; nessuna autenticazione può essere tentata",
|
||||||
|
"rulesActionPassToAuth": "Passa all'autenticazione: Consenti di tentare i metodi di autenticazione",
|
||||||
"rulesMatchCriteria": "Criteri di Corrispondenza",
|
"rulesMatchCriteria": "Criteri di Corrispondenza",
|
||||||
"rulesMatchCriteriaIpAddress": "Corrisponde a un indirizzo IP specifico",
|
"rulesMatchCriteriaIpAddress": "Corrisponde a un indirizzo IP specifico",
|
||||||
"rulesMatchCriteriaIpAddressRange": "Corrisponde a un intervallo di indirizzi IP in notazione CIDR",
|
"rulesMatchCriteriaIpAddressRange": "Corrisponde a un intervallo di indirizzi IP in notazione CIDR",
|
||||||
@@ -833,6 +838,24 @@
|
|||||||
"pincodeRequirementsLength": "Il PIN deve essere esattamente di 6 cifre",
|
"pincodeRequirementsLength": "Il PIN deve essere esattamente di 6 cifre",
|
||||||
"pincodeRequirementsChars": "Il PIN deve contenere solo numeri",
|
"pincodeRequirementsChars": "Il PIN deve contenere solo numeri",
|
||||||
"passwordRequirementsLength": "La password deve essere lunga almeno 1 carattere",
|
"passwordRequirementsLength": "La password deve essere lunga almeno 1 carattere",
|
||||||
|
"passwordRequirementsTitle": "Requisiti della password:",
|
||||||
|
"passwordRequirementLength": "Almeno 8 caratteri",
|
||||||
|
"passwordRequirementUppercase": "Almeno una lettera maiuscola",
|
||||||
|
"passwordRequirementLowercase": "Almeno una lettera minuscola",
|
||||||
|
"passwordRequirementNumber": "Almeno un numero",
|
||||||
|
"passwordRequirementSpecial": "Almeno un carattere speciale",
|
||||||
|
"passwordRequirementsMet": "✓ La password soddisfa tutti i requisiti",
|
||||||
|
"passwordStrength": "Forza della password",
|
||||||
|
"passwordStrengthWeak": "Debole",
|
||||||
|
"passwordStrengthMedium": "Media",
|
||||||
|
"passwordStrengthStrong": "Forte",
|
||||||
|
"passwordRequirements": "Requisiti:",
|
||||||
|
"passwordRequirementLengthText": "8+ caratteri",
|
||||||
|
"passwordRequirementUppercaseText": "Lettera maiuscola (A-Z)",
|
||||||
|
"passwordRequirementLowercaseText": "Lettera minuscola (a-z)",
|
||||||
|
"passwordRequirementNumberText": "Numero (0-9)",
|
||||||
|
"passwordRequirementSpecialText": "Carattere speciale (!@#$%...)",
|
||||||
|
"passwordsDoNotMatch": "Le password non coincidono",
|
||||||
"otpEmailRequirementsLength": "L'OTP deve essere lungo almeno 1 carattere",
|
"otpEmailRequirementsLength": "L'OTP deve essere lungo almeno 1 carattere",
|
||||||
"otpEmailSent": "OTP Inviato",
|
"otpEmailSent": "OTP Inviato",
|
||||||
"otpEmailSentDescription": "Un OTP è stato inviato alla tua email",
|
"otpEmailSentDescription": "Un OTP è stato inviato alla tua email",
|
||||||
@@ -952,6 +975,7 @@
|
|||||||
"logoutError": "Errore durante il logout",
|
"logoutError": "Errore durante il logout",
|
||||||
"signingAs": "Accesso come",
|
"signingAs": "Accesso come",
|
||||||
"serverAdmin": "Amministratore Server",
|
"serverAdmin": "Amministratore Server",
|
||||||
|
"managedSelfhosted": "Gestito Auto-Ospitato",
|
||||||
"otpEnable": "Abilita Autenticazione a Due Fattori",
|
"otpEnable": "Abilita Autenticazione a Due Fattori",
|
||||||
"otpDisable": "Disabilita Autenticazione a Due Fattori",
|
"otpDisable": "Disabilita Autenticazione a Due Fattori",
|
||||||
"logout": "Disconnetti",
|
"logout": "Disconnetti",
|
||||||
@@ -967,6 +991,9 @@
|
|||||||
"actionDeleteSite": "Elimina Sito",
|
"actionDeleteSite": "Elimina Sito",
|
||||||
"actionGetSite": "Ottieni Sito",
|
"actionGetSite": "Ottieni Sito",
|
||||||
"actionListSites": "Elenca Siti",
|
"actionListSites": "Elenca Siti",
|
||||||
|
"setupToken": "Configura Token",
|
||||||
|
"setupTokenDescription": "Inserisci il token di configurazione dalla console del server.",
|
||||||
|
"setupTokenRequired": "Il token di configurazione è richiesto",
|
||||||
"actionUpdateSite": "Aggiorna Sito",
|
"actionUpdateSite": "Aggiorna Sito",
|
||||||
"actionListSiteRoles": "Elenca Ruoli Sito Consentiti",
|
"actionListSiteRoles": "Elenca Ruoli Sito Consentiti",
|
||||||
"actionCreateResource": "Crea Risorsa",
|
"actionCreateResource": "Crea Risorsa",
|
||||||
@@ -1022,6 +1049,16 @@
|
|||||||
"actionDeleteIdpOrg": "Elimina Politica Org IDP",
|
"actionDeleteIdpOrg": "Elimina Politica Org IDP",
|
||||||
"actionListIdpOrgs": "Elenca Org IDP",
|
"actionListIdpOrgs": "Elenca Org IDP",
|
||||||
"actionUpdateIdpOrg": "Aggiorna Org IDP",
|
"actionUpdateIdpOrg": "Aggiorna Org IDP",
|
||||||
|
"actionCreateClient": "Crea Client",
|
||||||
|
"actionDeleteClient": "Elimina Client",
|
||||||
|
"actionUpdateClient": "Aggiorna Client",
|
||||||
|
"actionListClients": "Elenco Clienti",
|
||||||
|
"actionGetClient": "Ottieni Client",
|
||||||
|
"actionCreateSiteResource": "Crea Risorsa del Sito",
|
||||||
|
"actionDeleteSiteResource": "Elimina Risorsa del Sito",
|
||||||
|
"actionGetSiteResource": "Ottieni Risorsa del Sito",
|
||||||
|
"actionListSiteResources": "Elenca Risorse del Sito",
|
||||||
|
"actionUpdateSiteResource": "Aggiorna Risorsa del Sito",
|
||||||
"noneSelected": "Nessuna selezione",
|
"noneSelected": "Nessuna selezione",
|
||||||
"orgNotFound2": "Nessuna organizzazione trovata.",
|
"orgNotFound2": "Nessuna organizzazione trovata.",
|
||||||
"searchProgress": "Ricerca...",
|
"searchProgress": "Ricerca...",
|
||||||
@@ -1315,8 +1352,110 @@
|
|||||||
"olmErrorFetchLatest": "Si è verificato un errore durante il recupero dell'ultima versione di Olm.",
|
"olmErrorFetchLatest": "Si è verificato un errore durante il recupero dell'ultima versione di Olm.",
|
||||||
"remoteSubnets": "Sottoreti Remote",
|
"remoteSubnets": "Sottoreti Remote",
|
||||||
"enterCidrRange": "Inserisci l'intervallo CIDR",
|
"enterCidrRange": "Inserisci l'intervallo CIDR",
|
||||||
"remoteSubnetsDescription": "Aggiungi intervalli CIDR che possono accedere a questo sito da remoto. Usa il formato come 10.0.0.0/24 o 192.168.1.0/24.",
|
"remoteSubnetsDescription": "Aggiungi intervalli CIDR che possono essere accessibili da questo sito in remoto utilizzando i client. Usa il formato come 10.0.0.0/24. Questo si applica SOLO alla connettività del client VPN.",
|
||||||
"resourceEnableProxy": "Abilita Proxy Pubblico",
|
"resourceEnableProxy": "Abilita Proxy Pubblico",
|
||||||
"resourceEnableProxyDescription": "Abilita il proxy pubblico a questa risorsa. Consente l'accesso alla risorsa dall'esterno della rete tramite il cloud su una porta aperta. Richiede la configurazione di Traefik.",
|
"resourceEnableProxyDescription": "Abilita il proxy pubblico a questa risorsa. Consente l'accesso alla risorsa dall'esterno della rete tramite il cloud su una porta aperta. Richiede la configurazione di Traefik.",
|
||||||
"externalProxyEnabled": "Proxy Esterno Abilitato"
|
"externalProxyEnabled": "Proxy Esterno Abilitato",
|
||||||
|
"addNewTarget": "Aggiungi Nuovo Target",
|
||||||
|
"targetsList": "Elenco dei Target",
|
||||||
|
"targetErrorDuplicateTargetFound": "Target duplicato trovato",
|
||||||
|
"httpMethod": "Metodo HTTP",
|
||||||
|
"selectHttpMethod": "Seleziona metodo HTTP",
|
||||||
|
"domainPickerSubdomainLabel": "Sottodominio",
|
||||||
|
"domainPickerBaseDomainLabel": "Dominio Base",
|
||||||
|
"domainPickerSearchDomains": "Cerca domini...",
|
||||||
|
"domainPickerNoDomainsFound": "Nessun dominio trovato",
|
||||||
|
"domainPickerLoadingDomains": "Caricamento domini...",
|
||||||
|
"domainPickerSelectBaseDomain": "Seleziona dominio base...",
|
||||||
|
"domainPickerNotAvailableForCname": "Non disponibile per i domini CNAME",
|
||||||
|
"domainPickerEnterSubdomainOrLeaveBlank": "Inserisci un sottodominio o lascia vuoto per utilizzare il dominio base.",
|
||||||
|
"domainPickerEnterSubdomainToSearch": "Inserisci un sottodominio per cercare e selezionare dai domini gratuiti disponibili.",
|
||||||
|
"domainPickerFreeDomains": "Domini Gratuiti",
|
||||||
|
"domainPickerSearchForAvailableDomains": "Cerca domini disponibili",
|
||||||
|
"resourceDomain": "Dominio",
|
||||||
|
"resourceEditDomain": "Modifica Dominio",
|
||||||
|
"siteName": "Nome del Sito",
|
||||||
|
"proxyPort": "Porta",
|
||||||
|
"resourcesTableProxyResources": "Risorse Proxy",
|
||||||
|
"resourcesTableClientResources": "Risorse Client",
|
||||||
|
"resourcesTableNoProxyResourcesFound": "Nessuna risorsa proxy trovata.",
|
||||||
|
"resourcesTableNoInternalResourcesFound": "Nessuna risorsa interna trovata.",
|
||||||
|
"resourcesTableDestination": "Destinazione",
|
||||||
|
"resourcesTableTheseResourcesForUseWith": "Queste risorse sono per uso con",
|
||||||
|
"resourcesTableClients": "Client",
|
||||||
|
"resourcesTableAndOnlyAccessibleInternally": "e sono accessibili solo internamente quando connessi con un client.",
|
||||||
|
"editInternalResourceDialogEditClientResource": "Modifica Risorsa Client",
|
||||||
|
"editInternalResourceDialogUpdateResourceProperties": "Aggiorna le proprietà della risorsa e la configurazione del target per {resourceName}.",
|
||||||
|
"editInternalResourceDialogResourceProperties": "Proprietà della Risorsa",
|
||||||
|
"editInternalResourceDialogName": "Nome",
|
||||||
|
"editInternalResourceDialogProtocol": "Protocollo",
|
||||||
|
"editInternalResourceDialogSitePort": "Porta del Sito",
|
||||||
|
"editInternalResourceDialogTargetConfiguration": "Configurazione Target",
|
||||||
|
"editInternalResourceDialogDestinationIP": "IP di Destinazione",
|
||||||
|
"editInternalResourceDialogDestinationPort": "Porta di Destinazione",
|
||||||
|
"editInternalResourceDialogCancel": "Annulla",
|
||||||
|
"editInternalResourceDialogSaveResource": "Salva Risorsa",
|
||||||
|
"editInternalResourceDialogSuccess": "Successo",
|
||||||
|
"editInternalResourceDialogInternalResourceUpdatedSuccessfully": "Risorsa interna aggiornata con successo",
|
||||||
|
"editInternalResourceDialogError": "Errore",
|
||||||
|
"editInternalResourceDialogFailedToUpdateInternalResource": "Impossibile aggiornare la risorsa interna",
|
||||||
|
"editInternalResourceDialogNameRequired": "Il nome è obbligatorio",
|
||||||
|
"editInternalResourceDialogNameMaxLength": "Il nome deve essere inferiore a 255 caratteri",
|
||||||
|
"editInternalResourceDialogProxyPortMin": "La porta proxy deve essere almeno 1",
|
||||||
|
"editInternalResourceDialogProxyPortMax": "La porta proxy deve essere inferiore a 65536",
|
||||||
|
"editInternalResourceDialogInvalidIPAddressFormat": "Formato dell'indirizzo IP non valido",
|
||||||
|
"editInternalResourceDialogDestinationPortMin": "La porta di destinazione deve essere almeno 1",
|
||||||
|
"editInternalResourceDialogDestinationPortMax": "La porta di destinazione deve essere inferiore a 65536",
|
||||||
|
"createInternalResourceDialogNoSitesAvailable": "Nessun Sito Disponibile",
|
||||||
|
"createInternalResourceDialogNoSitesAvailableDescription": "Devi avere almeno un sito Newt con una subnet configurata per creare risorse interne.",
|
||||||
|
"createInternalResourceDialogClose": "Chiudi",
|
||||||
|
"createInternalResourceDialogCreateClientResource": "Crea Risorsa Client",
|
||||||
|
"createInternalResourceDialogCreateClientResourceDescription": "Crea una nuova risorsa che sarà accessibile ai client connessi al sito selezionato.",
|
||||||
|
"createInternalResourceDialogResourceProperties": "Proprietà della Risorsa",
|
||||||
|
"createInternalResourceDialogName": "Nome",
|
||||||
|
"createInternalResourceDialogSite": "Sito",
|
||||||
|
"createInternalResourceDialogSelectSite": "Seleziona sito...",
|
||||||
|
"createInternalResourceDialogSearchSites": "Cerca siti...",
|
||||||
|
"createInternalResourceDialogNoSitesFound": "Nessun sito trovato.",
|
||||||
|
"createInternalResourceDialogProtocol": "Protocollo",
|
||||||
|
"createInternalResourceDialogTcp": "TCP",
|
||||||
|
"createInternalResourceDialogUdp": "UDP",
|
||||||
|
"createInternalResourceDialogSitePort": "Porta del Sito",
|
||||||
|
"createInternalResourceDialogSitePortDescription": "Usa questa porta per accedere alla risorsa nel sito quando sei connesso con un client.",
|
||||||
|
"createInternalResourceDialogTargetConfiguration": "Configurazione Target",
|
||||||
|
"createInternalResourceDialogDestinationIP": "IP di Destinazione",
|
||||||
|
"createInternalResourceDialogDestinationIPDescription": "L'indirizzo IP della risorsa sulla rete del sito.",
|
||||||
|
"createInternalResourceDialogDestinationPort": "Porta di Destinazione",
|
||||||
|
"createInternalResourceDialogDestinationPortDescription": "La porta sull'IP di destinazione dove la risorsa è accessibile.",
|
||||||
|
"createInternalResourceDialogCancel": "Annulla",
|
||||||
|
"createInternalResourceDialogCreateResource": "Crea Risorsa",
|
||||||
|
"createInternalResourceDialogSuccess": "Successo",
|
||||||
|
"createInternalResourceDialogInternalResourceCreatedSuccessfully": "Risorsa interna creata con successo",
|
||||||
|
"createInternalResourceDialogError": "Errore",
|
||||||
|
"createInternalResourceDialogFailedToCreateInternalResource": "Impossibile creare la risorsa interna",
|
||||||
|
"createInternalResourceDialogNameRequired": "Il nome è obbligatorio",
|
||||||
|
"createInternalResourceDialogNameMaxLength": "Il nome non deve superare i 255 caratteri",
|
||||||
|
"createInternalResourceDialogPleaseSelectSite": "Si prega di selezionare un sito",
|
||||||
|
"createInternalResourceDialogProxyPortMin": "La porta proxy deve essere almeno 1",
|
||||||
|
"createInternalResourceDialogProxyPortMax": "La porta proxy deve essere inferiore a 65536",
|
||||||
|
"createInternalResourceDialogInvalidIPAddressFormat": "Formato dell'indirizzo IP non valido",
|
||||||
|
"createInternalResourceDialogDestinationPortMin": "La porta di destinazione deve essere almeno 1",
|
||||||
|
"createInternalResourceDialogDestinationPortMax": "La porta di destinazione deve essere inferiore a 65536",
|
||||||
|
"siteConfiguration": "Configurazione",
|
||||||
|
"siteAcceptClientConnections": "Accetta Connessioni Client",
|
||||||
|
"siteAcceptClientConnectionsDescription": "Permetti ad altri dispositivi di connettersi attraverso questa istanza Newt come gateway utilizzando i client.",
|
||||||
|
"siteAddress": "Indirizzo del Sito",
|
||||||
|
"siteAddressDescription": "Specifica l'indirizzo IP dell'host a cui i client si collegano. Questo è l'indirizzo interno del sito nella rete Pangolin per indirizzare i client. Deve rientrare nella subnet dell'Organizzazione.",
|
||||||
|
"autoLoginExternalIdp": "Accesso Automatico con IDP Esterno",
|
||||||
|
"autoLoginExternalIdpDescription": "Reindirizzare immediatamente l'utente all'IDP esterno per l'autenticazione.",
|
||||||
|
"selectIdp": "Seleziona IDP",
|
||||||
|
"selectIdpPlaceholder": "Scegli un IDP...",
|
||||||
|
"selectIdpRequired": "Si prega di selezionare un IDP quando l'accesso automatico è abilitato.",
|
||||||
|
"autoLoginTitle": "Reindirizzamento",
|
||||||
|
"autoLoginDescription": "Reindirizzandoti al provider di identità esterno per l'autenticazione.",
|
||||||
|
"autoLoginProcessing": "Preparazione dell'autenticazione...",
|
||||||
|
"autoLoginRedirecting": "Reindirizzamento al login...",
|
||||||
|
"autoLoginError": "Errore di Accesso Automatico",
|
||||||
|
"autoLoginErrorNoRedirectUrl": "Nessun URL di reindirizzamento ricevuto dal provider di identità.",
|
||||||
|
"autoLoginErrorGeneratingUrl": "Impossibile generare l'URL di autenticazione."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -94,7 +94,9 @@
|
|||||||
"siteNewtTunnelDescription": "네트워크에 대한 진입점을 생성하는 가장 쉬운 방법입니다. 추가 설정이 필요 없습니다.",
|
"siteNewtTunnelDescription": "네트워크에 대한 진입점을 생성하는 가장 쉬운 방법입니다. 추가 설정이 필요 없습니다.",
|
||||||
"siteWg": "기본 WireGuard",
|
"siteWg": "기본 WireGuard",
|
||||||
"siteWgDescription": "모든 WireGuard 클라이언트를 사용하여 터널을 설정하세요. 수동 NAT 설정이 필요합니다.",
|
"siteWgDescription": "모든 WireGuard 클라이언트를 사용하여 터널을 설정하세요. 수동 NAT 설정이 필요합니다.",
|
||||||
|
"siteWgDescriptionSaas": "모든 WireGuard 클라이언트를 사용하여 터널을 설정하세요. 수동 NAT 설정이 필요합니다. 자체 호스팅 노드에서만 작동합니다.",
|
||||||
"siteLocalDescription": "로컬 리소스만 사용 가능합니다. 터널링이 없습니다.",
|
"siteLocalDescription": "로컬 리소스만 사용 가능합니다. 터널링이 없습니다.",
|
||||||
|
"siteLocalDescriptionSaas": "로컬 리소스만. 터널링 없음. 자체 호스팅 노드에서만 작동합니다.",
|
||||||
"siteSeeAll": "모든 사이트 보기",
|
"siteSeeAll": "모든 사이트 보기",
|
||||||
"siteTunnelDescription": "사이트에 연결하는 방법을 결정하세요",
|
"siteTunnelDescription": "사이트에 연결하는 방법을 결정하세요",
|
||||||
"siteNewtCredentials": "Newt 자격 증명",
|
"siteNewtCredentials": "Newt 자격 증명",
|
||||||
@@ -166,7 +168,7 @@
|
|||||||
"siteSelect": "사이트 선택",
|
"siteSelect": "사이트 선택",
|
||||||
"siteSearch": "사이트 검색",
|
"siteSearch": "사이트 검색",
|
||||||
"siteNotFound": "사이트를 찾을 수 없습니다.",
|
"siteNotFound": "사이트를 찾을 수 없습니다.",
|
||||||
"siteSelectionDescription": "이 사이트는 리소스에 대한 연결을 제공합니다.",
|
"siteSelectionDescription": "이 사이트는 대상에 대한 연결을 제공합니다.",
|
||||||
"resourceType": "리소스 유형",
|
"resourceType": "리소스 유형",
|
||||||
"resourceTypeDescription": "리소스에 접근하는 방법을 결정하세요",
|
"resourceTypeDescription": "리소스에 접근하는 방법을 결정하세요",
|
||||||
"resourceHTTPSSettings": "HTTPS 설정",
|
"resourceHTTPSSettings": "HTTPS 설정",
|
||||||
@@ -197,11 +199,13 @@
|
|||||||
"general": "일반",
|
"general": "일반",
|
||||||
"generalSettings": "일반 설정",
|
"generalSettings": "일반 설정",
|
||||||
"proxy": "프록시",
|
"proxy": "프록시",
|
||||||
|
"internal": "내부",
|
||||||
"rules": "규칙",
|
"rules": "규칙",
|
||||||
"resourceSettingDescription": "리소스의 설정을 구성하세요.",
|
"resourceSettingDescription": "리소스의 설정을 구성하세요.",
|
||||||
"resourceSetting": "{resourceName} 설정",
|
"resourceSetting": "{resourceName} 설정",
|
||||||
"alwaysAllow": "항상 허용",
|
"alwaysAllow": "항상 허용",
|
||||||
"alwaysDeny": "항상 거부",
|
"alwaysDeny": "항상 거부",
|
||||||
|
"passToAuth": "인증으로 전달",
|
||||||
"orgSettingsDescription": "조직의 일반 설정을 구성하세요",
|
"orgSettingsDescription": "조직의 일반 설정을 구성하세요",
|
||||||
"orgGeneralSettings": "조직 설정",
|
"orgGeneralSettings": "조직 설정",
|
||||||
"orgGeneralSettingsDescription": "조직 세부정보 및 구성을 관리하세요.",
|
"orgGeneralSettingsDescription": "조직 세부정보 및 구성을 관리하세요.",
|
||||||
@@ -490,7 +494,7 @@
|
|||||||
"targetTlsSniDescription": "SNI에 사용할 TLS 서버 이름. 기본값을 사용하려면 비워 두십시오.",
|
"targetTlsSniDescription": "SNI에 사용할 TLS 서버 이름. 기본값을 사용하려면 비워 두십시오.",
|
||||||
"targetTlsSubmit": "설정 저장",
|
"targetTlsSubmit": "설정 저장",
|
||||||
"targets": "대상 구성",
|
"targets": "대상 구성",
|
||||||
"targetsDescription": "서비스로 트래픽을 라우팅할 대상을 설정하십시오",
|
"targetsDescription": "사용자 백엔드 서비스로 트래픽을 라우팅할 대상을 설정하십시오.",
|
||||||
"targetStickySessions": "스티키 세션 활성화",
|
"targetStickySessions": "스티키 세션 활성화",
|
||||||
"targetStickySessionsDescription": "세션 전체 동안 동일한 백엔드 대상을 유지합니다.",
|
"targetStickySessionsDescription": "세션 전체 동안 동일한 백엔드 대상을 유지합니다.",
|
||||||
"methodSelect": "선택 방법",
|
"methodSelect": "선택 방법",
|
||||||
@@ -542,6 +546,7 @@
|
|||||||
"rulesActions": "작업",
|
"rulesActions": "작업",
|
||||||
"rulesActionAlwaysAllow": "항상 허용: 모든 인증 방법 우회",
|
"rulesActionAlwaysAllow": "항상 허용: 모든 인증 방법 우회",
|
||||||
"rulesActionAlwaysDeny": "항상 거부: 모든 요청을 차단합니다. 인증을 시도할 수 없습니다.",
|
"rulesActionAlwaysDeny": "항상 거부: 모든 요청을 차단합니다. 인증을 시도할 수 없습니다.",
|
||||||
|
"rulesActionPassToAuth": "인증으로 전달: 인증 방법 시도를 허용합니다",
|
||||||
"rulesMatchCriteria": "일치 기준",
|
"rulesMatchCriteria": "일치 기준",
|
||||||
"rulesMatchCriteriaIpAddress": "특정 IP 주소와 일치",
|
"rulesMatchCriteriaIpAddress": "특정 IP 주소와 일치",
|
||||||
"rulesMatchCriteriaIpAddressRange": "CIDR 표기법으로 IP 주소 범위를 일치시킵니다",
|
"rulesMatchCriteriaIpAddressRange": "CIDR 표기법으로 IP 주소 범위를 일치시킵니다",
|
||||||
@@ -833,6 +838,24 @@
|
|||||||
"pincodeRequirementsLength": "PIN은 정확히 6자리여야 합니다",
|
"pincodeRequirementsLength": "PIN은 정확히 6자리여야 합니다",
|
||||||
"pincodeRequirementsChars": "PIN은 숫자만 포함해야 합니다.",
|
"pincodeRequirementsChars": "PIN은 숫자만 포함해야 합니다.",
|
||||||
"passwordRequirementsLength": "비밀번호는 최소 1자 이상이어야 합니다",
|
"passwordRequirementsLength": "비밀번호는 최소 1자 이상이어야 합니다",
|
||||||
|
"passwordRequirementsTitle": "비밀번호 요구사항:",
|
||||||
|
"passwordRequirementLength": "최소 8자 이상",
|
||||||
|
"passwordRequirementUppercase": "최소 대문자 하나",
|
||||||
|
"passwordRequirementLowercase": "최소 소문자 하나",
|
||||||
|
"passwordRequirementNumber": "최소 숫자 하나",
|
||||||
|
"passwordRequirementSpecial": "최소 특수 문자 하나",
|
||||||
|
"passwordRequirementsMet": "✓ 비밀번호가 모든 요구사항을 충족합니다.",
|
||||||
|
"passwordStrength": "비밀번호 강도",
|
||||||
|
"passwordStrengthWeak": "약함",
|
||||||
|
"passwordStrengthMedium": "보통",
|
||||||
|
"passwordStrengthStrong": "강함",
|
||||||
|
"passwordRequirements": "요구 사항:",
|
||||||
|
"passwordRequirementLengthText": "8자 이상",
|
||||||
|
"passwordRequirementUppercaseText": "대문자 (A-Z)",
|
||||||
|
"passwordRequirementLowercaseText": "소문자 (a-z)",
|
||||||
|
"passwordRequirementNumberText": "숫자 (0-9)",
|
||||||
|
"passwordRequirementSpecialText": "특수 문자 (!@#$%...)",
|
||||||
|
"passwordsDoNotMatch": "비밀번호가 일치하지 않습니다.",
|
||||||
"otpEmailRequirementsLength": "OTP는 최소 1자 이상이어야 합니다",
|
"otpEmailRequirementsLength": "OTP는 최소 1자 이상이어야 합니다",
|
||||||
"otpEmailSent": "OTP 전송됨",
|
"otpEmailSent": "OTP 전송됨",
|
||||||
"otpEmailSentDescription": "OTP가 귀하의 이메일로 전송되었습니다.",
|
"otpEmailSentDescription": "OTP가 귀하의 이메일로 전송되었습니다.",
|
||||||
@@ -952,6 +975,7 @@
|
|||||||
"logoutError": "로그아웃 중 오류 발생",
|
"logoutError": "로그아웃 중 오류 발생",
|
||||||
"signingAs": "로그인한 사용자",
|
"signingAs": "로그인한 사용자",
|
||||||
"serverAdmin": "서버 관리자",
|
"serverAdmin": "서버 관리자",
|
||||||
|
"managedSelfhosted": "관리 자체 호스팅",
|
||||||
"otpEnable": "이중 인증 활성화",
|
"otpEnable": "이중 인증 활성화",
|
||||||
"otpDisable": "이중 인증 비활성화",
|
"otpDisable": "이중 인증 비활성화",
|
||||||
"logout": "로그 아웃",
|
"logout": "로그 아웃",
|
||||||
@@ -967,6 +991,9 @@
|
|||||||
"actionDeleteSite": "사이트 삭제",
|
"actionDeleteSite": "사이트 삭제",
|
||||||
"actionGetSite": "사이트 가져오기",
|
"actionGetSite": "사이트 가져오기",
|
||||||
"actionListSites": "사이트 목록",
|
"actionListSites": "사이트 목록",
|
||||||
|
"setupToken": "설정 토큰",
|
||||||
|
"setupTokenDescription": "서버 콘솔에서 설정 토큰 입력.",
|
||||||
|
"setupTokenRequired": "설정 토큰이 필요합니다",
|
||||||
"actionUpdateSite": "사이트 업데이트",
|
"actionUpdateSite": "사이트 업데이트",
|
||||||
"actionListSiteRoles": "허용된 사이트 역할 목록",
|
"actionListSiteRoles": "허용된 사이트 역할 목록",
|
||||||
"actionCreateResource": "리소스 생성",
|
"actionCreateResource": "리소스 생성",
|
||||||
@@ -1022,6 +1049,16 @@
|
|||||||
"actionDeleteIdpOrg": "IDP 조직 정책 삭제",
|
"actionDeleteIdpOrg": "IDP 조직 정책 삭제",
|
||||||
"actionListIdpOrgs": "IDP 조직 목록",
|
"actionListIdpOrgs": "IDP 조직 목록",
|
||||||
"actionUpdateIdpOrg": "IDP 조직 업데이트",
|
"actionUpdateIdpOrg": "IDP 조직 업데이트",
|
||||||
|
"actionCreateClient": "클라이언트 생성",
|
||||||
|
"actionDeleteClient": "클라이언트 삭제",
|
||||||
|
"actionUpdateClient": "클라이언트 업데이트",
|
||||||
|
"actionListClients": "클라이언트 목록",
|
||||||
|
"actionGetClient": "클라이언트 가져오기",
|
||||||
|
"actionCreateSiteResource": "사이트 리소스 생성",
|
||||||
|
"actionDeleteSiteResource": "사이트 리소스 삭제",
|
||||||
|
"actionGetSiteResource": "사이트 리소스 가져오기",
|
||||||
|
"actionListSiteResources": "사이트 리소스 목록",
|
||||||
|
"actionUpdateSiteResource": "사이트 리소스 업데이트",
|
||||||
"noneSelected": "선택된 항목 없음",
|
"noneSelected": "선택된 항목 없음",
|
||||||
"orgNotFound2": "조직이 없습니다.",
|
"orgNotFound2": "조직이 없습니다.",
|
||||||
"searchProgress": "검색...",
|
"searchProgress": "검색...",
|
||||||
@@ -1093,7 +1130,7 @@
|
|||||||
"sidebarAllUsers": "모든 사용자",
|
"sidebarAllUsers": "모든 사용자",
|
||||||
"sidebarIdentityProviders": "신원 공급자",
|
"sidebarIdentityProviders": "신원 공급자",
|
||||||
"sidebarLicense": "라이선스",
|
"sidebarLicense": "라이선스",
|
||||||
"sidebarClients": "Clients (Beta)",
|
"sidebarClients": "클라이언트 (Beta)",
|
||||||
"sidebarDomains": "도메인",
|
"sidebarDomains": "도메인",
|
||||||
"enableDockerSocket": "Docker 소켓 활성화",
|
"enableDockerSocket": "Docker 소켓 활성화",
|
||||||
"enableDockerSocketDescription": "컨테이너 정보를 채우기 위해 Docker 소켓 검색을 활성화합니다. 소켓 경로는 Newt에 제공되어야 합니다.",
|
"enableDockerSocketDescription": "컨테이너 정보를 채우기 위해 Docker 소켓 검색을 활성화합니다. 소켓 경로는 Newt에 제공되어야 합니다.",
|
||||||
@@ -1161,7 +1198,7 @@
|
|||||||
"selectDomainTypeCnameName": "단일 도메인 (CNAME)",
|
"selectDomainTypeCnameName": "단일 도메인 (CNAME)",
|
||||||
"selectDomainTypeCnameDescription": "단일 하위 도메인 또는 특정 도메인 항목에 사용됩니다.",
|
"selectDomainTypeCnameDescription": "단일 하위 도메인 또는 특정 도메인 항목에 사용됩니다.",
|
||||||
"selectDomainTypeWildcardName": "와일드카드 도메인",
|
"selectDomainTypeWildcardName": "와일드카드 도메인",
|
||||||
"selectDomainTypeWildcardDescription": "This domain and its subdomains.",
|
"selectDomainTypeWildcardDescription": "이 도메인 및 그 하위 도메인.",
|
||||||
"domainDelegation": "단일 도메인",
|
"domainDelegation": "단일 도메인",
|
||||||
"selectType": "유형 선택",
|
"selectType": "유형 선택",
|
||||||
"actions": "작업",
|
"actions": "작업",
|
||||||
@@ -1195,17 +1232,17 @@
|
|||||||
"sidebarExpand": "확장하기",
|
"sidebarExpand": "확장하기",
|
||||||
"newtUpdateAvailable": "업데이트 가능",
|
"newtUpdateAvailable": "업데이트 가능",
|
||||||
"newtUpdateAvailableInfo": "뉴트의 새 버전이 출시되었습니다. 최상의 경험을 위해 최신 버전으로 업데이트하세요.",
|
"newtUpdateAvailableInfo": "뉴트의 새 버전이 출시되었습니다. 최상의 경험을 위해 최신 버전으로 업데이트하세요.",
|
||||||
"domainPickerEnterDomain": "Domain",
|
"domainPickerEnterDomain": "도메인",
|
||||||
"domainPickerPlaceholder": "myapp.example.com, api.v1.mydomain.com, 또는 그냥 myapp",
|
"domainPickerPlaceholder": "myapp.example.com, api.v1.mydomain.com, 또는 그냥 myapp",
|
||||||
"domainPickerDescription": "Enter the full domain of the resource to see available options.",
|
"domainPickerDescription": "리소스의 전체 도메인을 입력하여 사용 가능한 옵션을 확인하십시오.",
|
||||||
"domainPickerDescriptionSaas": "Enter a full domain, subdomain, or just a name to see available options",
|
"domainPickerDescriptionSaas": "전체 도메인, 서브도메인 또는 이름을 입력하여 사용 가능한 옵션을 확인하십시오.",
|
||||||
"domainPickerTabAll": "모두",
|
"domainPickerTabAll": "모두",
|
||||||
"domainPickerTabOrganization": "조직",
|
"domainPickerTabOrganization": "조직",
|
||||||
"domainPickerTabProvided": "제공 됨",
|
"domainPickerTabProvided": "제공 됨",
|
||||||
"domainPickerSortAsc": "A-Z",
|
"domainPickerSortAsc": "A-Z",
|
||||||
"domainPickerSortDesc": "Z-A",
|
"domainPickerSortDesc": "Z-A",
|
||||||
"domainPickerCheckingAvailability": "가용성을 확인 중...",
|
"domainPickerCheckingAvailability": "가용성을 확인 중...",
|
||||||
"domainPickerNoMatchingDomains": "No matching domains found. Try a different domain or check your organization's domain settings.",
|
"domainPickerNoMatchingDomains": "일치하는 도메인을 찾을 수 없습니다. 다른 도메인을 시도하거나 조직의 도메인 설정을 확인하십시오.",
|
||||||
"domainPickerOrganizationDomains": "조직 도메인",
|
"domainPickerOrganizationDomains": "조직 도메인",
|
||||||
"domainPickerProvidedDomains": "제공된 도메인",
|
"domainPickerProvidedDomains": "제공된 도메인",
|
||||||
"domainPickerSubdomain": "서브도메인: {subdomain}",
|
"domainPickerSubdomain": "서브도메인: {subdomain}",
|
||||||
@@ -1231,7 +1268,7 @@
|
|||||||
"securityKeyRemoveSuccess": "보안 키가 성공적으로 제거되었습니다",
|
"securityKeyRemoveSuccess": "보안 키가 성공적으로 제거되었습니다",
|
||||||
"securityKeyRemoveError": "보안 키 제거 실패",
|
"securityKeyRemoveError": "보안 키 제거 실패",
|
||||||
"securityKeyLoadError": "보안 키를 불러오는 데 실패했습니다",
|
"securityKeyLoadError": "보안 키를 불러오는 데 실패했습니다",
|
||||||
"securityKeyLogin": "Continue with security key",
|
"securityKeyLogin": "보안 키로 계속하기",
|
||||||
"securityKeyAuthError": "보안 키를 사용한 인증 실패",
|
"securityKeyAuthError": "보안 키를 사용한 인증 실패",
|
||||||
"securityKeyRecommendation": "항상 계정에 액세스할 수 있도록 다른 장치에 백업 보안 키를 등록하세요.",
|
"securityKeyRecommendation": "항상 계정에 액세스할 수 있도록 다른 장치에 백업 보안 키를 등록하세요.",
|
||||||
"registering": "등록 중...",
|
"registering": "등록 중...",
|
||||||
@@ -1265,7 +1302,7 @@
|
|||||||
"createDomainName": "이름:",
|
"createDomainName": "이름:",
|
||||||
"createDomainValue": "값:",
|
"createDomainValue": "값:",
|
||||||
"createDomainCnameRecords": "CNAME 레코드",
|
"createDomainCnameRecords": "CNAME 레코드",
|
||||||
"createDomainARecords": "A Records",
|
"createDomainARecords": "A 레코드",
|
||||||
"createDomainRecordNumber": "레코드 {number}",
|
"createDomainRecordNumber": "레코드 {number}",
|
||||||
"createDomainTxtRecords": "TXT 레코드",
|
"createDomainTxtRecords": "TXT 레코드",
|
||||||
"createDomainSaveTheseRecords": "이 레코드 저장",
|
"createDomainSaveTheseRecords": "이 레코드 저장",
|
||||||
@@ -1275,48 +1312,150 @@
|
|||||||
"resourcePortRequired": "HTTP 리소스가 아닌 경우 포트 번호가 필요합니다",
|
"resourcePortRequired": "HTTP 리소스가 아닌 경우 포트 번호가 필요합니다",
|
||||||
"resourcePortNotAllowed": "HTTP 리소스에 대해 포트 번호를 설정하지 마세요",
|
"resourcePortNotAllowed": "HTTP 리소스에 대해 포트 번호를 설정하지 마세요",
|
||||||
"signUpTerms": {
|
"signUpTerms": {
|
||||||
"IAgreeToThe": "I agree to the",
|
"IAgreeToThe": "동의합니다",
|
||||||
"termsOfService": "terms of service",
|
"termsOfService": "서비스 약관",
|
||||||
"and": "and",
|
"and": "및",
|
||||||
"privacyPolicy": "privacy policy"
|
"privacyPolicy": "개인 정보 보호 정책"
|
||||||
},
|
},
|
||||||
"siteRequired": "Site is required.",
|
"siteRequired": "사이트가 필요합니다.",
|
||||||
"olmTunnel": "Olm Tunnel",
|
"olmTunnel": "Olm 터널",
|
||||||
"olmTunnelDescription": "Use Olm for client connectivity",
|
"olmTunnelDescription": "클라이언트 연결에 Olm 사용",
|
||||||
"errorCreatingClient": "Error creating client",
|
"errorCreatingClient": "클라이언트 생성 오류",
|
||||||
"clientDefaultsNotFound": "Client defaults not found",
|
"clientDefaultsNotFound": "클라이언트 기본값을 찾을 수 없습니다.",
|
||||||
"createClient": "Create Client",
|
"createClient": "클라이언트 생성",
|
||||||
"createClientDescription": "Create a new client for connecting to your sites",
|
"createClientDescription": "사이트에 연결하기 위한 새 클라이언트를 생성하십시오.",
|
||||||
"seeAllClients": "See All Clients",
|
"seeAllClients": "모든 클라이언트 보기",
|
||||||
"clientInformation": "Client Information",
|
"clientInformation": "클라이언트 정보",
|
||||||
"clientNamePlaceholder": "Client name",
|
"clientNamePlaceholder": "클라이언트 이름",
|
||||||
"address": "Address",
|
"address": "주소",
|
||||||
"subnetPlaceholder": "Subnet",
|
"subnetPlaceholder": "서브넷",
|
||||||
"addressDescription": "The address that this client will use for connectivity",
|
"addressDescription": "이 클라이언트가 연결에 사용할 주소",
|
||||||
"selectSites": "Select sites",
|
"selectSites": "사이트 선택",
|
||||||
"sitesDescription": "The client will have connectivity to the selected sites",
|
"sitesDescription": "클라이언트는 선택한 사이트에 연결됩니다.",
|
||||||
"clientInstallOlm": "Install Olm",
|
"clientInstallOlm": "Olm 설치",
|
||||||
"clientInstallOlmDescription": "Get Olm running on your system",
|
"clientInstallOlmDescription": "시스템에서 Olm을 실행하기",
|
||||||
"clientOlmCredentials": "Olm Credentials",
|
"clientOlmCredentials": "Olm 자격 증명",
|
||||||
"clientOlmCredentialsDescription": "This is how Olm will authenticate with the server",
|
"clientOlmCredentialsDescription": "Olm이 서버와 인증하는 방법입니다.",
|
||||||
"olmEndpoint": "Olm Endpoint",
|
"olmEndpoint": "Olm 엔드포인트",
|
||||||
"olmId": "Olm ID",
|
"olmId": "Olm ID",
|
||||||
"olmSecretKey": "Olm Secret Key",
|
"olmSecretKey": "Olm 비밀 키",
|
||||||
"clientCredentialsSave": "Save Your Credentials",
|
"clientCredentialsSave": "자격 증명 저장",
|
||||||
"clientCredentialsSaveDescription": "You will only be able to see this once. Make sure to copy it to a secure place.",
|
"clientCredentialsSaveDescription": "이것은 한 번만 볼 수 있습니다. 안전한 장소에 복사해 두세요.",
|
||||||
"generalSettingsDescription": "Configure the general settings for this client",
|
"generalSettingsDescription": "이 클라이언트에 대한 일반 설정을 구성하세요.",
|
||||||
"clientUpdated": "Client updated",
|
"clientUpdated": "클라이언트 업데이트됨",
|
||||||
"clientUpdatedDescription": "The client has been updated.",
|
"clientUpdatedDescription": "클라이언트가 업데이트되었습니다.",
|
||||||
"clientUpdateFailed": "Failed to update client",
|
"clientUpdateFailed": "클라이언트 업데이트 실패",
|
||||||
"clientUpdateError": "An error occurred while updating the client.",
|
"clientUpdateError": "클라이언트 업데이트 중 오류가 발생했습니다.",
|
||||||
"sitesFetchFailed": "Failed to fetch sites",
|
"sitesFetchFailed": "사이트 가져오기 실패",
|
||||||
"sitesFetchError": "An error occurred while fetching sites.",
|
"sitesFetchError": "사이트 가져오는 중 오류가 발생했습니다.",
|
||||||
"olmErrorFetchReleases": "An error occurred while fetching Olm releases.",
|
"olmErrorFetchReleases": "Olm 릴리즈 가져오는 중 오류가 발생했습니다.",
|
||||||
"olmErrorFetchLatest": "An error occurred while fetching the latest Olm release.",
|
"olmErrorFetchLatest": "최신 Olm 릴리즈 가져오는 중 오류가 발생했습니다.",
|
||||||
"remoteSubnets": "Remote Subnets",
|
"remoteSubnets": "원격 서브넷",
|
||||||
"enterCidrRange": "Enter CIDR range",
|
"enterCidrRange": "CIDR 범위 입력",
|
||||||
"remoteSubnetsDescription": "Add CIDR ranges that can access this site remotely. Use format like 10.0.0.0/24 or 192.168.1.0/24.",
|
"remoteSubnetsDescription": "이 사이트에서 원격으로 액세스할 수 있는 CIDR 범위를 추가하세요. 10.0.0.0/24와 같은 형식을 사용하세요. 이는 VPN 클라이언트 연결에만 적용됩니다.",
|
||||||
"resourceEnableProxy": "Enable Public Proxy",
|
"resourceEnableProxy": "공개 프록시 사용",
|
||||||
"resourceEnableProxyDescription": "Enable public proxying to this resource. This allows access to the resource from outside the network through the cloud on an open port. Requires Traefik config.",
|
"resourceEnableProxyDescription": "이 리소스에 대한 공개 프록시를 활성화하십시오. 이를 통해 네트워크 외부로부터 클라우드를 통해 열린 포트에서 리소스에 액세스할 수 있습니다. Traefik 구성이 필요합니다.",
|
||||||
"externalProxyEnabled": "External Proxy Enabled"
|
"externalProxyEnabled": "외부 프록시 활성화됨",
|
||||||
|
"addNewTarget": "새 대상 추가",
|
||||||
|
"targetsList": "대상 목록",
|
||||||
|
"targetErrorDuplicateTargetFound": "중복 대상 발견",
|
||||||
|
"httpMethod": "HTTP 메소드",
|
||||||
|
"selectHttpMethod": "HTTP 메소드 선택",
|
||||||
|
"domainPickerSubdomainLabel": "서브도메인",
|
||||||
|
"domainPickerBaseDomainLabel": "기본 도메인",
|
||||||
|
"domainPickerSearchDomains": "도메인 검색...",
|
||||||
|
"domainPickerNoDomainsFound": "찾을 수 없는 도메인이 없습니다",
|
||||||
|
"domainPickerLoadingDomains": "도메인 로딩 중...",
|
||||||
|
"domainPickerSelectBaseDomain": "기본 도메인 선택...",
|
||||||
|
"domainPickerNotAvailableForCname": "CNAME 도메인에는 사용할 수 없습니다",
|
||||||
|
"domainPickerEnterSubdomainOrLeaveBlank": "서브도메인을 입력하거나 기본 도메인을 사용하려면 공백으로 두십시오.",
|
||||||
|
"domainPickerEnterSubdomainToSearch": "사용 가능한 무료 도메인에서 검색 및 선택할 서브도메인 입력.",
|
||||||
|
"domainPickerFreeDomains": "무료 도메인",
|
||||||
|
"domainPickerSearchForAvailableDomains": "사용 가능한 도메인 검색",
|
||||||
|
"resourceDomain": "도메인",
|
||||||
|
"resourceEditDomain": "도메인 수정",
|
||||||
|
"siteName": "사이트 이름",
|
||||||
|
"proxyPort": "포트",
|
||||||
|
"resourcesTableProxyResources": "프록시 리소스",
|
||||||
|
"resourcesTableClientResources": "클라이언트 리소스",
|
||||||
|
"resourcesTableNoProxyResourcesFound": "프록시 리소스를 찾을 수 없습니다.",
|
||||||
|
"resourcesTableNoInternalResourcesFound": "내부 리소스를 찾을 수 없습니다.",
|
||||||
|
"resourcesTableDestination": "대상지",
|
||||||
|
"resourcesTableTheseResourcesForUseWith": "이 리소스는 다음과 함께 사용하기 위한 것입니다.",
|
||||||
|
"resourcesTableClients": "클라이언트",
|
||||||
|
"resourcesTableAndOnlyAccessibleInternally": "클라이언트와 연결되었을 때만 내부적으로 접근 가능합니다.",
|
||||||
|
"editInternalResourceDialogEditClientResource": "클라이언트 리소스 수정",
|
||||||
|
"editInternalResourceDialogUpdateResourceProperties": "{resourceName}의 리소스 속성과 대상 구성을 업데이트하세요.",
|
||||||
|
"editInternalResourceDialogResourceProperties": "리소스 속성",
|
||||||
|
"editInternalResourceDialogName": "이름",
|
||||||
|
"editInternalResourceDialogProtocol": "프로토콜",
|
||||||
|
"editInternalResourceDialogSitePort": "사이트 포트",
|
||||||
|
"editInternalResourceDialogTargetConfiguration": "대상 구성",
|
||||||
|
"editInternalResourceDialogDestinationIP": "대상 IP",
|
||||||
|
"editInternalResourceDialogDestinationPort": "대상 IP의 포트",
|
||||||
|
"editInternalResourceDialogCancel": "취소",
|
||||||
|
"editInternalResourceDialogSaveResource": "리소스 저장",
|
||||||
|
"editInternalResourceDialogSuccess": "성공",
|
||||||
|
"editInternalResourceDialogInternalResourceUpdatedSuccessfully": "내부 리소스가 성공적으로 업데이트되었습니다",
|
||||||
|
"editInternalResourceDialogError": "오류",
|
||||||
|
"editInternalResourceDialogFailedToUpdateInternalResource": "내부 리소스 업데이트 실패",
|
||||||
|
"editInternalResourceDialogNameRequired": "이름은 필수입니다.",
|
||||||
|
"editInternalResourceDialogNameMaxLength": "이름은 255자 이하이어야 합니다.",
|
||||||
|
"editInternalResourceDialogProxyPortMin": "프록시 포트는 최소 1이어야 합니다.",
|
||||||
|
"editInternalResourceDialogProxyPortMax": "프록시 포트는 65536 미만이어야 합니다.",
|
||||||
|
"editInternalResourceDialogInvalidIPAddressFormat": "잘못된 IP 주소 형식",
|
||||||
|
"editInternalResourceDialogDestinationPortMin": "대상 포트는 최소 1이어야 합니다.",
|
||||||
|
"editInternalResourceDialogDestinationPortMax": "대상 포트는 65536 미만이어야 합니다.",
|
||||||
|
"createInternalResourceDialogNoSitesAvailable": "사용 가능한 사이트가 없습니다.",
|
||||||
|
"createInternalResourceDialogNoSitesAvailableDescription": "내부 리소스를 생성하려면 서브넷이 구성된 최소 하나의 Newt 사이트가 필요합니다.",
|
||||||
|
"createInternalResourceDialogClose": "닫기",
|
||||||
|
"createInternalResourceDialogCreateClientResource": "클라이언트 리소스 생성",
|
||||||
|
"createInternalResourceDialogCreateClientResourceDescription": "선택한 사이트에 연결된 클라이언트에 접근할 새 리소스를 생성합니다.",
|
||||||
|
"createInternalResourceDialogResourceProperties": "리소스 속성",
|
||||||
|
"createInternalResourceDialogName": "이름",
|
||||||
|
"createInternalResourceDialogSite": "사이트",
|
||||||
|
"createInternalResourceDialogSelectSite": "사이트 선택...",
|
||||||
|
"createInternalResourceDialogSearchSites": "사이트 검색...",
|
||||||
|
"createInternalResourceDialogNoSitesFound": "사이트를 찾을 수 없습니다.",
|
||||||
|
"createInternalResourceDialogProtocol": "프로토콜",
|
||||||
|
"createInternalResourceDialogTcp": "TCP",
|
||||||
|
"createInternalResourceDialogUdp": "UDP",
|
||||||
|
"createInternalResourceDialogSitePort": "사이트 포트",
|
||||||
|
"createInternalResourceDialogSitePortDescription": "사이트에 연결되었을 때 리소스에 접근하기 위해 이 포트를 사용합니다.",
|
||||||
|
"createInternalResourceDialogTargetConfiguration": "대상 설정",
|
||||||
|
"createInternalResourceDialogDestinationIP": "대상 IP",
|
||||||
|
"createInternalResourceDialogDestinationIPDescription": "사이트 네트워크의 자원 IP 주소입니다.",
|
||||||
|
"createInternalResourceDialogDestinationPort": "대상 포트",
|
||||||
|
"createInternalResourceDialogDestinationPortDescription": "대상 IP에서 리소스에 접근할 수 있는 포트입니다.",
|
||||||
|
"createInternalResourceDialogCancel": "취소",
|
||||||
|
"createInternalResourceDialogCreateResource": "리소스 생성",
|
||||||
|
"createInternalResourceDialogSuccess": "성공",
|
||||||
|
"createInternalResourceDialogInternalResourceCreatedSuccessfully": "내부 리소스가 성공적으로 생성되었습니다.",
|
||||||
|
"createInternalResourceDialogError": "오류",
|
||||||
|
"createInternalResourceDialogFailedToCreateInternalResource": "내부 리소스 생성 실패",
|
||||||
|
"createInternalResourceDialogNameRequired": "이름은 필수입니다.",
|
||||||
|
"createInternalResourceDialogNameMaxLength": "이름은 255자 이하이어야 합니다.",
|
||||||
|
"createInternalResourceDialogPleaseSelectSite": "사이트를 선택하세요",
|
||||||
|
"createInternalResourceDialogProxyPortMin": "프록시 포트는 최소 1이어야 합니다.",
|
||||||
|
"createInternalResourceDialogProxyPortMax": "프록시 포트는 65536 미만이어야 합니다.",
|
||||||
|
"createInternalResourceDialogInvalidIPAddressFormat": "잘못된 IP 주소 형식",
|
||||||
|
"createInternalResourceDialogDestinationPortMin": "대상 포트는 최소 1이어야 합니다.",
|
||||||
|
"createInternalResourceDialogDestinationPortMax": "대상 포트는 65536 미만이어야 합니다.",
|
||||||
|
"siteConfiguration": "설정",
|
||||||
|
"siteAcceptClientConnections": "클라이언트 연결 허용",
|
||||||
|
"siteAcceptClientConnectionsDescription": "이 Newt 인스턴스를 게이트웨이로 사용하여 다른 장치가 연결될 수 있도록 허용합니다.",
|
||||||
|
"siteAddress": "사이트 주소",
|
||||||
|
"siteAddressDescription": "클라이언트가 연결하기 위한 호스트의 IP 주소를 지정합니다. 이는 클라이언트가 주소를 지정하기 위한 Pangolin 네트워크의 사이트 내부 주소입니다. 조직 서브넷 내에 있어야 합니다.",
|
||||||
|
"autoLoginExternalIdp": "외부 IDP로 자동 로그인",
|
||||||
|
"autoLoginExternalIdpDescription": "인증을 위해 외부 IDP로 사용자를 즉시 리디렉션합니다.",
|
||||||
|
"selectIdp": "IDP 선택",
|
||||||
|
"selectIdpPlaceholder": "IDP 선택...",
|
||||||
|
"selectIdpRequired": "자동 로그인이 활성화된 경우 IDP를 선택하십시오.",
|
||||||
|
"autoLoginTitle": "리디렉션 중",
|
||||||
|
"autoLoginDescription": "인증을 위해 외부 ID 공급자로 리디렉션 중입니다.",
|
||||||
|
"autoLoginProcessing": "인증 준비 중...",
|
||||||
|
"autoLoginRedirecting": "로그인으로 리디렉션 중...",
|
||||||
|
"autoLoginError": "자동 로그인 오류",
|
||||||
|
"autoLoginErrorNoRedirectUrl": "ID 공급자로부터 리디렉션 URL을 받지 못했습니다.",
|
||||||
|
"autoLoginErrorGeneratingUrl": "인증 URL 생성 실패."
|
||||||
}
|
}
|
||||||
|
|||||||
1461
messages/nb-NO.json
Normal file
1461
messages/nb-NO.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -94,7 +94,9 @@
|
|||||||
"siteNewtTunnelDescription": "Gemakkelijkste manier om een ingangspunt in uw netwerk te maken. Geen extra opzet.",
|
"siteNewtTunnelDescription": "Gemakkelijkste manier om een ingangspunt in uw netwerk te maken. Geen extra opzet.",
|
||||||
"siteWg": "Basis WireGuard",
|
"siteWg": "Basis WireGuard",
|
||||||
"siteWgDescription": "Gebruik een WireGuard client om een tunnel te bouwen. Handmatige NAT installatie vereist.",
|
"siteWgDescription": "Gebruik een WireGuard client om een tunnel te bouwen. Handmatige NAT installatie vereist.",
|
||||||
|
"siteWgDescriptionSaas": "Gebruik elke WireGuard-client om een tunnel op te zetten. Handmatige NAT-instelling vereist. WERKT ALLEEN OP SELF HOSTED NODES",
|
||||||
"siteLocalDescription": "Alleen lokale bronnen. Geen tunneling.",
|
"siteLocalDescription": "Alleen lokale bronnen. Geen tunneling.",
|
||||||
|
"siteLocalDescriptionSaas": "Alleen lokale bronnen. Geen tunneling. WERKT ALLEEN OP SELF HOSTED NODES",
|
||||||
"siteSeeAll": "Alle werkruimtes bekijken",
|
"siteSeeAll": "Alle werkruimtes bekijken",
|
||||||
"siteTunnelDescription": "Bepaal hoe u verbinding wilt maken met uw site",
|
"siteTunnelDescription": "Bepaal hoe u verbinding wilt maken met uw site",
|
||||||
"siteNewtCredentials": "Nieuwste aanmeldgegevens",
|
"siteNewtCredentials": "Nieuwste aanmeldgegevens",
|
||||||
@@ -166,7 +168,7 @@
|
|||||||
"siteSelect": "Selecteer site",
|
"siteSelect": "Selecteer site",
|
||||||
"siteSearch": "Zoek site",
|
"siteSearch": "Zoek site",
|
||||||
"siteNotFound": "Geen site gevonden.",
|
"siteNotFound": "Geen site gevonden.",
|
||||||
"siteSelectionDescription": "Deze site zal connectiviteit met de bron geven.",
|
"siteSelectionDescription": "Deze site zal connectiviteit met het doelwit bieden.",
|
||||||
"resourceType": "Type bron",
|
"resourceType": "Type bron",
|
||||||
"resourceTypeDescription": "Bepaal hoe u toegang wilt krijgen tot uw bron",
|
"resourceTypeDescription": "Bepaal hoe u toegang wilt krijgen tot uw bron",
|
||||||
"resourceHTTPSSettings": "HTTPS instellingen",
|
"resourceHTTPSSettings": "HTTPS instellingen",
|
||||||
@@ -197,11 +199,13 @@
|
|||||||
"general": "Algemeen",
|
"general": "Algemeen",
|
||||||
"generalSettings": "Algemene instellingen",
|
"generalSettings": "Algemene instellingen",
|
||||||
"proxy": "Proxy",
|
"proxy": "Proxy",
|
||||||
|
"internal": "Intern",
|
||||||
"rules": "Regels",
|
"rules": "Regels",
|
||||||
"resourceSettingDescription": "Configureer de instellingen op uw bron",
|
"resourceSettingDescription": "Configureer de instellingen op uw bron",
|
||||||
"resourceSetting": "{resourceName} instellingen",
|
"resourceSetting": "{resourceName} instellingen",
|
||||||
"alwaysAllow": "Altijd toestaan",
|
"alwaysAllow": "Altijd toestaan",
|
||||||
"alwaysDeny": "Altijd weigeren",
|
"alwaysDeny": "Altijd weigeren",
|
||||||
|
"passToAuth": "Passeren naar Auth",
|
||||||
"orgSettingsDescription": "Configureer de algemene instellingen van je organisatie",
|
"orgSettingsDescription": "Configureer de algemene instellingen van je organisatie",
|
||||||
"orgGeneralSettings": "Organisatie Instellingen",
|
"orgGeneralSettings": "Organisatie Instellingen",
|
||||||
"orgGeneralSettingsDescription": "Beheer de details en configuratie van uw organisatie",
|
"orgGeneralSettingsDescription": "Beheer de details en configuratie van uw organisatie",
|
||||||
@@ -490,7 +494,7 @@
|
|||||||
"targetTlsSniDescription": "De TLS servernaam om te gebruiken voor SNI. Laat leeg om de standaard te gebruiken.",
|
"targetTlsSniDescription": "De TLS servernaam om te gebruiken voor SNI. Laat leeg om de standaard te gebruiken.",
|
||||||
"targetTlsSubmit": "Instellingen opslaan",
|
"targetTlsSubmit": "Instellingen opslaan",
|
||||||
"targets": "Doelstellingen configuratie",
|
"targets": "Doelstellingen configuratie",
|
||||||
"targetsDescription": "Stel doelen in om verkeer naar uw diensten te leiden",
|
"targetsDescription": "Stel doelen in om verkeer naar uw backend-services te leiden",
|
||||||
"targetStickySessions": "Sticky sessies inschakelen",
|
"targetStickySessions": "Sticky sessies inschakelen",
|
||||||
"targetStickySessionsDescription": "Behoud verbindingen op hetzelfde backend doel voor hun hele sessie.",
|
"targetStickySessionsDescription": "Behoud verbindingen op hetzelfde backend doel voor hun hele sessie.",
|
||||||
"methodSelect": "Selecteer methode",
|
"methodSelect": "Selecteer methode",
|
||||||
@@ -542,6 +546,7 @@
|
|||||||
"rulesActions": "acties",
|
"rulesActions": "acties",
|
||||||
"rulesActionAlwaysAllow": "Altijd toegestaan: Omzeil alle authenticatiemethoden",
|
"rulesActionAlwaysAllow": "Altijd toegestaan: Omzeil alle authenticatiemethoden",
|
||||||
"rulesActionAlwaysDeny": "Altijd weigeren: Blokkeer alle aanvragen, er kan geen verificatie worden geprobeerd",
|
"rulesActionAlwaysDeny": "Altijd weigeren: Blokkeer alle aanvragen, er kan geen verificatie worden geprobeerd",
|
||||||
|
"rulesActionPassToAuth": "Doorgeven aan Auth: Toestaan dat authenticatiemethoden worden geprobeerd",
|
||||||
"rulesMatchCriteria": "Overeenkomende criteria",
|
"rulesMatchCriteria": "Overeenkomende criteria",
|
||||||
"rulesMatchCriteriaIpAddress": "Overeenkomen met een specifiek IP-adres",
|
"rulesMatchCriteriaIpAddress": "Overeenkomen met een specifiek IP-adres",
|
||||||
"rulesMatchCriteriaIpAddressRange": "Overeenkomen met een bereik van IP-adressen in de CIDR-notatie",
|
"rulesMatchCriteriaIpAddressRange": "Overeenkomen met een bereik van IP-adressen in de CIDR-notatie",
|
||||||
@@ -833,6 +838,24 @@
|
|||||||
"pincodeRequirementsLength": "Pincode moet precies 6 cijfers zijn",
|
"pincodeRequirementsLength": "Pincode moet precies 6 cijfers zijn",
|
||||||
"pincodeRequirementsChars": "Pincode mag alleen cijfers bevatten",
|
"pincodeRequirementsChars": "Pincode mag alleen cijfers bevatten",
|
||||||
"passwordRequirementsLength": "Wachtwoord moet ten minste 1 teken lang zijn",
|
"passwordRequirementsLength": "Wachtwoord moet ten minste 1 teken lang zijn",
|
||||||
|
"passwordRequirementsTitle": "Wachtwoordvereisten:",
|
||||||
|
"passwordRequirementLength": "Minstens 8 tekens lang",
|
||||||
|
"passwordRequirementUppercase": "Minstens één hoofdletter",
|
||||||
|
"passwordRequirementLowercase": "Minstens één kleine letter",
|
||||||
|
"passwordRequirementNumber": "Minstens één cijfer",
|
||||||
|
"passwordRequirementSpecial": "Minstens één speciaal teken",
|
||||||
|
"passwordRequirementsMet": "✓ Wachtwoord voldoet aan alle vereisten",
|
||||||
|
"passwordStrength": "Wachtwoord sterkte",
|
||||||
|
"passwordStrengthWeak": "Zwak",
|
||||||
|
"passwordStrengthMedium": "Gemiddeld",
|
||||||
|
"passwordStrengthStrong": "Sterk",
|
||||||
|
"passwordRequirements": "Vereisten:",
|
||||||
|
"passwordRequirementLengthText": "8+ tekens",
|
||||||
|
"passwordRequirementUppercaseText": "Hoofdletter (A-Z)",
|
||||||
|
"passwordRequirementLowercaseText": "Kleine letter (a-z)",
|
||||||
|
"passwordRequirementNumberText": "Cijfer (0-9)",
|
||||||
|
"passwordRequirementSpecialText": "Speciaal teken (!@#$%...)",
|
||||||
|
"passwordsDoNotMatch": "Wachtwoorden komen niet overeen",
|
||||||
"otpEmailRequirementsLength": "OTP moet minstens 1 teken lang zijn",
|
"otpEmailRequirementsLength": "OTP moet minstens 1 teken lang zijn",
|
||||||
"otpEmailSent": "OTP verzonden",
|
"otpEmailSent": "OTP verzonden",
|
||||||
"otpEmailSentDescription": "Een OTP is naar uw e-mail verzonden",
|
"otpEmailSentDescription": "Een OTP is naar uw e-mail verzonden",
|
||||||
@@ -952,6 +975,7 @@
|
|||||||
"logoutError": "Fout bij uitloggen",
|
"logoutError": "Fout bij uitloggen",
|
||||||
"signingAs": "Ingelogd als",
|
"signingAs": "Ingelogd als",
|
||||||
"serverAdmin": "Server Beheerder",
|
"serverAdmin": "Server Beheerder",
|
||||||
|
"managedSelfhosted": "Beheerde Self-Hosted",
|
||||||
"otpEnable": "Twee-factor inschakelen",
|
"otpEnable": "Twee-factor inschakelen",
|
||||||
"otpDisable": "Tweestapsverificatie uitschakelen",
|
"otpDisable": "Tweestapsverificatie uitschakelen",
|
||||||
"logout": "Log uit",
|
"logout": "Log uit",
|
||||||
@@ -967,6 +991,9 @@
|
|||||||
"actionDeleteSite": "Site verwijderen",
|
"actionDeleteSite": "Site verwijderen",
|
||||||
"actionGetSite": "Site ophalen",
|
"actionGetSite": "Site ophalen",
|
||||||
"actionListSites": "Sites weergeven",
|
"actionListSites": "Sites weergeven",
|
||||||
|
"setupToken": "Setup Token",
|
||||||
|
"setupTokenDescription": "Voer het setup-token in vanaf de serverconsole.",
|
||||||
|
"setupTokenRequired": "Setup-token is vereist",
|
||||||
"actionUpdateSite": "Site bijwerken",
|
"actionUpdateSite": "Site bijwerken",
|
||||||
"actionListSiteRoles": "Toon toegestane sitenollen",
|
"actionListSiteRoles": "Toon toegestane sitenollen",
|
||||||
"actionCreateResource": "Bron maken",
|
"actionCreateResource": "Bron maken",
|
||||||
@@ -1022,6 +1049,16 @@
|
|||||||
"actionDeleteIdpOrg": "Verwijder IDP Org Beleid",
|
"actionDeleteIdpOrg": "Verwijder IDP Org Beleid",
|
||||||
"actionListIdpOrgs": "Toon IDP Orgs",
|
"actionListIdpOrgs": "Toon IDP Orgs",
|
||||||
"actionUpdateIdpOrg": "IDP-org bijwerken",
|
"actionUpdateIdpOrg": "IDP-org bijwerken",
|
||||||
|
"actionCreateClient": "Client aanmaken",
|
||||||
|
"actionDeleteClient": "Verwijder klant",
|
||||||
|
"actionUpdateClient": "Klant bijwerken",
|
||||||
|
"actionListClients": "Lijst klanten",
|
||||||
|
"actionGetClient": "Client ophalen",
|
||||||
|
"actionCreateSiteResource": "Sitebron maken",
|
||||||
|
"actionDeleteSiteResource": "Document verwijderen van site",
|
||||||
|
"actionGetSiteResource": "Bron van site ophalen",
|
||||||
|
"actionListSiteResources": "Bronnen van site weergeven",
|
||||||
|
"actionUpdateSiteResource": "Document bijwerken van site",
|
||||||
"noneSelected": "Niet geselecteerd",
|
"noneSelected": "Niet geselecteerd",
|
||||||
"orgNotFound2": "Geen organisaties gevonden.",
|
"orgNotFound2": "Geen organisaties gevonden.",
|
||||||
"searchProgress": "Zoeken...",
|
"searchProgress": "Zoeken...",
|
||||||
@@ -1315,8 +1352,110 @@
|
|||||||
"olmErrorFetchLatest": "Er is een fout opgetreden bij het ophalen van de nieuwste Olm release.",
|
"olmErrorFetchLatest": "Er is een fout opgetreden bij het ophalen van de nieuwste Olm release.",
|
||||||
"remoteSubnets": "Externe Subnets",
|
"remoteSubnets": "Externe Subnets",
|
||||||
"enterCidrRange": "Voer CIDR-bereik in",
|
"enterCidrRange": "Voer CIDR-bereik in",
|
||||||
"remoteSubnetsDescription": "Voeg CIDR-bereiken toe die deze site op afstand kunnen openen. Gebruik een format zoals 10.0.0.0/24 of 192.168.1.0/24.",
|
"remoteSubnetsDescription": "Voeg CIDR-bereiken toe die vanaf deze site op afstand toegankelijk zijn met behulp van clients. Gebruik een formaat zoals 10.0.0.0/24. Dit geldt ALLEEN voor VPN-clientconnectiviteit.",
|
||||||
"resourceEnableProxy": "Openbare proxy inschakelen",
|
"resourceEnableProxy": "Openbare proxy inschakelen",
|
||||||
"resourceEnableProxyDescription": "Schakel publieke proxy in voor deze resource. Dit maakt toegang tot de resource mogelijk vanuit het netwerk via de cloud met een open poort. Vereist Traefik-configuratie.",
|
"resourceEnableProxyDescription": "Schakel publieke proxy in voor deze resource. Dit maakt toegang tot de resource mogelijk vanuit het netwerk via de cloud met een open poort. Vereist Traefik-configuratie.",
|
||||||
"externalProxyEnabled": "Externe Proxy Ingeschakeld"
|
"externalProxyEnabled": "Externe Proxy Ingeschakeld",
|
||||||
|
"addNewTarget": "Voeg nieuw doelwit toe",
|
||||||
|
"targetsList": "Lijst met doelen",
|
||||||
|
"targetErrorDuplicateTargetFound": "Dubbel doelwit gevonden",
|
||||||
|
"httpMethod": "HTTP-methode",
|
||||||
|
"selectHttpMethod": "Selecteer HTTP-methode",
|
||||||
|
"domainPickerSubdomainLabel": "Subdomein",
|
||||||
|
"domainPickerBaseDomainLabel": "Basisdomein",
|
||||||
|
"domainPickerSearchDomains": "Zoek domeinen...",
|
||||||
|
"domainPickerNoDomainsFound": "Geen domeinen gevonden",
|
||||||
|
"domainPickerLoadingDomains": "Domeinen laden...",
|
||||||
|
"domainPickerSelectBaseDomain": "Selecteer basisdomein...",
|
||||||
|
"domainPickerNotAvailableForCname": "Niet beschikbaar voor CNAME-domeinen",
|
||||||
|
"domainPickerEnterSubdomainOrLeaveBlank": "Voer een subdomein in of laat leeg om basisdomein te gebruiken.",
|
||||||
|
"domainPickerEnterSubdomainToSearch": "Voer een subdomein in om te zoeken en te selecteren uit beschikbare gratis domeinen.",
|
||||||
|
"domainPickerFreeDomains": "Gratis Domeinen",
|
||||||
|
"domainPickerSearchForAvailableDomains": "Zoek naar beschikbare domeinen",
|
||||||
|
"resourceDomain": "Domein",
|
||||||
|
"resourceEditDomain": "Domein bewerken",
|
||||||
|
"siteName": "Site Naam",
|
||||||
|
"proxyPort": "Poort",
|
||||||
|
"resourcesTableProxyResources": "Proxybronnen",
|
||||||
|
"resourcesTableClientResources": "Clientbronnen",
|
||||||
|
"resourcesTableNoProxyResourcesFound": "Geen proxybronnen gevonden.",
|
||||||
|
"resourcesTableNoInternalResourcesFound": "Geen interne bronnen gevonden.",
|
||||||
|
"resourcesTableDestination": "Bestemming",
|
||||||
|
"resourcesTableTheseResourcesForUseWith": "Deze bronnen zijn bedoeld voor gebruik met",
|
||||||
|
"resourcesTableClients": "Clienten",
|
||||||
|
"resourcesTableAndOnlyAccessibleInternally": "en zijn alleen intern toegankelijk wanneer verbonden met een client.",
|
||||||
|
"editInternalResourceDialogEditClientResource": "Bewerk clientbron",
|
||||||
|
"editInternalResourceDialogUpdateResourceProperties": "Werk de eigenschapen van de bron en doelconfiguratie bij voor {resourceName}.",
|
||||||
|
"editInternalResourceDialogResourceProperties": "Bron eigenschappen",
|
||||||
|
"editInternalResourceDialogName": "Naam",
|
||||||
|
"editInternalResourceDialogProtocol": "Protocol",
|
||||||
|
"editInternalResourceDialogSitePort": "Site Poort",
|
||||||
|
"editInternalResourceDialogTargetConfiguration": "Doelconfiguratie",
|
||||||
|
"editInternalResourceDialogDestinationIP": "Bestemming IP",
|
||||||
|
"editInternalResourceDialogDestinationPort": "Bestemmingspoort",
|
||||||
|
"editInternalResourceDialogCancel": "Annuleren",
|
||||||
|
"editInternalResourceDialogSaveResource": "Sla bron op",
|
||||||
|
"editInternalResourceDialogSuccess": "Succes",
|
||||||
|
"editInternalResourceDialogInternalResourceUpdatedSuccessfully": "Interne bron succesvol bijgewerkt",
|
||||||
|
"editInternalResourceDialogError": "Fout",
|
||||||
|
"editInternalResourceDialogFailedToUpdateInternalResource": "Het bijwerken van de interne bron is mislukt",
|
||||||
|
"editInternalResourceDialogNameRequired": "Naam is verplicht",
|
||||||
|
"editInternalResourceDialogNameMaxLength": "Naam mag niet langer zijn dan 255 tekens",
|
||||||
|
"editInternalResourceDialogProxyPortMin": "Proxy poort moet minstens 1 zijn",
|
||||||
|
"editInternalResourceDialogProxyPortMax": "Proxy poort moet minder dan 65536 zijn",
|
||||||
|
"editInternalResourceDialogInvalidIPAddressFormat": "Ongeldig IP-adresformaat",
|
||||||
|
"editInternalResourceDialogDestinationPortMin": "Bestemmingspoort moet minstens 1 zijn",
|
||||||
|
"editInternalResourceDialogDestinationPortMax": "Bestemmingspoort moet minder dan 65536 zijn",
|
||||||
|
"createInternalResourceDialogNoSitesAvailable": "Geen sites beschikbaar",
|
||||||
|
"createInternalResourceDialogNoSitesAvailableDescription": "U moet ten minste één Newt-site hebben met een geconfigureerd subnet om interne bronnen aan te maken.",
|
||||||
|
"createInternalResourceDialogClose": "Sluiten",
|
||||||
|
"createInternalResourceDialogCreateClientResource": "Maak clientbron",
|
||||||
|
"createInternalResourceDialogCreateClientResourceDescription": "Maak een nieuwe bron die toegankelijk zal zijn voor clients die verbonden zijn met de geselecteerde site.",
|
||||||
|
"createInternalResourceDialogResourceProperties": "Bron-eigenschappen",
|
||||||
|
"createInternalResourceDialogName": "Naam",
|
||||||
|
"createInternalResourceDialogSite": "Site",
|
||||||
|
"createInternalResourceDialogSelectSite": "Selecteer site...",
|
||||||
|
"createInternalResourceDialogSearchSites": "Zoek sites...",
|
||||||
|
"createInternalResourceDialogNoSitesFound": "Geen sites gevonden.",
|
||||||
|
"createInternalResourceDialogProtocol": "Protocol",
|
||||||
|
"createInternalResourceDialogTcp": "TCP",
|
||||||
|
"createInternalResourceDialogUdp": "UDP",
|
||||||
|
"createInternalResourceDialogSitePort": "Site Poort",
|
||||||
|
"createInternalResourceDialogSitePortDescription": "Gebruik deze poort om toegang te krijgen tot de bron op de site wanneer verbonden met een client.",
|
||||||
|
"createInternalResourceDialogTargetConfiguration": "Doelconfiguratie",
|
||||||
|
"createInternalResourceDialogDestinationIP": "Bestemming IP",
|
||||||
|
"createInternalResourceDialogDestinationIPDescription": "Het IP-adres van de bron op het netwerk van de site.",
|
||||||
|
"createInternalResourceDialogDestinationPort": "Bestemmingspoort",
|
||||||
|
"createInternalResourceDialogDestinationPortDescription": "De poort op het bestemmings-IP waar de bron toegankelijk is.",
|
||||||
|
"createInternalResourceDialogCancel": "Annuleren",
|
||||||
|
"createInternalResourceDialogCreateResource": "Bron aanmaken",
|
||||||
|
"createInternalResourceDialogSuccess": "Succes",
|
||||||
|
"createInternalResourceDialogInternalResourceCreatedSuccessfully": "Interne bron succesvol aangemaakt",
|
||||||
|
"createInternalResourceDialogError": "Fout",
|
||||||
|
"createInternalResourceDialogFailedToCreateInternalResource": "Het aanmaken van de interne bron is mislukt",
|
||||||
|
"createInternalResourceDialogNameRequired": "Naam is verplicht",
|
||||||
|
"createInternalResourceDialogNameMaxLength": "Naam mag niet langer zijn dan 255 tekens",
|
||||||
|
"createInternalResourceDialogPleaseSelectSite": "Selecteer alstublieft een site",
|
||||||
|
"createInternalResourceDialogProxyPortMin": "Proxy poort moet minstens 1 zijn",
|
||||||
|
"createInternalResourceDialogProxyPortMax": "Proxy poort moet minder dan 65536 zijn",
|
||||||
|
"createInternalResourceDialogInvalidIPAddressFormat": "Ongeldig IP-adresformaat",
|
||||||
|
"createInternalResourceDialogDestinationPortMin": "Bestemmingspoort moet minstens 1 zijn",
|
||||||
|
"createInternalResourceDialogDestinationPortMax": "Bestemmingspoort moet minder dan 65536 zijn",
|
||||||
|
"siteConfiguration": "Configuratie",
|
||||||
|
"siteAcceptClientConnections": "Accepteer clientverbindingen",
|
||||||
|
"siteAcceptClientConnectionsDescription": "Sta toe dat andere apparaten verbinding maken via deze Newt-instantie als een gateway met behulp van clients.",
|
||||||
|
"siteAddress": "Siteadres",
|
||||||
|
"siteAddressDescription": "Specificeren het IP-adres van de host voor clients om verbinding mee te maken. Dit is het interne adres van de site in het Pangolin netwerk voor clients om te adresseren. Moet binnen het Organisatienetwerk vallen.",
|
||||||
|
"autoLoginExternalIdp": "Auto Login met Externe IDP",
|
||||||
|
"autoLoginExternalIdpDescription": "De gebruiker onmiddellijk doorsturen naar de externe IDP voor authenticatie.",
|
||||||
|
"selectIdp": "Selecteer IDP",
|
||||||
|
"selectIdpPlaceholder": "Kies een IDP...",
|
||||||
|
"selectIdpRequired": "Selecteer alstublieft een IDP wanneer automatisch inloggen is ingeschakeld.",
|
||||||
|
"autoLoginTitle": "Omleiden",
|
||||||
|
"autoLoginDescription": "Je wordt doorverwezen naar de externe identity provider voor authenticatie.",
|
||||||
|
"autoLoginProcessing": "Authenticatie voorbereiden...",
|
||||||
|
"autoLoginRedirecting": "Redirecting naar inloggen...",
|
||||||
|
"autoLoginError": "Auto Login Fout",
|
||||||
|
"autoLoginErrorNoRedirectUrl": "Geen redirect URL ontvangen van de identity provider.",
|
||||||
|
"autoLoginErrorGeneratingUrl": "Genereren van authenticatie-URL mislukt."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -94,7 +94,9 @@
|
|||||||
"siteNewtTunnelDescription": "Łatwiejszy sposób na stworzenie punktu wejścia w sieci. Nie ma dodatkowej konfiguracji.",
|
"siteNewtTunnelDescription": "Łatwiejszy sposób na stworzenie punktu wejścia w sieci. Nie ma dodatkowej konfiguracji.",
|
||||||
"siteWg": "Podstawowy WireGuard",
|
"siteWg": "Podstawowy WireGuard",
|
||||||
"siteWgDescription": "Użyj dowolnego klienta WireGuard do utworzenia tunelu. Wymagana jest ręczna konfiguracja NAT.",
|
"siteWgDescription": "Użyj dowolnego klienta WireGuard do utworzenia tunelu. Wymagana jest ręczna konfiguracja NAT.",
|
||||||
|
"siteWgDescriptionSaas": "Użyj dowolnego klienta WireGuard do utworzenia tunelu. Wymagana ręczna konfiguracja NAT. DZIAŁA TYLKO NA SAMODZIELNIE HOSTOWANYCH WĘZŁACH",
|
||||||
"siteLocalDescription": "Tylko lokalne zasoby. Brak tunelu.",
|
"siteLocalDescription": "Tylko lokalne zasoby. Brak tunelu.",
|
||||||
|
"siteLocalDescriptionSaas": "Tylko zasoby lokalne. Brak tunelowania. DZIAŁA TYLKO NA SAMODZIELNIE HOSTOWANYCH WĘZŁACH",
|
||||||
"siteSeeAll": "Zobacz wszystkie witryny",
|
"siteSeeAll": "Zobacz wszystkie witryny",
|
||||||
"siteTunnelDescription": "Określ jak chcesz połączyć się ze swoją stroną",
|
"siteTunnelDescription": "Określ jak chcesz połączyć się ze swoją stroną",
|
||||||
"siteNewtCredentials": "Aktualne dane logowania",
|
"siteNewtCredentials": "Aktualne dane logowania",
|
||||||
@@ -166,7 +168,7 @@
|
|||||||
"siteSelect": "Wybierz witrynę",
|
"siteSelect": "Wybierz witrynę",
|
||||||
"siteSearch": "Szukaj witryny",
|
"siteSearch": "Szukaj witryny",
|
||||||
"siteNotFound": "Nie znaleziono witryny.",
|
"siteNotFound": "Nie znaleziono witryny.",
|
||||||
"siteSelectionDescription": "Ta strona zapewni połączenie z zasobem.",
|
"siteSelectionDescription": "Ta strona zapewni połączenie z celem.",
|
||||||
"resourceType": "Typ zasobu",
|
"resourceType": "Typ zasobu",
|
||||||
"resourceTypeDescription": "Określ jak chcesz uzyskać dostęp do swojego zasobu",
|
"resourceTypeDescription": "Określ jak chcesz uzyskać dostęp do swojego zasobu",
|
||||||
"resourceHTTPSSettings": "Ustawienia HTTPS",
|
"resourceHTTPSSettings": "Ustawienia HTTPS",
|
||||||
@@ -197,11 +199,13 @@
|
|||||||
"general": "Ogólny",
|
"general": "Ogólny",
|
||||||
"generalSettings": "Ustawienia ogólne",
|
"generalSettings": "Ustawienia ogólne",
|
||||||
"proxy": "Serwer pośredniczący",
|
"proxy": "Serwer pośredniczący",
|
||||||
|
"internal": "Wewętrzny",
|
||||||
"rules": "Regulamin",
|
"rules": "Regulamin",
|
||||||
"resourceSettingDescription": "Skonfiguruj ustawienia zasobu",
|
"resourceSettingDescription": "Skonfiguruj ustawienia zasobu",
|
||||||
"resourceSetting": "Ustawienia {resourceName}",
|
"resourceSetting": "Ustawienia {resourceName}",
|
||||||
"alwaysAllow": "Zawsze zezwalaj",
|
"alwaysAllow": "Zawsze zezwalaj",
|
||||||
"alwaysDeny": "Zawsze odmawiaj",
|
"alwaysDeny": "Zawsze odmawiaj",
|
||||||
|
"passToAuth": "Przekaż do Autoryzacji",
|
||||||
"orgSettingsDescription": "Skonfiguruj ustawienia ogólne swojej organizacji",
|
"orgSettingsDescription": "Skonfiguruj ustawienia ogólne swojej organizacji",
|
||||||
"orgGeneralSettings": "Ustawienia organizacji",
|
"orgGeneralSettings": "Ustawienia organizacji",
|
||||||
"orgGeneralSettingsDescription": "Zarządzaj szczegółami swojej organizacji i konfiguracją",
|
"orgGeneralSettingsDescription": "Zarządzaj szczegółami swojej organizacji i konfiguracją",
|
||||||
@@ -490,7 +494,7 @@
|
|||||||
"targetTlsSniDescription": "Nazwa serwera TLS do użycia dla SNI. Pozostaw puste, aby użyć domyślnej.",
|
"targetTlsSniDescription": "Nazwa serwera TLS do użycia dla SNI. Pozostaw puste, aby użyć domyślnej.",
|
||||||
"targetTlsSubmit": "Zapisz ustawienia",
|
"targetTlsSubmit": "Zapisz ustawienia",
|
||||||
"targets": "Konfiguracja celów",
|
"targets": "Konfiguracja celów",
|
||||||
"targetsDescription": "Skonfiguruj cele do kierowania ruchu do swoich usług",
|
"targetsDescription": "Skonfiguruj cele do kierowania ruchu do usług zaplecza",
|
||||||
"targetStickySessions": "Włącz sesje trwałe",
|
"targetStickySessions": "Włącz sesje trwałe",
|
||||||
"targetStickySessionsDescription": "Utrzymuj połączenia na tym samym celu backendowym przez całą sesję.",
|
"targetStickySessionsDescription": "Utrzymuj połączenia na tym samym celu backendowym przez całą sesję.",
|
||||||
"methodSelect": "Wybierz metodę",
|
"methodSelect": "Wybierz metodę",
|
||||||
@@ -542,6 +546,7 @@
|
|||||||
"rulesActions": "Akcje",
|
"rulesActions": "Akcje",
|
||||||
"rulesActionAlwaysAllow": "Zawsze zezwalaj: Pomiń wszystkie metody uwierzytelniania",
|
"rulesActionAlwaysAllow": "Zawsze zezwalaj: Pomiń wszystkie metody uwierzytelniania",
|
||||||
"rulesActionAlwaysDeny": "Zawsze odmawiaj: Blokuj wszystkie żądania; nie można próbować uwierzytelniania",
|
"rulesActionAlwaysDeny": "Zawsze odmawiaj: Blokuj wszystkie żądania; nie można próbować uwierzytelniania",
|
||||||
|
"rulesActionPassToAuth": "Przekaż do Autoryzacji: Zezwól na próby metod uwierzytelniania",
|
||||||
"rulesMatchCriteria": "Kryteria dopasowania",
|
"rulesMatchCriteria": "Kryteria dopasowania",
|
||||||
"rulesMatchCriteriaIpAddress": "Dopasuj konkretny adres IP",
|
"rulesMatchCriteriaIpAddress": "Dopasuj konkretny adres IP",
|
||||||
"rulesMatchCriteriaIpAddressRange": "Dopasuj zakres adresów IP w notacji CIDR",
|
"rulesMatchCriteriaIpAddressRange": "Dopasuj zakres adresów IP w notacji CIDR",
|
||||||
@@ -833,6 +838,24 @@
|
|||||||
"pincodeRequirementsLength": "PIN musi składać się dokładnie z 6 cyfr",
|
"pincodeRequirementsLength": "PIN musi składać się dokładnie z 6 cyfr",
|
||||||
"pincodeRequirementsChars": "PIN może zawierać tylko cyfry",
|
"pincodeRequirementsChars": "PIN może zawierać tylko cyfry",
|
||||||
"passwordRequirementsLength": "Hasło musi mieć co najmniej 1 znak",
|
"passwordRequirementsLength": "Hasło musi mieć co najmniej 1 znak",
|
||||||
|
"passwordRequirementsTitle": "Wymagania dotyczące hasła:",
|
||||||
|
"passwordRequirementLength": "Przynajmniej 8 znaków długości",
|
||||||
|
"passwordRequirementUppercase": "Przynajmniej jedna wielka litera",
|
||||||
|
"passwordRequirementLowercase": "Przynajmniej jedna mała litera",
|
||||||
|
"passwordRequirementNumber": "Przynajmniej jedna cyfra",
|
||||||
|
"passwordRequirementSpecial": "Przynajmniej jeden znak specjalny",
|
||||||
|
"passwordRequirementsMet": "✓ Hasło spełnia wszystkie wymagania",
|
||||||
|
"passwordStrength": "Siła hasła",
|
||||||
|
"passwordStrengthWeak": "Słabe",
|
||||||
|
"passwordStrengthMedium": "Średnie",
|
||||||
|
"passwordStrengthStrong": "Silne",
|
||||||
|
"passwordRequirements": "Wymagania:",
|
||||||
|
"passwordRequirementLengthText": "8+ znaków",
|
||||||
|
"passwordRequirementUppercaseText": "Wielka litera (A-Z)",
|
||||||
|
"passwordRequirementLowercaseText": "Mała litera (a-z)",
|
||||||
|
"passwordRequirementNumberText": "Cyfra (0-9)",
|
||||||
|
"passwordRequirementSpecialText": "Znak specjalny (!@#$%...)",
|
||||||
|
"passwordsDoNotMatch": "Hasła nie są zgodne",
|
||||||
"otpEmailRequirementsLength": "Kod jednorazowy musi mieć co najmniej 1 znak",
|
"otpEmailRequirementsLength": "Kod jednorazowy musi mieć co najmniej 1 znak",
|
||||||
"otpEmailSent": "Kod jednorazowy wysłany",
|
"otpEmailSent": "Kod jednorazowy wysłany",
|
||||||
"otpEmailSentDescription": "Kod jednorazowy został wysłany na Twój e-mail",
|
"otpEmailSentDescription": "Kod jednorazowy został wysłany na Twój e-mail",
|
||||||
@@ -952,6 +975,7 @@
|
|||||||
"logoutError": "Błąd podczas wylogowywania",
|
"logoutError": "Błąd podczas wylogowywania",
|
||||||
"signingAs": "Zalogowany jako",
|
"signingAs": "Zalogowany jako",
|
||||||
"serverAdmin": "Administrator serwera",
|
"serverAdmin": "Administrator serwera",
|
||||||
|
"managedSelfhosted": "Zarządzane Samodzielnie-Hostingowane",
|
||||||
"otpEnable": "Włącz uwierzytelnianie dwuskładnikowe",
|
"otpEnable": "Włącz uwierzytelnianie dwuskładnikowe",
|
||||||
"otpDisable": "Wyłącz uwierzytelnianie dwuskładnikowe",
|
"otpDisable": "Wyłącz uwierzytelnianie dwuskładnikowe",
|
||||||
"logout": "Wyloguj się",
|
"logout": "Wyloguj się",
|
||||||
@@ -967,6 +991,9 @@
|
|||||||
"actionDeleteSite": "Usuń witrynę",
|
"actionDeleteSite": "Usuń witrynę",
|
||||||
"actionGetSite": "Pobierz witrynę",
|
"actionGetSite": "Pobierz witrynę",
|
||||||
"actionListSites": "Lista witryn",
|
"actionListSites": "Lista witryn",
|
||||||
|
"setupToken": "Skonfiguruj token",
|
||||||
|
"setupTokenDescription": "Wprowadź token konfiguracji z konsoli serwera.",
|
||||||
|
"setupTokenRequired": "Wymagany jest token konfiguracji",
|
||||||
"actionUpdateSite": "Aktualizuj witrynę",
|
"actionUpdateSite": "Aktualizuj witrynę",
|
||||||
"actionListSiteRoles": "Lista dozwolonych ról witryny",
|
"actionListSiteRoles": "Lista dozwolonych ról witryny",
|
||||||
"actionCreateResource": "Utwórz zasób",
|
"actionCreateResource": "Utwórz zasób",
|
||||||
@@ -1022,6 +1049,16 @@
|
|||||||
"actionDeleteIdpOrg": "Usuń politykę organizacji IDP",
|
"actionDeleteIdpOrg": "Usuń politykę organizacji IDP",
|
||||||
"actionListIdpOrgs": "Lista organizacji IDP",
|
"actionListIdpOrgs": "Lista organizacji IDP",
|
||||||
"actionUpdateIdpOrg": "Aktualizuj organizację IDP",
|
"actionUpdateIdpOrg": "Aktualizuj organizację IDP",
|
||||||
|
"actionCreateClient": "Utwórz klienta",
|
||||||
|
"actionDeleteClient": "Usuń klienta",
|
||||||
|
"actionUpdateClient": "Aktualizuj klienta",
|
||||||
|
"actionListClients": "Lista klientów",
|
||||||
|
"actionGetClient": "Pobierz klienta",
|
||||||
|
"actionCreateSiteResource": "Utwórz zasób witryny",
|
||||||
|
"actionDeleteSiteResource": "Usuń zasób strony",
|
||||||
|
"actionGetSiteResource": "Pobierz zasób strony",
|
||||||
|
"actionListSiteResources": "Lista zasobów strony",
|
||||||
|
"actionUpdateSiteResource": "Aktualizuj zasób strony",
|
||||||
"noneSelected": "Nie wybrano",
|
"noneSelected": "Nie wybrano",
|
||||||
"orgNotFound2": "Nie znaleziono organizacji.",
|
"orgNotFound2": "Nie znaleziono organizacji.",
|
||||||
"searchProgress": "Szukaj...",
|
"searchProgress": "Szukaj...",
|
||||||
@@ -1315,8 +1352,110 @@
|
|||||||
"olmErrorFetchLatest": "Wystąpił błąd podczas pobierania najnowszego wydania Olm.",
|
"olmErrorFetchLatest": "Wystąpił błąd podczas pobierania najnowszego wydania Olm.",
|
||||||
"remoteSubnets": "Zdalne Podsieci",
|
"remoteSubnets": "Zdalne Podsieci",
|
||||||
"enterCidrRange": "Wprowadź zakres CIDR",
|
"enterCidrRange": "Wprowadź zakres CIDR",
|
||||||
"remoteSubnetsDescription": "Dodaj zakresy CIDR, które mogą uzyskać zdalny dostęp do tej witryny. Użyj formatu takiego jak 10.0.0.0/24 lub 192.168.1.0/24.",
|
"remoteSubnetsDescription": "Dodaj zakresy CIDR, które można uzyskać zdalnie z tej strony za pomocą klientów. Użyj formatu jak 10.0.0.0/24. Dotyczy to WYŁĄCZNIE łączności klienta VPN.",
|
||||||
"resourceEnableProxy": "Włącz publiczny proxy",
|
"resourceEnableProxy": "Włącz publiczny proxy",
|
||||||
"resourceEnableProxyDescription": "Włącz publiczne proxy dla tego zasobu. To umożliwia dostęp do zasobu spoza sieci przez chmurę na otwartym porcie. Wymaga konfiguracji Traefik.",
|
"resourceEnableProxyDescription": "Włącz publiczne proxy dla tego zasobu. To umożliwia dostęp do zasobu spoza sieci przez chmurę na otwartym porcie. Wymaga konfiguracji Traefik.",
|
||||||
"externalProxyEnabled": "Zewnętrzny Proxy Włączony"
|
"externalProxyEnabled": "Zewnętrzny Proxy Włączony",
|
||||||
|
"addNewTarget": "Dodaj nowy cel",
|
||||||
|
"targetsList": "Lista celów",
|
||||||
|
"targetErrorDuplicateTargetFound": "Znaleziono duplikat celu",
|
||||||
|
"httpMethod": "Metoda HTTP",
|
||||||
|
"selectHttpMethod": "Wybierz metodę HTTP",
|
||||||
|
"domainPickerSubdomainLabel": "Poddomena",
|
||||||
|
"domainPickerBaseDomainLabel": "Domen bazowa",
|
||||||
|
"domainPickerSearchDomains": "Szukaj domen...",
|
||||||
|
"domainPickerNoDomainsFound": "Nie znaleziono domen",
|
||||||
|
"domainPickerLoadingDomains": "Ładowanie domen...",
|
||||||
|
"domainPickerSelectBaseDomain": "Wybierz domenę bazową...",
|
||||||
|
"domainPickerNotAvailableForCname": "Niedostępne dla domen CNAME",
|
||||||
|
"domainPickerEnterSubdomainOrLeaveBlank": "Wprowadź poddomenę lub pozostaw puste, aby użyć domeny bazowej.",
|
||||||
|
"domainPickerEnterSubdomainToSearch": "Wprowadź poddomenę, aby wyszukać i wybrać z dostępnych darmowych domen.",
|
||||||
|
"domainPickerFreeDomains": "Darmowe domeny",
|
||||||
|
"domainPickerSearchForAvailableDomains": "Szukaj dostępnych domen",
|
||||||
|
"resourceDomain": "Domena",
|
||||||
|
"resourceEditDomain": "Edytuj domenę",
|
||||||
|
"siteName": "Nazwa strony",
|
||||||
|
"proxyPort": "Port",
|
||||||
|
"resourcesTableProxyResources": "Zasoby proxy",
|
||||||
|
"resourcesTableClientResources": "Zasoby klienta",
|
||||||
|
"resourcesTableNoProxyResourcesFound": "Nie znaleziono zasobów proxy.",
|
||||||
|
"resourcesTableNoInternalResourcesFound": "Nie znaleziono wewnętrznych zasobów.",
|
||||||
|
"resourcesTableDestination": "Miejsce docelowe",
|
||||||
|
"resourcesTableTheseResourcesForUseWith": "Te zasoby są do użytku z",
|
||||||
|
"resourcesTableClients": "Klientami",
|
||||||
|
"resourcesTableAndOnlyAccessibleInternally": "i są dostępne tylko wewnętrznie po połączeniu z klientem.",
|
||||||
|
"editInternalResourceDialogEditClientResource": "Edytuj zasób klienta",
|
||||||
|
"editInternalResourceDialogUpdateResourceProperties": "Zaktualizuj właściwości zasobu i konfigurację celu dla {resourceName}.",
|
||||||
|
"editInternalResourceDialogResourceProperties": "Właściwości zasobów",
|
||||||
|
"editInternalResourceDialogName": "Nazwa",
|
||||||
|
"editInternalResourceDialogProtocol": "Protokół",
|
||||||
|
"editInternalResourceDialogSitePort": "Port witryny",
|
||||||
|
"editInternalResourceDialogTargetConfiguration": "Konfiguracja celu",
|
||||||
|
"editInternalResourceDialogDestinationIP": "IP docelowe",
|
||||||
|
"editInternalResourceDialogDestinationPort": "Port docelowy",
|
||||||
|
"editInternalResourceDialogCancel": "Anuluj",
|
||||||
|
"editInternalResourceDialogSaveResource": "Zapisz zasób",
|
||||||
|
"editInternalResourceDialogSuccess": "Sukces",
|
||||||
|
"editInternalResourceDialogInternalResourceUpdatedSuccessfully": "Wewnętrzny zasób zaktualizowany pomyślnie",
|
||||||
|
"editInternalResourceDialogError": "Błąd",
|
||||||
|
"editInternalResourceDialogFailedToUpdateInternalResource": "Nie udało się zaktualizować wewnętrznego zasobu",
|
||||||
|
"editInternalResourceDialogNameRequired": "Nazwa jest wymagana",
|
||||||
|
"editInternalResourceDialogNameMaxLength": "Nazwa nie może mieć więcej niż 255 znaków",
|
||||||
|
"editInternalResourceDialogProxyPortMin": "Port proxy musi wynosić przynajmniej 1",
|
||||||
|
"editInternalResourceDialogProxyPortMax": "Port proxy nie może być większy niż 65536",
|
||||||
|
"editInternalResourceDialogInvalidIPAddressFormat": "Nieprawidłowy format adresu IP",
|
||||||
|
"editInternalResourceDialogDestinationPortMin": "Port docelowy musi wynosić przynajmniej 1",
|
||||||
|
"editInternalResourceDialogDestinationPortMax": "Port docelowy nie może być większy niż 65536",
|
||||||
|
"createInternalResourceDialogNoSitesAvailable": "Brak dostępnych stron",
|
||||||
|
"createInternalResourceDialogNoSitesAvailableDescription": "Musisz mieć co najmniej jedną stronę Newt z skonfigurowanym podsiecią, aby tworzyć wewnętrzne zasoby.",
|
||||||
|
"createInternalResourceDialogClose": "Zamknij",
|
||||||
|
"createInternalResourceDialogCreateClientResource": "Utwórz zasób klienta",
|
||||||
|
"createInternalResourceDialogCreateClientResourceDescription": "Utwórz nowy zasób, który będzie dostępny dla klientów połączonych z wybraną stroną.",
|
||||||
|
"createInternalResourceDialogResourceProperties": "Właściwości zasobów",
|
||||||
|
"createInternalResourceDialogName": "Nazwa",
|
||||||
|
"createInternalResourceDialogSite": "Witryna",
|
||||||
|
"createInternalResourceDialogSelectSite": "Wybierz stronę...",
|
||||||
|
"createInternalResourceDialogSearchSites": "Szukaj stron...",
|
||||||
|
"createInternalResourceDialogNoSitesFound": "Nie znaleziono stron.",
|
||||||
|
"createInternalResourceDialogProtocol": "Protokół",
|
||||||
|
"createInternalResourceDialogTcp": "TCP",
|
||||||
|
"createInternalResourceDialogUdp": "UDP",
|
||||||
|
"createInternalResourceDialogSitePort": "Port witryny",
|
||||||
|
"createInternalResourceDialogSitePortDescription": "Użyj tego portu, aby uzyskać dostęp do zasobu na stronie, gdy połączony z klientem.",
|
||||||
|
"createInternalResourceDialogTargetConfiguration": "Konfiguracja celu",
|
||||||
|
"createInternalResourceDialogDestinationIP": "IP docelowe",
|
||||||
|
"createInternalResourceDialogDestinationIPDescription": "Adres IP zasobu w sieci strony.",
|
||||||
|
"createInternalResourceDialogDestinationPort": "Port docelowy",
|
||||||
|
"createInternalResourceDialogDestinationPortDescription": "Port na docelowym IP, gdzie zasób jest dostępny.",
|
||||||
|
"createInternalResourceDialogCancel": "Anuluj",
|
||||||
|
"createInternalResourceDialogCreateResource": "Utwórz zasób",
|
||||||
|
"createInternalResourceDialogSuccess": "Sukces",
|
||||||
|
"createInternalResourceDialogInternalResourceCreatedSuccessfully": "Wewnętrzny zasób utworzony pomyślnie",
|
||||||
|
"createInternalResourceDialogError": "Błąd",
|
||||||
|
"createInternalResourceDialogFailedToCreateInternalResource": "Nie udało się utworzyć wewnętrznego zasobu",
|
||||||
|
"createInternalResourceDialogNameRequired": "Nazwa jest wymagana",
|
||||||
|
"createInternalResourceDialogNameMaxLength": "Nazwa nie może mieć więcej niż 255 znaków",
|
||||||
|
"createInternalResourceDialogPleaseSelectSite": "Proszę wybrać stronę",
|
||||||
|
"createInternalResourceDialogProxyPortMin": "Port proxy musi wynosić przynajmniej 1",
|
||||||
|
"createInternalResourceDialogProxyPortMax": "Port proxy nie może być większy niż 65536",
|
||||||
|
"createInternalResourceDialogInvalidIPAddressFormat": "Nieprawidłowy format adresu IP",
|
||||||
|
"createInternalResourceDialogDestinationPortMin": "Port docelowy musi wynosić przynajmniej 1",
|
||||||
|
"createInternalResourceDialogDestinationPortMax": "Port docelowy nie może być większy niż 65536",
|
||||||
|
"siteConfiguration": "Konfiguracja",
|
||||||
|
"siteAcceptClientConnections": "Akceptuj połączenia klienta",
|
||||||
|
"siteAcceptClientConnectionsDescription": "Pozwól innym urządzeniom połączyć się przez tę instancję Newt jako bramę za pomocą klientów.",
|
||||||
|
"siteAddress": "Adres strony",
|
||||||
|
"siteAddressDescription": "Podaj adres IP hosta, do którego klienci będą się łączyć. Jest to wewnętrzny adres strony w sieci Pangolin dla klientów do adresowania. Musi zawierać się w podsieci organizacji.",
|
||||||
|
"autoLoginExternalIdp": "Automatyczny login z zewnętrznym IDP",
|
||||||
|
"autoLoginExternalIdpDescription": "Natychmiastowe przekierowanie użytkownika do zewnętrznego IDP w celu uwierzytelnienia.",
|
||||||
|
"selectIdp": "Wybierz IDP",
|
||||||
|
"selectIdpPlaceholder": "Wybierz IDP...",
|
||||||
|
"selectIdpRequired": "Proszę wybrać IDP, gdy aktywne jest automatyczne logowanie.",
|
||||||
|
"autoLoginTitle": "Przekierowywanie",
|
||||||
|
"autoLoginDescription": "Przekierowanie do zewnętrznego dostawcy tożsamości w celu uwierzytelnienia.",
|
||||||
|
"autoLoginProcessing": "Przygotowywanie uwierzytelniania...",
|
||||||
|
"autoLoginRedirecting": "Przekierowanie do logowania...",
|
||||||
|
"autoLoginError": "Błąd automatycznego logowania",
|
||||||
|
"autoLoginErrorNoRedirectUrl": "Nie otrzymano URL przekierowania od dostawcy tożsamości.",
|
||||||
|
"autoLoginErrorGeneratingUrl": "Nie udało się wygenerować URL uwierzytelniania."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -94,7 +94,9 @@
|
|||||||
"siteNewtTunnelDescription": "A maneira mais fácil de criar um ponto de entrada na sua rede. Nenhuma configuração extra.",
|
"siteNewtTunnelDescription": "A maneira mais fácil de criar um ponto de entrada na sua rede. Nenhuma configuração extra.",
|
||||||
"siteWg": "WireGuard Básico",
|
"siteWg": "WireGuard Básico",
|
||||||
"siteWgDescription": "Use qualquer cliente do WireGuard para estabelecer um túnel. Configuração manual NAT é necessária.",
|
"siteWgDescription": "Use qualquer cliente do WireGuard para estabelecer um túnel. Configuração manual NAT é necessária.",
|
||||||
|
"siteWgDescriptionSaas": "Use qualquer cliente WireGuard para estabelecer um túnel. Configuração manual NAT necessária. SOMENTE FUNCIONA EM NODES AUTO-HOSPEDADOS",
|
||||||
"siteLocalDescription": "Recursos locais apenas. Sem túneis.",
|
"siteLocalDescription": "Recursos locais apenas. Sem túneis.",
|
||||||
|
"siteLocalDescriptionSaas": "Apenas recursos locais. Sem tunelamento. SOMENTE FUNCIONA EM NODES AUTO-HOSPEDADOS",
|
||||||
"siteSeeAll": "Ver todos os sites",
|
"siteSeeAll": "Ver todos os sites",
|
||||||
"siteTunnelDescription": "Determine como você deseja se conectar ao seu site",
|
"siteTunnelDescription": "Determine como você deseja se conectar ao seu site",
|
||||||
"siteNewtCredentials": "Credenciais Novas",
|
"siteNewtCredentials": "Credenciais Novas",
|
||||||
@@ -166,7 +168,7 @@
|
|||||||
"siteSelect": "Selecionar site",
|
"siteSelect": "Selecionar site",
|
||||||
"siteSearch": "Procurar no site",
|
"siteSearch": "Procurar no site",
|
||||||
"siteNotFound": "Nenhum site encontrado.",
|
"siteNotFound": "Nenhum site encontrado.",
|
||||||
"siteSelectionDescription": "Este site fornecerá conectividade ao recurso.",
|
"siteSelectionDescription": "Este site fornecerá conectividade ao destino.",
|
||||||
"resourceType": "Tipo de Recurso",
|
"resourceType": "Tipo de Recurso",
|
||||||
"resourceTypeDescription": "Determine como você deseja acessar seu recurso",
|
"resourceTypeDescription": "Determine como você deseja acessar seu recurso",
|
||||||
"resourceHTTPSSettings": "Configurações de HTTPS",
|
"resourceHTTPSSettings": "Configurações de HTTPS",
|
||||||
@@ -197,11 +199,13 @@
|
|||||||
"general": "Gerais",
|
"general": "Gerais",
|
||||||
"generalSettings": "Configurações Gerais",
|
"generalSettings": "Configurações Gerais",
|
||||||
"proxy": "Proxy",
|
"proxy": "Proxy",
|
||||||
|
"internal": "Interno",
|
||||||
"rules": "Regras",
|
"rules": "Regras",
|
||||||
"resourceSettingDescription": "Configure as configurações do seu recurso",
|
"resourceSettingDescription": "Configure as configurações do seu recurso",
|
||||||
"resourceSetting": "Configurações do {resourceName}",
|
"resourceSetting": "Configurações do {resourceName}",
|
||||||
"alwaysAllow": "Sempre permitir",
|
"alwaysAllow": "Sempre permitir",
|
||||||
"alwaysDeny": "Sempre negar",
|
"alwaysDeny": "Sempre negar",
|
||||||
|
"passToAuth": "Passar para Autenticação",
|
||||||
"orgSettingsDescription": "Configurar as configurações gerais da sua organização",
|
"orgSettingsDescription": "Configurar as configurações gerais da sua organização",
|
||||||
"orgGeneralSettings": "Configurações da organização",
|
"orgGeneralSettings": "Configurações da organização",
|
||||||
"orgGeneralSettingsDescription": "Gerencie os detalhes e a configuração da sua organização",
|
"orgGeneralSettingsDescription": "Gerencie os detalhes e a configuração da sua organização",
|
||||||
@@ -490,7 +494,7 @@
|
|||||||
"targetTlsSniDescription": "O Nome do Servidor TLS para usar para SNI. Deixe vazio para usar o padrão.",
|
"targetTlsSniDescription": "O Nome do Servidor TLS para usar para SNI. Deixe vazio para usar o padrão.",
|
||||||
"targetTlsSubmit": "Salvar Configurações",
|
"targetTlsSubmit": "Salvar Configurações",
|
||||||
"targets": "Configuração de Alvos",
|
"targets": "Configuração de Alvos",
|
||||||
"targetsDescription": "Configure alvos para rotear tráfego para seus serviços",
|
"targetsDescription": "Configure alvos para rotear tráfego para seus serviços de backend",
|
||||||
"targetStickySessions": "Ativar Sessões Persistentes",
|
"targetStickySessions": "Ativar Sessões Persistentes",
|
||||||
"targetStickySessionsDescription": "Manter conexões no mesmo alvo backend durante toda a sessão.",
|
"targetStickySessionsDescription": "Manter conexões no mesmo alvo backend durante toda a sessão.",
|
||||||
"methodSelect": "Selecionar método",
|
"methodSelect": "Selecionar método",
|
||||||
@@ -542,6 +546,7 @@
|
|||||||
"rulesActions": "Ações",
|
"rulesActions": "Ações",
|
||||||
"rulesActionAlwaysAllow": "Sempre Permitir: Ignorar todos os métodos de autenticação",
|
"rulesActionAlwaysAllow": "Sempre Permitir: Ignorar todos os métodos de autenticação",
|
||||||
"rulesActionAlwaysDeny": "Sempre Negar: Bloquear todas as requisições; nenhuma autenticação pode ser tentada",
|
"rulesActionAlwaysDeny": "Sempre Negar: Bloquear todas as requisições; nenhuma autenticação pode ser tentada",
|
||||||
|
"rulesActionPassToAuth": "Passar para Autenticação: Permitir que métodos de autenticação sejam tentados",
|
||||||
"rulesMatchCriteria": "Critérios de Correspondência",
|
"rulesMatchCriteria": "Critérios de Correspondência",
|
||||||
"rulesMatchCriteriaIpAddress": "Corresponder a um endereço IP específico",
|
"rulesMatchCriteriaIpAddress": "Corresponder a um endereço IP específico",
|
||||||
"rulesMatchCriteriaIpAddressRange": "Corresponder a uma faixa de endereços IP em notação CIDR",
|
"rulesMatchCriteriaIpAddressRange": "Corresponder a uma faixa de endereços IP em notação CIDR",
|
||||||
@@ -833,6 +838,24 @@
|
|||||||
"pincodeRequirementsLength": "O PIN deve ter exatamente 6 dígitos",
|
"pincodeRequirementsLength": "O PIN deve ter exatamente 6 dígitos",
|
||||||
"pincodeRequirementsChars": "O PIN deve conter apenas números",
|
"pincodeRequirementsChars": "O PIN deve conter apenas números",
|
||||||
"passwordRequirementsLength": "A palavra-passe deve ter pelo menos 1 caractere",
|
"passwordRequirementsLength": "A palavra-passe deve ter pelo menos 1 caractere",
|
||||||
|
"passwordRequirementsTitle": "Requisitos de senha:",
|
||||||
|
"passwordRequirementLength": "Pelo menos 8 caracteres de comprimento",
|
||||||
|
"passwordRequirementUppercase": "Pelo menos uma letra maiúscula",
|
||||||
|
"passwordRequirementLowercase": "Pelo menos uma letra minúscula",
|
||||||
|
"passwordRequirementNumber": "Pelo menos um número",
|
||||||
|
"passwordRequirementSpecial": "Pelo menos um caractere especial",
|
||||||
|
"passwordRequirementsMet": "✓ Senha atende a todos os requisitos",
|
||||||
|
"passwordStrength": "Força da senha",
|
||||||
|
"passwordStrengthWeak": "Fraca",
|
||||||
|
"passwordStrengthMedium": "Média",
|
||||||
|
"passwordStrengthStrong": "Forte",
|
||||||
|
"passwordRequirements": "Requisitos:",
|
||||||
|
"passwordRequirementLengthText": "8+ caracteres",
|
||||||
|
"passwordRequirementUppercaseText": "Letra maiúscula (A-Z)",
|
||||||
|
"passwordRequirementLowercaseText": "Letra minúscula (a-z)",
|
||||||
|
"passwordRequirementNumberText": "Número (0-9)",
|
||||||
|
"passwordRequirementSpecialText": "Caractere especial (!@#$%...)",
|
||||||
|
"passwordsDoNotMatch": "As palavras-passe não correspondem",
|
||||||
"otpEmailRequirementsLength": "O OTP deve ter pelo menos 1 caractere",
|
"otpEmailRequirementsLength": "O OTP deve ter pelo menos 1 caractere",
|
||||||
"otpEmailSent": "OTP Enviado",
|
"otpEmailSent": "OTP Enviado",
|
||||||
"otpEmailSentDescription": "Um OTP foi enviado para o seu email",
|
"otpEmailSentDescription": "Um OTP foi enviado para o seu email",
|
||||||
@@ -952,6 +975,7 @@
|
|||||||
"logoutError": "Erro ao terminar sessão",
|
"logoutError": "Erro ao terminar sessão",
|
||||||
"signingAs": "Sessão iniciada como",
|
"signingAs": "Sessão iniciada como",
|
||||||
"serverAdmin": "Administrador do Servidor",
|
"serverAdmin": "Administrador do Servidor",
|
||||||
|
"managedSelfhosted": "Gerenciado Auto-Hospedado",
|
||||||
"otpEnable": "Ativar Autenticação de Dois Fatores",
|
"otpEnable": "Ativar Autenticação de Dois Fatores",
|
||||||
"otpDisable": "Desativar Autenticação de Dois Fatores",
|
"otpDisable": "Desativar Autenticação de Dois Fatores",
|
||||||
"logout": "Terminar Sessão",
|
"logout": "Terminar Sessão",
|
||||||
@@ -967,6 +991,9 @@
|
|||||||
"actionDeleteSite": "Eliminar Site",
|
"actionDeleteSite": "Eliminar Site",
|
||||||
"actionGetSite": "Obter Site",
|
"actionGetSite": "Obter Site",
|
||||||
"actionListSites": "Listar Sites",
|
"actionListSites": "Listar Sites",
|
||||||
|
"setupToken": "Configuração do Token",
|
||||||
|
"setupTokenDescription": "Digite o token de configuração do console do servidor.",
|
||||||
|
"setupTokenRequired": "Token de configuração é necessário",
|
||||||
"actionUpdateSite": "Atualizar Site",
|
"actionUpdateSite": "Atualizar Site",
|
||||||
"actionListSiteRoles": "Listar Funções Permitidas do Site",
|
"actionListSiteRoles": "Listar Funções Permitidas do Site",
|
||||||
"actionCreateResource": "Criar Recurso",
|
"actionCreateResource": "Criar Recurso",
|
||||||
@@ -1022,6 +1049,16 @@
|
|||||||
"actionDeleteIdpOrg": "Eliminar Política de Organização IDP",
|
"actionDeleteIdpOrg": "Eliminar Política de Organização IDP",
|
||||||
"actionListIdpOrgs": "Listar Organizações IDP",
|
"actionListIdpOrgs": "Listar Organizações IDP",
|
||||||
"actionUpdateIdpOrg": "Atualizar Organização IDP",
|
"actionUpdateIdpOrg": "Atualizar Organização IDP",
|
||||||
|
"actionCreateClient": "Criar Cliente",
|
||||||
|
"actionDeleteClient": "Excluir Cliente",
|
||||||
|
"actionUpdateClient": "Atualizar Cliente",
|
||||||
|
"actionListClients": "Listar Clientes",
|
||||||
|
"actionGetClient": "Obter Cliente",
|
||||||
|
"actionCreateSiteResource": "Criar Recurso do Site",
|
||||||
|
"actionDeleteSiteResource": "Eliminar Recurso do Site",
|
||||||
|
"actionGetSiteResource": "Obter Recurso do Site",
|
||||||
|
"actionListSiteResources": "Listar Recursos do Site",
|
||||||
|
"actionUpdateSiteResource": "Atualizar Recurso do Site",
|
||||||
"noneSelected": "Nenhum selecionado",
|
"noneSelected": "Nenhum selecionado",
|
||||||
"orgNotFound2": "Nenhuma organização encontrada.",
|
"orgNotFound2": "Nenhuma organização encontrada.",
|
||||||
"searchProgress": "Pesquisar...",
|
"searchProgress": "Pesquisar...",
|
||||||
@@ -1315,8 +1352,110 @@
|
|||||||
"olmErrorFetchLatest": "Ocorreu um erro ao buscar o lançamento mais recente do Olm.",
|
"olmErrorFetchLatest": "Ocorreu um erro ao buscar o lançamento mais recente do Olm.",
|
||||||
"remoteSubnets": "Sub-redes Remotas",
|
"remoteSubnets": "Sub-redes Remotas",
|
||||||
"enterCidrRange": "Insira o intervalo CIDR",
|
"enterCidrRange": "Insira o intervalo CIDR",
|
||||||
"remoteSubnetsDescription": "Adicione intervalos CIDR que podem acessar este site remotamente. Use o formato como 10.0.0.0/24 ou 192.168.1.0/24.",
|
"remoteSubnetsDescription": "Adicionar intervalos CIDR que podem ser acessados deste site remotamente usando clientes. Use um formato como 10.0.0.0/24. Isso SOMENTE se aplica à conectividade do cliente VPN.",
|
||||||
"resourceEnableProxy": "Ativar Proxy Público",
|
"resourceEnableProxy": "Ativar Proxy Público",
|
||||||
"resourceEnableProxyDescription": "Permite proxy público para este recurso. Isso permite o acesso ao recurso de fora da rede através da nuvem em uma porta aberta. Requer configuração do Traefik.",
|
"resourceEnableProxyDescription": "Permite proxy público para este recurso. Isso permite o acesso ao recurso de fora da rede através da nuvem em uma porta aberta. Requer configuração do Traefik.",
|
||||||
"externalProxyEnabled": "Proxy Externo Habilitado"
|
"externalProxyEnabled": "Proxy Externo Habilitado",
|
||||||
|
"addNewTarget": "Adicionar Novo Alvo",
|
||||||
|
"targetsList": "Lista de Alvos",
|
||||||
|
"targetErrorDuplicateTargetFound": "Alvo duplicado encontrado",
|
||||||
|
"httpMethod": "Método HTTP",
|
||||||
|
"selectHttpMethod": "Selecionar método HTTP",
|
||||||
|
"domainPickerSubdomainLabel": "Subdomínio",
|
||||||
|
"domainPickerBaseDomainLabel": "Domínio Base",
|
||||||
|
"domainPickerSearchDomains": "Buscar domínios...",
|
||||||
|
"domainPickerNoDomainsFound": "Nenhum domínio encontrado",
|
||||||
|
"domainPickerLoadingDomains": "Carregando domínios...",
|
||||||
|
"domainPickerSelectBaseDomain": "Selecione o domínio base...",
|
||||||
|
"domainPickerNotAvailableForCname": "Não disponível para domínios CNAME",
|
||||||
|
"domainPickerEnterSubdomainOrLeaveBlank": "Digite um subdomínio ou deixe em branco para usar o domínio base.",
|
||||||
|
"domainPickerEnterSubdomainToSearch": "Digite um subdomínio para buscar e selecionar entre os domínios gratuitos disponíveis.",
|
||||||
|
"domainPickerFreeDomains": "Domínios Gratuitos",
|
||||||
|
"domainPickerSearchForAvailableDomains": "Pesquise por domínios disponíveis",
|
||||||
|
"resourceDomain": "Domínio",
|
||||||
|
"resourceEditDomain": "Editar Domínio",
|
||||||
|
"siteName": "Nome do Site",
|
||||||
|
"proxyPort": "Porta",
|
||||||
|
"resourcesTableProxyResources": "Recursos de Proxy",
|
||||||
|
"resourcesTableClientResources": "Recursos do Cliente",
|
||||||
|
"resourcesTableNoProxyResourcesFound": "Nenhum recurso de proxy encontrado.",
|
||||||
|
"resourcesTableNoInternalResourcesFound": "Nenhum recurso interno encontrado.",
|
||||||
|
"resourcesTableDestination": "Destino",
|
||||||
|
"resourcesTableTheseResourcesForUseWith": "Esses recursos são para uso com",
|
||||||
|
"resourcesTableClients": "Clientes",
|
||||||
|
"resourcesTableAndOnlyAccessibleInternally": "e são acessíveis apenas internamente quando conectados com um cliente.",
|
||||||
|
"editInternalResourceDialogEditClientResource": "Editar Recurso do Cliente",
|
||||||
|
"editInternalResourceDialogUpdateResourceProperties": "Atualize as propriedades do recurso e a configuração do alvo para {resourceName}.",
|
||||||
|
"editInternalResourceDialogResourceProperties": "Propriedades do Recurso",
|
||||||
|
"editInternalResourceDialogName": "Nome",
|
||||||
|
"editInternalResourceDialogProtocol": "Protocolo",
|
||||||
|
"editInternalResourceDialogSitePort": "Porta do Site",
|
||||||
|
"editInternalResourceDialogTargetConfiguration": "Configuração do Alvo",
|
||||||
|
"editInternalResourceDialogDestinationIP": "IP de Destino",
|
||||||
|
"editInternalResourceDialogDestinationPort": "Porta de Destino",
|
||||||
|
"editInternalResourceDialogCancel": "Cancelar",
|
||||||
|
"editInternalResourceDialogSaveResource": "Salvar Recurso",
|
||||||
|
"editInternalResourceDialogSuccess": "Sucesso",
|
||||||
|
"editInternalResourceDialogInternalResourceUpdatedSuccessfully": "Recurso interno atualizado com sucesso",
|
||||||
|
"editInternalResourceDialogError": "Erro",
|
||||||
|
"editInternalResourceDialogFailedToUpdateInternalResource": "Falha ao atualizar recurso interno",
|
||||||
|
"editInternalResourceDialogNameRequired": "Nome é obrigatório",
|
||||||
|
"editInternalResourceDialogNameMaxLength": "Nome deve ser inferior a 255 caracteres",
|
||||||
|
"editInternalResourceDialogProxyPortMin": "Porta de proxy deve ser pelo menos 1",
|
||||||
|
"editInternalResourceDialogProxyPortMax": "Porta de proxy deve ser inferior a 65536",
|
||||||
|
"editInternalResourceDialogInvalidIPAddressFormat": "Formato de endereço IP inválido",
|
||||||
|
"editInternalResourceDialogDestinationPortMin": "Porta de destino deve ser pelo menos 1",
|
||||||
|
"editInternalResourceDialogDestinationPortMax": "Porta de destino deve ser inferior a 65536",
|
||||||
|
"createInternalResourceDialogNoSitesAvailable": "Nenhum Site Disponível",
|
||||||
|
"createInternalResourceDialogNoSitesAvailableDescription": "Você precisa ter pelo menos um site Newt com uma sub-rede configurada para criar recursos internos.",
|
||||||
|
"createInternalResourceDialogClose": "Fechar",
|
||||||
|
"createInternalResourceDialogCreateClientResource": "Criar Recurso do Cliente",
|
||||||
|
"createInternalResourceDialogCreateClientResourceDescription": "Crie um novo recurso que estará acessível aos clientes conectados ao site selecionado.",
|
||||||
|
"createInternalResourceDialogResourceProperties": "Propriedades do Recurso",
|
||||||
|
"createInternalResourceDialogName": "Nome",
|
||||||
|
"createInternalResourceDialogSite": "Site",
|
||||||
|
"createInternalResourceDialogSelectSite": "Selecionar site...",
|
||||||
|
"createInternalResourceDialogSearchSites": "Procurar sites...",
|
||||||
|
"createInternalResourceDialogNoSitesFound": "Nenhum site encontrado.",
|
||||||
|
"createInternalResourceDialogProtocol": "Protocolo",
|
||||||
|
"createInternalResourceDialogTcp": "TCP",
|
||||||
|
"createInternalResourceDialogUdp": "UDP",
|
||||||
|
"createInternalResourceDialogSitePort": "Porta do Site",
|
||||||
|
"createInternalResourceDialogSitePortDescription": "Use esta porta para acessar o recurso no site quando conectado com um cliente.",
|
||||||
|
"createInternalResourceDialogTargetConfiguration": "Configuração do Alvo",
|
||||||
|
"createInternalResourceDialogDestinationIP": "IP de Destino",
|
||||||
|
"createInternalResourceDialogDestinationIPDescription": "O endereço IP do recurso na rede do site.",
|
||||||
|
"createInternalResourceDialogDestinationPort": "Porta de Destino",
|
||||||
|
"createInternalResourceDialogDestinationPortDescription": "A porta no IP de destino onde o recurso está acessível.",
|
||||||
|
"createInternalResourceDialogCancel": "Cancelar",
|
||||||
|
"createInternalResourceDialogCreateResource": "Criar Recurso",
|
||||||
|
"createInternalResourceDialogSuccess": "Sucesso",
|
||||||
|
"createInternalResourceDialogInternalResourceCreatedSuccessfully": "Recurso interno criado com sucesso",
|
||||||
|
"createInternalResourceDialogError": "Erro",
|
||||||
|
"createInternalResourceDialogFailedToCreateInternalResource": "Falha ao criar recurso interno",
|
||||||
|
"createInternalResourceDialogNameRequired": "Nome é obrigatório",
|
||||||
|
"createInternalResourceDialogNameMaxLength": "Nome deve ser inferior a 255 caracteres",
|
||||||
|
"createInternalResourceDialogPleaseSelectSite": "Por favor, selecione um site",
|
||||||
|
"createInternalResourceDialogProxyPortMin": "Porta de proxy deve ser pelo menos 1",
|
||||||
|
"createInternalResourceDialogProxyPortMax": "Porta de proxy deve ser inferior a 65536",
|
||||||
|
"createInternalResourceDialogInvalidIPAddressFormat": "Formato de endereço IP inválido",
|
||||||
|
"createInternalResourceDialogDestinationPortMin": "Porta de destino deve ser pelo menos 1",
|
||||||
|
"createInternalResourceDialogDestinationPortMax": "Porta de destino deve ser inferior a 65536",
|
||||||
|
"siteConfiguration": "Configuração",
|
||||||
|
"siteAcceptClientConnections": "Aceitar Conexões de Clientes",
|
||||||
|
"siteAcceptClientConnectionsDescription": "Permitir que outros dispositivos se conectem através desta instância Newt como um gateway usando clientes.",
|
||||||
|
"siteAddress": "Endereço do Site",
|
||||||
|
"siteAddressDescription": "Especificar o endereço IP do host para que os clientes se conectem. Este é o endereço interno do site na rede Pangolin para os clientes endereçarem. Deve estar dentro da sub-rede da Organização.",
|
||||||
|
"autoLoginExternalIdp": "Login Automático com IDP Externo",
|
||||||
|
"autoLoginExternalIdpDescription": "Redirecionar imediatamente o usuário para o IDP externo para autenticação.",
|
||||||
|
"selectIdp": "Selecionar IDP",
|
||||||
|
"selectIdpPlaceholder": "Escolher um IDP...",
|
||||||
|
"selectIdpRequired": "Por favor, selecione um IDP quando o login automático estiver ativado.",
|
||||||
|
"autoLoginTitle": "Redirecionando",
|
||||||
|
"autoLoginDescription": "Redirecionando você para o provedor de identidade externo para autenticação.",
|
||||||
|
"autoLoginProcessing": "Preparando autenticação...",
|
||||||
|
"autoLoginRedirecting": "Redirecionando para login...",
|
||||||
|
"autoLoginError": "Erro de Login Automático",
|
||||||
|
"autoLoginErrorNoRedirectUrl": "Nenhum URL de redirecionamento recebido do provedor de identidade.",
|
||||||
|
"autoLoginErrorGeneratingUrl": "Falha ao gerar URL de autenticação."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -94,7 +94,9 @@
|
|||||||
"siteNewtTunnelDescription": "Простейший способ создать точку входа в вашу сеть. Дополнительная настройка не требуется.",
|
"siteNewtTunnelDescription": "Простейший способ создать точку входа в вашу сеть. Дополнительная настройка не требуется.",
|
||||||
"siteWg": "Базовый WireGuard",
|
"siteWg": "Базовый WireGuard",
|
||||||
"siteWgDescription": "Используйте любой клиент WireGuard для открытия туннеля. Требуется ручная настройка NAT.",
|
"siteWgDescription": "Используйте любой клиент WireGuard для открытия туннеля. Требуется ручная настройка NAT.",
|
||||||
|
"siteWgDescriptionSaas": "Используйте любой клиент WireGuard для создания туннеля. Требуется ручная настройка NAT. РАБОТАЕТ ТОЛЬКО НА САМОСТОЯТЕЛЬНО РАЗМЕЩЕННЫХ УЗЛАХ",
|
||||||
"siteLocalDescription": "Только локальные ресурсы. Без туннелирования.",
|
"siteLocalDescription": "Только локальные ресурсы. Без туннелирования.",
|
||||||
|
"siteLocalDescriptionSaas": "Только локальные ресурсы. Без туннелирования. РАБОТАЕТ ТОЛЬКО НА САМОСТОЯТЕЛЬНО РАЗМЕЩЕННЫХ УЗЛАХ",
|
||||||
"siteSeeAll": "Просмотреть все сайты",
|
"siteSeeAll": "Просмотреть все сайты",
|
||||||
"siteTunnelDescription": "Выберите способ подключения к вашему сайту",
|
"siteTunnelDescription": "Выберите способ подключения к вашему сайту",
|
||||||
"siteNewtCredentials": "Учётные данные Newt",
|
"siteNewtCredentials": "Учётные данные Newt",
|
||||||
@@ -166,7 +168,7 @@
|
|||||||
"siteSelect": "Выберите сайт",
|
"siteSelect": "Выберите сайт",
|
||||||
"siteSearch": "Поиск сайта",
|
"siteSearch": "Поиск сайта",
|
||||||
"siteNotFound": "Сайт не найден.",
|
"siteNotFound": "Сайт не найден.",
|
||||||
"siteSelectionDescription": "Этот сайт обеспечит подключение к ресурсу.",
|
"siteSelectionDescription": "Этот сайт предоставит подключение к цели.",
|
||||||
"resourceType": "Тип ресурса",
|
"resourceType": "Тип ресурса",
|
||||||
"resourceTypeDescription": "Определите, как вы хотите получать доступ к вашему ресурсу",
|
"resourceTypeDescription": "Определите, как вы хотите получать доступ к вашему ресурсу",
|
||||||
"resourceHTTPSSettings": "Настройки HTTPS",
|
"resourceHTTPSSettings": "Настройки HTTPS",
|
||||||
@@ -197,11 +199,13 @@
|
|||||||
"general": "Общие",
|
"general": "Общие",
|
||||||
"generalSettings": "Общие настройки",
|
"generalSettings": "Общие настройки",
|
||||||
"proxy": "Прокси",
|
"proxy": "Прокси",
|
||||||
|
"internal": "Внутренний",
|
||||||
"rules": "Правила",
|
"rules": "Правила",
|
||||||
"resourceSettingDescription": "Настройте параметры вашего ресурса",
|
"resourceSettingDescription": "Настройте параметры вашего ресурса",
|
||||||
"resourceSetting": "Настройки {resourceName}",
|
"resourceSetting": "Настройки {resourceName}",
|
||||||
"alwaysAllow": "Всегда разрешать",
|
"alwaysAllow": "Всегда разрешать",
|
||||||
"alwaysDeny": "Всегда запрещать",
|
"alwaysDeny": "Всегда запрещать",
|
||||||
|
"passToAuth": "Переход к аутентификации",
|
||||||
"orgSettingsDescription": "Настройте общие параметры вашей организации",
|
"orgSettingsDescription": "Настройте общие параметры вашей организации",
|
||||||
"orgGeneralSettings": "Настройки организации",
|
"orgGeneralSettings": "Настройки организации",
|
||||||
"orgGeneralSettingsDescription": "Управляйте данными и конфигурацией вашей организации",
|
"orgGeneralSettingsDescription": "Управляйте данными и конфигурацией вашей организации",
|
||||||
@@ -490,7 +494,7 @@
|
|||||||
"targetTlsSniDescription": "Имя TLS сервера для использования в SNI. Оставьте пустым для использования по умолчанию.",
|
"targetTlsSniDescription": "Имя TLS сервера для использования в SNI. Оставьте пустым для использования по умолчанию.",
|
||||||
"targetTlsSubmit": "Сохранить настройки",
|
"targetTlsSubmit": "Сохранить настройки",
|
||||||
"targets": "Конфигурация целей",
|
"targets": "Конфигурация целей",
|
||||||
"targetsDescription": "Настройте цели для маршрутизации трафика к вашим сервисам",
|
"targetsDescription": "Настройте цели для маршрутизации трафика к вашим бэкэнд сервисам",
|
||||||
"targetStickySessions": "Включить фиксированные сессии",
|
"targetStickySessions": "Включить фиксированные сессии",
|
||||||
"targetStickySessionsDescription": "Сохранять соединения на одной и той же целевой точке в течение всей сессии.",
|
"targetStickySessionsDescription": "Сохранять соединения на одной и той же целевой точке в течение всей сессии.",
|
||||||
"methodSelect": "Выберите метод",
|
"methodSelect": "Выберите метод",
|
||||||
@@ -542,6 +546,7 @@
|
|||||||
"rulesActions": "Действия",
|
"rulesActions": "Действия",
|
||||||
"rulesActionAlwaysAllow": "Всегда разрешать: Обойти все методы аутентификации",
|
"rulesActionAlwaysAllow": "Всегда разрешать: Обойти все методы аутентификации",
|
||||||
"rulesActionAlwaysDeny": "Всегда запрещать: Блокировать все запросы; аутентификация не может быть выполнена",
|
"rulesActionAlwaysDeny": "Всегда запрещать: Блокировать все запросы; аутентификация не может быть выполнена",
|
||||||
|
"rulesActionPassToAuth": "Переход к аутентификации: Разрешить попытки методов аутентификации",
|
||||||
"rulesMatchCriteria": "Критерии совпадения",
|
"rulesMatchCriteria": "Критерии совпадения",
|
||||||
"rulesMatchCriteriaIpAddress": "Совпадение с конкретным IP адресом",
|
"rulesMatchCriteriaIpAddress": "Совпадение с конкретным IP адресом",
|
||||||
"rulesMatchCriteriaIpAddressRange": "Совпадение с диапазоном IP адресов в нотации CIDR",
|
"rulesMatchCriteriaIpAddressRange": "Совпадение с диапазоном IP адресов в нотации CIDR",
|
||||||
@@ -833,6 +838,24 @@
|
|||||||
"pincodeRequirementsLength": "PIN должен состоять ровно из 6 цифр",
|
"pincodeRequirementsLength": "PIN должен состоять ровно из 6 цифр",
|
||||||
"pincodeRequirementsChars": "PIN должен содержать только цифры",
|
"pincodeRequirementsChars": "PIN должен содержать только цифры",
|
||||||
"passwordRequirementsLength": "Пароль должен быть не менее 1 символа",
|
"passwordRequirementsLength": "Пароль должен быть не менее 1 символа",
|
||||||
|
"passwordRequirementsTitle": "Требования к паролю:",
|
||||||
|
"passwordRequirementLength": "Не менее 8 символов",
|
||||||
|
"passwordRequirementUppercase": "По крайней мере, одна заглавная буква",
|
||||||
|
"passwordRequirementLowercase": "По крайней мере, одна строчная буква",
|
||||||
|
"passwordRequirementNumber": "По крайней мере, одна цифра",
|
||||||
|
"passwordRequirementSpecial": "По крайней мере, один специальный символ",
|
||||||
|
"passwordRequirementsMet": "✓ Пароль соответствует всем требованиям",
|
||||||
|
"passwordStrength": "Сила пароля",
|
||||||
|
"passwordStrengthWeak": "Слабый",
|
||||||
|
"passwordStrengthMedium": "Средний",
|
||||||
|
"passwordStrengthStrong": "Сильный",
|
||||||
|
"passwordRequirements": "Требования:",
|
||||||
|
"passwordRequirementLengthText": "8+ символов",
|
||||||
|
"passwordRequirementUppercaseText": "Заглавная буква (A-Z)",
|
||||||
|
"passwordRequirementLowercaseText": "Строчная буква (a-z)",
|
||||||
|
"passwordRequirementNumberText": "Цифра (0-9)",
|
||||||
|
"passwordRequirementSpecialText": "Специальный символ (!@#$%...)",
|
||||||
|
"passwordsDoNotMatch": "Пароли не совпадают",
|
||||||
"otpEmailRequirementsLength": "OTP должен быть не менее 1 символа",
|
"otpEmailRequirementsLength": "OTP должен быть не менее 1 символа",
|
||||||
"otpEmailSent": "OTP отправлен",
|
"otpEmailSent": "OTP отправлен",
|
||||||
"otpEmailSentDescription": "OTP был отправлен на ваш email",
|
"otpEmailSentDescription": "OTP был отправлен на ваш email",
|
||||||
@@ -925,74 +948,78 @@
|
|||||||
"supportKeyInvalid": "Недействительный ключ",
|
"supportKeyInvalid": "Недействительный ключ",
|
||||||
"supportKeyInvalidDescription": "Ваш ключ поддержки недействителен.",
|
"supportKeyInvalidDescription": "Ваш ключ поддержки недействителен.",
|
||||||
"supportKeyValid": "Действительный ключ",
|
"supportKeyValid": "Действительный ключ",
|
||||||
"supportKeyValidDescription": "Your supporter key has been validated. Thank you for your support!",
|
"supportKeyValidDescription": "Ваш ключ поддержки был проверен. Спасибо за поддержку!",
|
||||||
"supportKeyErrorValidationDescription": "Failed to validate supporter key.",
|
"supportKeyErrorValidationDescription": "Не удалось проверить ключ поддержки.",
|
||||||
"supportKey": "Support Development and Adopt a Pangolin!",
|
"supportKey": "Поддержите разработку и усыновите Панголина!",
|
||||||
"supportKeyDescription": "Приобретите ключ поддержки, чтобы помочь нам продолжать разработку Pangolin для сообщества. Ваш вклад позволяет нам уделять больше времени поддержке и добавлению новых функций в приложение для всех. Мы никогда не будем использовать это для платного доступа к функциям. Это отдельно от любой коммерческой версии.",
|
"supportKeyDescription": "Приобретите ключ поддержки, чтобы помочь нам продолжать разработку Pangolin для сообщества. Ваш вклад позволяет нам уделять больше времени поддержке и добавлению новых функций в приложение для всех. Мы никогда не будем использовать это для платного доступа к функциям. Это отдельно от любой коммерческой версии.",
|
||||||
"supportKeyPet": "You will also get to adopt and meet your very own pet Pangolin!",
|
"supportKeyPet": "Вы также сможете усыновить и встретить вашего собственного питомца Панголина!",
|
||||||
"supportKeyPurchase": "Payments are processed via GitHub. Afterward, you can retrieve your key on",
|
"supportKeyPurchase": "Платежи обрабатываются через GitHub. После этого вы сможете получить свой ключ на",
|
||||||
"supportKeyPurchaseLink": "our website",
|
"supportKeyPurchaseLink": "нашем сайте",
|
||||||
"supportKeyPurchase2": "and redeem it here.",
|
"supportKeyPurchase2": "и активировать его здесь.",
|
||||||
"supportKeyLearnMore": "Learn more.",
|
"supportKeyLearnMore": "Узнать больше.",
|
||||||
"supportKeyOptions": "Please select the option that best suits you.",
|
"supportKeyOptions": "Пожалуйста, выберите подходящий вам вариант.",
|
||||||
"supportKetOptionFull": "Full Supporter",
|
"supportKetOptionFull": "Полная поддержка",
|
||||||
"forWholeServer": "For the whole server",
|
"forWholeServer": "За весь сервер",
|
||||||
"lifetimePurchase": "Lifetime purchase",
|
"lifetimePurchase": "Пожизненная покупка",
|
||||||
"supporterStatus": "Supporter status",
|
"supporterStatus": "Статус поддержки",
|
||||||
"buy": "Buy",
|
"buy": "Купить",
|
||||||
"supportKeyOptionLimited": "Limited Supporter",
|
"supportKeyOptionLimited": "Лимитированная поддержка",
|
||||||
"forFiveUsers": "For 5 or less users",
|
"forFiveUsers": "За 5 или меньше пользователей",
|
||||||
"supportKeyRedeem": "Redeem Supporter Key",
|
"supportKeyRedeem": "Использовать ключ Поддержки",
|
||||||
"supportKeyHideSevenDays": "Hide for 7 days",
|
"supportKeyHideSevenDays": "Скрыть на 7 дней",
|
||||||
"supportKeyEnter": "Enter Supporter Key",
|
"supportKeyEnter": "Введите ключ поддержки",
|
||||||
"supportKeyEnterDescription": "Meet your very own pet Pangolin!",
|
"supportKeyEnterDescription": "Встречайте своего питомца Панголина!",
|
||||||
"githubUsername": "GitHub Username",
|
"githubUsername": "Имя пользователя Github",
|
||||||
"supportKeyInput": "Supporter Key",
|
"supportKeyInput": "Ключ поддержки",
|
||||||
"supportKeyBuy": "Buy Supporter Key",
|
"supportKeyBuy": "Ключ поддержки",
|
||||||
"logoutError": "Error logging out",
|
"logoutError": "Ошибка при выходе",
|
||||||
"signingAs": "Signed in as",
|
"signingAs": "Вы вошли как",
|
||||||
"serverAdmin": "Server Admin",
|
"serverAdmin": "Администратор сервера",
|
||||||
"otpEnable": "Enable Two-factor",
|
"managedSelfhosted": "Управляемый с самовывоза",
|
||||||
"otpDisable": "Disable Two-factor",
|
"otpEnable": "Включить Двухфакторную Аутентификацию",
|
||||||
"logout": "Log Out",
|
"otpDisable": "Отключить двухфакторную аутентификацию",
|
||||||
"licenseTierProfessionalRequired": "Professional Edition Required",
|
"logout": "Выйти",
|
||||||
|
"licenseTierProfessionalRequired": "Требуется профессиональная версия",
|
||||||
"licenseTierProfessionalRequiredDescription": "Эта функция доступна только в профессиональной версии.",
|
"licenseTierProfessionalRequiredDescription": "Эта функция доступна только в профессиональной версии.",
|
||||||
"actionGetOrg": "Get Organization",
|
"actionGetOrg": "Получить организацию",
|
||||||
"actionUpdateOrg": "Update Organization",
|
"actionUpdateOrg": "Обновить организацию",
|
||||||
"actionUpdateUser": "Update User",
|
"actionUpdateUser": "Обновить пользователя",
|
||||||
"actionGetUser": "Get User",
|
"actionGetUser": "Получить пользователя",
|
||||||
"actionGetOrgUser": "Get Organization User",
|
"actionGetOrgUser": "Получить пользователя организации",
|
||||||
"actionListOrgDomains": "List Organization Domains",
|
"actionListOrgDomains": "Список доменов организации",
|
||||||
"actionCreateSite": "Create Site",
|
"actionCreateSite": "Создать сайт",
|
||||||
"actionDeleteSite": "Delete Site",
|
"actionDeleteSite": "Удалить сайт",
|
||||||
"actionGetSite": "Get Site",
|
"actionGetSite": "Получить сайт",
|
||||||
"actionListSites": "List Sites",
|
"actionListSites": "Список сайтов",
|
||||||
"actionUpdateSite": "Update Site",
|
"setupToken": "Код настройки",
|
||||||
"actionListSiteRoles": "List Allowed Site Roles",
|
"setupTokenDescription": "Введите токен настройки из консоли сервера.",
|
||||||
"actionCreateResource": "Create Resource",
|
"setupTokenRequired": "Токен настройки обязателен",
|
||||||
"actionDeleteResource": "Delete Resource",
|
"actionUpdateSite": "Обновить сайт",
|
||||||
"actionGetResource": "Get Resource",
|
"actionListSiteRoles": "Список разрешенных ролей сайта",
|
||||||
"actionListResource": "List Resources",
|
"actionCreateResource": "Создать ресурс",
|
||||||
"actionUpdateResource": "Update Resource",
|
"actionDeleteResource": "Удалить ресурс",
|
||||||
"actionListResourceUsers": "List Resource Users",
|
"actionGetResource": "Получить ресурсы",
|
||||||
"actionSetResourceUsers": "Set Resource Users",
|
"actionListResource": "Список ресурсов",
|
||||||
"actionSetAllowedResourceRoles": "Set Allowed Resource Roles",
|
"actionUpdateResource": "Обновить ресурс",
|
||||||
"actionListAllowedResourceRoles": "List Allowed Resource Roles",
|
"actionListResourceUsers": "Список пользователей ресурсов",
|
||||||
"actionSetResourcePassword": "Set Resource Password",
|
"actionSetResourceUsers": "Список пользователей ресурсов",
|
||||||
"actionSetResourcePincode": "Set Resource Pincode",
|
"actionSetAllowedResourceRoles": "Набор разрешенных ролей ресурсов",
|
||||||
"actionSetResourceEmailWhitelist": "Set Resource Email Whitelist",
|
"actionListAllowedResourceRoles": "Список разрешенных ролей сайта",
|
||||||
"actionGetResourceEmailWhitelist": "Get Resource Email Whitelist",
|
"actionSetResourcePassword": "Задать пароль ресурса",
|
||||||
"actionCreateTarget": "Create Target",
|
"actionSetResourcePincode": "Установить ПИН-код ресурса",
|
||||||
"actionDeleteTarget": "Delete Target",
|
"actionSetResourceEmailWhitelist": "Настроить белый список ресурсов email",
|
||||||
"actionGetTarget": "Get Target",
|
"actionGetResourceEmailWhitelist": "Получить белый список ресурсов email",
|
||||||
"actionListTargets": "List Targets",
|
"actionCreateTarget": "Создать цель",
|
||||||
"actionUpdateTarget": "Update Target",
|
"actionDeleteTarget": "Удалить цель",
|
||||||
"actionCreateRole": "Create Role",
|
"actionGetTarget": "Получить цель",
|
||||||
"actionDeleteRole": "Delete Role",
|
"actionListTargets": "Список целей",
|
||||||
"actionGetRole": "Get Role",
|
"actionUpdateTarget": "Обновить цель",
|
||||||
"actionListRole": "List Roles",
|
"actionCreateRole": "Создать роль",
|
||||||
"actionUpdateRole": "Update Role",
|
"actionDeleteRole": "Удалить роль",
|
||||||
"actionListAllowedRoleResources": "List Allowed Role Resources",
|
"actionGetRole": "Получить Роль",
|
||||||
|
"actionListRole": "Список ролей",
|
||||||
|
"actionUpdateRole": "Обновить роль",
|
||||||
|
"actionListAllowedRoleResources": "Список разрешенных ролей сайта",
|
||||||
"actionInviteUser": "Пригласить пользователя",
|
"actionInviteUser": "Пригласить пользователя",
|
||||||
"actionRemoveUser": "Удалить пользователя",
|
"actionRemoveUser": "Удалить пользователя",
|
||||||
"actionListUsers": "Список пользователей",
|
"actionListUsers": "Список пользователей",
|
||||||
@@ -1022,6 +1049,16 @@
|
|||||||
"actionDeleteIdpOrg": "Удалить политику IDP организации",
|
"actionDeleteIdpOrg": "Удалить политику IDP организации",
|
||||||
"actionListIdpOrgs": "Список организаций IDP",
|
"actionListIdpOrgs": "Список организаций IDP",
|
||||||
"actionUpdateIdpOrg": "Обновить организацию IDP",
|
"actionUpdateIdpOrg": "Обновить организацию IDP",
|
||||||
|
"actionCreateClient": "Создать Клиента",
|
||||||
|
"actionDeleteClient": "Удалить Клиента",
|
||||||
|
"actionUpdateClient": "Обновить Клиента",
|
||||||
|
"actionListClients": "Список Клиентов",
|
||||||
|
"actionGetClient": "Получить Клиента",
|
||||||
|
"actionCreateSiteResource": "Создать ресурс сайта",
|
||||||
|
"actionDeleteSiteResource": "Удалить ресурс сайта ",
|
||||||
|
"actionGetSiteResource": "Получить ресурс сайта",
|
||||||
|
"actionListSiteResources": "Список ресурсов сайта",
|
||||||
|
"actionUpdateSiteResource": "Обновить ресурс сайта",
|
||||||
"noneSelected": "Ничего не выбрано",
|
"noneSelected": "Ничего не выбрано",
|
||||||
"orgNotFound2": "Организации не найдены.",
|
"orgNotFound2": "Организации не найдены.",
|
||||||
"searchProgress": "Поиск...",
|
"searchProgress": "Поиск...",
|
||||||
@@ -1093,8 +1130,8 @@
|
|||||||
"sidebarAllUsers": "Все пользователи",
|
"sidebarAllUsers": "Все пользователи",
|
||||||
"sidebarIdentityProviders": "Поставщики удостоверений",
|
"sidebarIdentityProviders": "Поставщики удостоверений",
|
||||||
"sidebarLicense": "Лицензия",
|
"sidebarLicense": "Лицензия",
|
||||||
"sidebarClients": "Clients (Beta)",
|
"sidebarClients": "Клиенты (бета)",
|
||||||
"sidebarDomains": "Domains",
|
"sidebarDomains": "Домены",
|
||||||
"enableDockerSocket": "Включить Docker Socket",
|
"enableDockerSocket": "Включить Docker Socket",
|
||||||
"enableDockerSocketDescription": "Включить обнаружение Docker Socket для заполнения информации о контейнерах. Путь к сокету должен быть предоставлен Newt.",
|
"enableDockerSocketDescription": "Включить обнаружение Docker Socket для заполнения информации о контейнерах. Путь к сокету должен быть предоставлен Newt.",
|
||||||
"enableDockerSocketLink": "Узнать больше",
|
"enableDockerSocketLink": "Узнать больше",
|
||||||
@@ -1134,189 +1171,291 @@
|
|||||||
"dark": "тёмная",
|
"dark": "тёмная",
|
||||||
"system": "системная",
|
"system": "системная",
|
||||||
"theme": "Тема",
|
"theme": "Тема",
|
||||||
"subnetRequired": "Subnet is required",
|
"subnetRequired": "Требуется подсеть",
|
||||||
"initialSetupTitle": "Начальная настройка сервера",
|
"initialSetupTitle": "Начальная настройка сервера",
|
||||||
"initialSetupDescription": "Создайте первоначальную учётную запись администратора сервера. Может существовать только один администратор сервера. Вы всегда можете изменить эти учётные данные позже.",
|
"initialSetupDescription": "Создайте первоначальную учётную запись администратора сервера. Может существовать только один администратор сервера. Вы всегда можете изменить эти учётные данные позже.",
|
||||||
"createAdminAccount": "Создать учётную запись администратора",
|
"createAdminAccount": "Создать учётную запись администратора",
|
||||||
"setupErrorCreateAdmin": "Произошла ошибка при создании учётной записи администратора сервера.",
|
"setupErrorCreateAdmin": "Произошла ошибка при создании учётной записи администратора сервера.",
|
||||||
"certificateStatus": "Certificate Status",
|
"certificateStatus": "Статус сертификата",
|
||||||
"loading": "Loading",
|
"loading": "Загрузка",
|
||||||
"restart": "Restart",
|
"restart": "Перезагрузка",
|
||||||
"domains": "Domains",
|
"domains": "Домены",
|
||||||
"domainsDescription": "Manage domains for your organization",
|
"domainsDescription": "Управление доменами для вашей организации",
|
||||||
"domainsSearch": "Search domains...",
|
"domainsSearch": "Поиск доменов...",
|
||||||
"domainAdd": "Add Domain",
|
"domainAdd": "Добавить Домен",
|
||||||
"domainAddDescription": "Register a new domain with your organization",
|
"domainAddDescription": "Зарегистрировать новый домен в вашей организации",
|
||||||
"domainCreate": "Create Domain",
|
"domainCreate": "Создать Домен",
|
||||||
"domainCreatedDescription": "Domain created successfully",
|
"domainCreatedDescription": "Домен успешно создан",
|
||||||
"domainDeletedDescription": "Domain deleted successfully",
|
"domainDeletedDescription": "Домен успешно удален",
|
||||||
"domainQuestionRemove": "Are you sure you want to remove the domain {domain} from your account?",
|
"domainQuestionRemove": "Вы уверены, что хотите удалить домен {domain} из вашего аккаунта?",
|
||||||
"domainMessageRemove": "Once removed, the domain will no longer be associated with your account.",
|
"domainMessageRemove": "После удаления домен больше не будет связан с вашей учетной записью.",
|
||||||
"domainMessageConfirm": "To confirm, please type the domain name below.",
|
"domainMessageConfirm": "Для подтверждения введите ниже имя домена.",
|
||||||
"domainConfirmDelete": "Confirm Delete Domain",
|
"domainConfirmDelete": "Подтвердить удаление домена",
|
||||||
"domainDelete": "Delete Domain",
|
"domainDelete": "Удалить Домен",
|
||||||
"domain": "Domain",
|
"domain": "Домен",
|
||||||
"selectDomainTypeNsName": "Domain Delegation (NS)",
|
"selectDomainTypeNsName": "Делегация домена (NS)",
|
||||||
"selectDomainTypeNsDescription": "This domain and all its subdomains. Use this when you want to control an entire domain zone.",
|
"selectDomainTypeNsDescription": "Этот домен и все его субдомены. Используйте это, когда вы хотите управлять всей доменной зоной.",
|
||||||
"selectDomainTypeCnameName": "Single Domain (CNAME)",
|
"selectDomainTypeCnameName": "Одиночный домен (CNAME)",
|
||||||
"selectDomainTypeCnameDescription": "Just this specific domain. Use this for individual subdomains or specific domain entries.",
|
"selectDomainTypeCnameDescription": "Только этот конкретный домен. Используйте это для отдельных субдоменов или отдельных записей домена.",
|
||||||
"selectDomainTypeWildcardName": "Wildcard Domain",
|
"selectDomainTypeWildcardName": "Подставной домен",
|
||||||
"selectDomainTypeWildcardDescription": "This domain and its subdomains.",
|
"selectDomainTypeWildcardDescription": "Этот домен и его субдомены.",
|
||||||
"domainDelegation": "Single Domain",
|
"domainDelegation": "Единый домен",
|
||||||
"selectType": "Select a type",
|
"selectType": "Выберите тип",
|
||||||
"actions": "Actions",
|
"actions": "Действия",
|
||||||
"refresh": "Refresh",
|
"refresh": "Обновить",
|
||||||
"refreshError": "Failed to refresh data",
|
"refreshError": "Не удалось обновить данные",
|
||||||
"verified": "Verified",
|
"verified": "Подтверждено",
|
||||||
"pending": "Pending",
|
"pending": "В ожидании",
|
||||||
"sidebarBilling": "Billing",
|
"sidebarBilling": "Выставление счетов",
|
||||||
"billing": "Billing",
|
"billing": "Выставление счетов",
|
||||||
"orgBillingDescription": "Manage your billing information and subscriptions",
|
"orgBillingDescription": "Управляйте информацией о выставлении счетов и подписками",
|
||||||
"github": "GitHub",
|
"github": "GitHub",
|
||||||
"pangolinHosted": "Pangolin Hosted",
|
"pangolinHosted": "Pangolin Hosted",
|
||||||
"fossorial": "Fossorial",
|
"fossorial": "Fossorial",
|
||||||
"completeAccountSetup": "Complete Account Setup",
|
"completeAccountSetup": "Завершите настройку аккаунта",
|
||||||
"completeAccountSetupDescription": "Set your password to get started",
|
"completeAccountSetupDescription": "Установите ваш пароль, чтобы начать",
|
||||||
"accountSetupSent": "We'll send an account setup code to this email address.",
|
"accountSetupSent": "Мы отправим код для настройки аккаунта на этот email адрес.",
|
||||||
"accountSetupCode": "Setup Code",
|
"accountSetupCode": "Код настройки",
|
||||||
"accountSetupCodeDescription": "Check your email for the setup code.",
|
"accountSetupCodeDescription": "Проверьте вашу почту для получения кода настройки.",
|
||||||
"passwordCreate": "Create Password",
|
"passwordCreate": "Создать пароль",
|
||||||
"passwordCreateConfirm": "Confirm Password",
|
"passwordCreateConfirm": "Подтвердите пароль",
|
||||||
"accountSetupSubmit": "Send Setup Code",
|
"accountSetupSubmit": "Отправить код настройки",
|
||||||
"completeSetup": "Complete Setup",
|
"completeSetup": "Завершить настройку",
|
||||||
"accountSetupSuccess": "Account setup completed! Welcome to Pangolin!",
|
"accountSetupSuccess": "Настройка аккаунта завершена! Добро пожаловать в Pangolin!",
|
||||||
"documentation": "Documentation",
|
"documentation": "Документация",
|
||||||
"saveAllSettings": "Save All Settings",
|
"saveAllSettings": "Сохранить все настройки",
|
||||||
"settingsUpdated": "Settings updated",
|
"settingsUpdated": "Настройки обновлены",
|
||||||
"settingsUpdatedDescription": "All settings have been updated successfully",
|
"settingsUpdatedDescription": "Все настройки успешно обновлены",
|
||||||
"settingsErrorUpdate": "Failed to update settings",
|
"settingsErrorUpdate": "Не удалось обновить настройки",
|
||||||
"settingsErrorUpdateDescription": "An error occurred while updating settings",
|
"settingsErrorUpdateDescription": "Произошла ошибка при обновлении настроек",
|
||||||
"sidebarCollapse": "Collapse",
|
"sidebarCollapse": "Свернуть",
|
||||||
"sidebarExpand": "Expand",
|
"sidebarExpand": "Развернуть",
|
||||||
"newtUpdateAvailable": "Update Available",
|
"newtUpdateAvailable": "Доступно обновление",
|
||||||
"newtUpdateAvailableInfo": "A new version of Newt is available. Please update to the latest version for the best experience.",
|
"newtUpdateAvailableInfo": "Доступна новая версия Newt. Пожалуйста, обновитесь до последней версии для лучшего опыта.",
|
||||||
"domainPickerEnterDomain": "Domain",
|
"domainPickerEnterDomain": "Домен",
|
||||||
"domainPickerPlaceholder": "myapp.example.com, api.v1.mydomain.com, or just myapp",
|
"domainPickerPlaceholder": "myapp.example.com, api.v1.mydomain.com, или просто myapp",
|
||||||
"domainPickerDescription": "Enter the full domain of the resource to see available options.",
|
"domainPickerDescription": "Введите полный домен ресурса, чтобы увидеть доступные опции.",
|
||||||
"domainPickerDescriptionSaas": "Enter a full domain, subdomain, or just a name to see available options",
|
"domainPickerDescriptionSaas": "Введите полный домен, поддомен или просто имя, чтобы увидеть доступные опции",
|
||||||
"domainPickerTabAll": "All",
|
"domainPickerTabAll": "Все",
|
||||||
"domainPickerTabOrganization": "Organization",
|
"domainPickerTabOrganization": "Организация",
|
||||||
"domainPickerTabProvided": "Provided",
|
"domainPickerTabProvided": "Предоставлено",
|
||||||
"domainPickerSortAsc": "A-Z",
|
"domainPickerSortAsc": "А-Я",
|
||||||
"domainPickerSortDesc": "Z-A",
|
"domainPickerSortDesc": "Я-А",
|
||||||
"domainPickerCheckingAvailability": "Checking availability...",
|
"domainPickerCheckingAvailability": "Проверка доступности...",
|
||||||
"domainPickerNoMatchingDomains": "No matching domains found. Try a different domain or check your organization's domain settings.",
|
"domainPickerNoMatchingDomains": "Не найдены сопоставимые домены. Попробуйте другой домен или проверьте настройки доменов вашей организации.",
|
||||||
"domainPickerOrganizationDomains": "Organization Domains",
|
"domainPickerOrganizationDomains": "Домены организации",
|
||||||
"domainPickerProvidedDomains": "Provided Domains",
|
"domainPickerProvidedDomains": "Предоставленные домены",
|
||||||
"domainPickerSubdomain": "Subdomain: {subdomain}",
|
"domainPickerSubdomain": "Поддомен: {subdomain}",
|
||||||
"domainPickerNamespace": "Namespace: {namespace}",
|
"domainPickerNamespace": "Пространство имен: {namespace}",
|
||||||
"domainPickerShowMore": "Show More",
|
"domainPickerShowMore": "Показать еще",
|
||||||
"domainNotFound": "Domain Not Found",
|
"domainNotFound": "Домен не найден",
|
||||||
"domainNotFoundDescription": "This resource is disabled because the domain no longer exists our system. Please set a new domain for this resource.",
|
"domainNotFoundDescription": "Этот ресурс отключен, так как домен больше не существует в нашей системе. Пожалуйста, установите новый домен для этого ресурса.",
|
||||||
"failed": "Failed",
|
"failed": "Ошибка",
|
||||||
"createNewOrgDescription": "Create a new organization",
|
"createNewOrgDescription": "Создать новую организацию",
|
||||||
"organization": "Organization",
|
"organization": "Организация",
|
||||||
"port": "Port",
|
"port": "Порт",
|
||||||
"securityKeyManage": "Manage Security Keys",
|
"securityKeyManage": "Управление ключами безопасности",
|
||||||
"securityKeyDescription": "Add or remove security keys for passwordless authentication",
|
"securityKeyDescription": "Добавить или удалить ключи безопасности для аутентификации без пароля",
|
||||||
"securityKeyRegister": "Register New Security Key",
|
"securityKeyRegister": "Зарегистрировать новый ключ безопасности",
|
||||||
"securityKeyList": "Your Security Keys",
|
"securityKeyList": "Ваши ключи безопасности",
|
||||||
"securityKeyNone": "No security keys registered yet",
|
"securityKeyNone": "Ключи безопасности еще не зарегистрированы",
|
||||||
"securityKeyNameRequired": "Name is required",
|
"securityKeyNameRequired": "Имя обязательно",
|
||||||
"securityKeyRemove": "Remove",
|
"securityKeyRemove": "Удалить",
|
||||||
"securityKeyLastUsed": "Last used: {date}",
|
"securityKeyLastUsed": "Последнее использование: {date}",
|
||||||
"securityKeyNameLabel": "Security Key Name",
|
"securityKeyNameLabel": "Имя ключа безопасности",
|
||||||
"securityKeyRegisterSuccess": "Security key registered successfully",
|
"securityKeyRegisterSuccess": "Ключ безопасности успешно зарегистрирован",
|
||||||
"securityKeyRegisterError": "Failed to register security key",
|
"securityKeyRegisterError": "Не удалось зарегистрировать ключ безопасности",
|
||||||
"securityKeyRemoveSuccess": "Security key removed successfully",
|
"securityKeyRemoveSuccess": "Ключ безопасности успешно удален",
|
||||||
"securityKeyRemoveError": "Failed to remove security key",
|
"securityKeyRemoveError": "Не удалось удалить ключ безопасности",
|
||||||
"securityKeyLoadError": "Failed to load security keys",
|
"securityKeyLoadError": "Не удалось загрузить ключи безопасности",
|
||||||
"securityKeyLogin": "Continue with security key",
|
"securityKeyLogin": "Продолжить с ключом безопасности",
|
||||||
"securityKeyAuthError": "Failed to authenticate with security key",
|
"securityKeyAuthError": "Не удалось аутентифицироваться с ключом безопасности",
|
||||||
"securityKeyRecommendation": "Register a backup security key on another device to ensure you always have access to your account.",
|
"securityKeyRecommendation": "Зарегистрируйте резервный ключ безопасности на другом устройстве, чтобы всегда иметь доступ к вашему аккаунту.",
|
||||||
"registering": "Registering...",
|
"registering": "Регистрация...",
|
||||||
"securityKeyPrompt": "Please verify your identity using your security key. Make sure your security key is connected and ready.",
|
"securityKeyPrompt": "Пожалуйста, подтвердите свою личность с использованием вашего ключа безопасности. Убедитесь, что ваш ключ безопасности подключен и готов.",
|
||||||
"securityKeyBrowserNotSupported": "Your browser doesn't support security keys. Please use a modern browser like Chrome, Firefox, or Safari.",
|
"securityKeyBrowserNotSupported": "Ваш браузер не поддерживает ключи безопасности. Пожалуйста, используйте современный браузер, такой как Chrome, Firefox или Safari.",
|
||||||
"securityKeyPermissionDenied": "Please allow access to your security key to continue signing in.",
|
"securityKeyPermissionDenied": "Пожалуйста, разрешите доступ к вашему ключу безопасности, чтобы продолжить вход.",
|
||||||
"securityKeyRemovedTooQuickly": "Please keep your security key connected until the sign-in process completes.",
|
"securityKeyRemovedTooQuickly": "Пожалуйста, держите ваш ключ безопасности подключенным, пока процесс входа не завершится.",
|
||||||
"securityKeyNotSupported": "Your security key may not be compatible. Please try a different security key.",
|
"securityKeyNotSupported": "Ваш ключ безопасности может быть несовместим. Попробуйте другой ключ безопасности.",
|
||||||
"securityKeyUnknownError": "There was a problem using your security key. Please try again.",
|
"securityKeyUnknownError": "Произошла проблема при использовании вашего ключа безопасности. Пожалуйста, попробуйте еще раз.",
|
||||||
"twoFactorRequired": "Two-factor authentication is required to register a security key.",
|
"twoFactorRequired": "Для регистрации ключа безопасности требуется двухфакторная аутентификация.",
|
||||||
"twoFactor": "Two-Factor Authentication",
|
"twoFactor": "Двухфакторная аутентификация",
|
||||||
"adminEnabled2FaOnYourAccount": "Your administrator has enabled two-factor authentication for {email}. Please complete the setup process to continue.",
|
"adminEnabled2FaOnYourAccount": "Ваш администратор включил двухфакторную аутентификацию для {email}. Пожалуйста, завершите процесс настройки, чтобы продолжить.",
|
||||||
"continueToApplication": "Continue to Application",
|
"continueToApplication": "Перейти к приложению",
|
||||||
"securityKeyAdd": "Add Security Key",
|
"securityKeyAdd": "Добавить ключ безопасности",
|
||||||
"securityKeyRegisterTitle": "Register New Security Key",
|
"securityKeyRegisterTitle": "Регистрация нового ключа безопасности",
|
||||||
"securityKeyRegisterDescription": "Connect your security key and enter a name to identify it",
|
"securityKeyRegisterDescription": "Подключите свой ключ безопасности и введите имя для его идентификации",
|
||||||
"securityKeyTwoFactorRequired": "Two-Factor Authentication Required",
|
"securityKeyTwoFactorRequired": "Требуется двухфакторная аутентификация",
|
||||||
"securityKeyTwoFactorDescription": "Please enter your two-factor authentication code to register the security key",
|
"securityKeyTwoFactorDescription": "Пожалуйста, введите ваш код двухфакторной аутентификации для регистрации ключа безопасности",
|
||||||
"securityKeyTwoFactorRemoveDescription": "Please enter your two-factor authentication code to remove the security key",
|
"securityKeyTwoFactorRemoveDescription": "Пожалуйста, введите ваш код двухфакторной аутентификации для удаления ключа безопасности",
|
||||||
"securityKeyTwoFactorCode": "Two-Factor Code",
|
"securityKeyTwoFactorCode": "Код двухфакторной аутентификации",
|
||||||
"securityKeyRemoveTitle": "Remove Security Key",
|
"securityKeyRemoveTitle": "Удалить ключ безопасности",
|
||||||
"securityKeyRemoveDescription": "Enter your password to remove the security key \"{name}\"",
|
"securityKeyRemoveDescription": "Введите ваш пароль для удаления ключа безопасности \"{name}\"",
|
||||||
"securityKeyNoKeysRegistered": "No security keys registered",
|
"securityKeyNoKeysRegistered": "Ключи безопасности не зарегистрированы",
|
||||||
"securityKeyNoKeysDescription": "Add a security key to enhance your account security",
|
"securityKeyNoKeysDescription": "Добавьте ключ безопасности, чтобы повысить безопасность вашего аккаунта",
|
||||||
"createDomainRequired": "Domain is required",
|
"createDomainRequired": "Домен обязателен",
|
||||||
"createDomainAddDnsRecords": "Add DNS Records",
|
"createDomainAddDnsRecords": "Добавить DNS записи",
|
||||||
"createDomainAddDnsRecordsDescription": "Add the following DNS records to your domain provider to complete the setup.",
|
"createDomainAddDnsRecordsDescription": "Добавьте следующие DNS записи у вашего провайдера доменных имен для завершения настройки.",
|
||||||
"createDomainNsRecords": "NS Records",
|
"createDomainNsRecords": "NS Записи",
|
||||||
"createDomainRecord": "Record",
|
"createDomainRecord": "Запись",
|
||||||
"createDomainType": "Type:",
|
"createDomainType": "Тип:",
|
||||||
"createDomainName": "Name:",
|
"createDomainName": "Имя:",
|
||||||
"createDomainValue": "Value:",
|
"createDomainValue": "Значение:",
|
||||||
"createDomainCnameRecords": "CNAME Records",
|
"createDomainCnameRecords": "CNAME Записи",
|
||||||
"createDomainARecords": "A Records",
|
"createDomainARecords": "A Записи",
|
||||||
"createDomainRecordNumber": "Record {number}",
|
"createDomainRecordNumber": "Запись {number}",
|
||||||
"createDomainTxtRecords": "TXT Records",
|
"createDomainTxtRecords": "TXT Записи",
|
||||||
"createDomainSaveTheseRecords": "Save These Records",
|
"createDomainSaveTheseRecords": "Сохранить эти записи",
|
||||||
"createDomainSaveTheseRecordsDescription": "Make sure to save these DNS records as you will not see them again.",
|
"createDomainSaveTheseRecordsDescription": "Обязательно сохраните эти DNS записи, так как вы их больше не увидите.",
|
||||||
"createDomainDnsPropagation": "DNS Propagation",
|
"createDomainDnsPropagation": "Распространение DNS",
|
||||||
"createDomainDnsPropagationDescription": "DNS changes may take some time to propagate across the internet. This can take anywhere from a few minutes to 48 hours, depending on your DNS provider and TTL settings.",
|
"createDomainDnsPropagationDescription": "Изменения DNS могут занять некоторое время для распространения через интернет. Это может занять от нескольких минут до 48 часов в зависимости от вашего DNS провайдера и настроек TTL.",
|
||||||
"resourcePortRequired": "Port number is required for non-HTTP resources",
|
"resourcePortRequired": "Номер порта необходим для не-HTTP ресурсов",
|
||||||
"resourcePortNotAllowed": "Port number should not be set for HTTP resources",
|
"resourcePortNotAllowed": "Номер порта не должен быть установлен для HTTP ресурсов",
|
||||||
"signUpTerms": {
|
"signUpTerms": {
|
||||||
"IAgreeToThe": "I agree to the",
|
"IAgreeToThe": "Я согласен с",
|
||||||
"termsOfService": "terms of service",
|
"termsOfService": "условия использования",
|
||||||
"and": "and",
|
"and": "и",
|
||||||
"privacyPolicy": "privacy policy"
|
"privacyPolicy": "политика конфиденциальности"
|
||||||
},
|
},
|
||||||
"siteRequired": "Site is required.",
|
"siteRequired": "Необходимо указать сайт.",
|
||||||
"olmTunnel": "Olm Tunnel",
|
"olmTunnel": "Olm Туннель",
|
||||||
"olmTunnelDescription": "Use Olm for client connectivity",
|
"olmTunnelDescription": "Используйте Olm для подключений клиентов",
|
||||||
"errorCreatingClient": "Error creating client",
|
"errorCreatingClient": "Ошибка при создании клиента",
|
||||||
"clientDefaultsNotFound": "Client defaults not found",
|
"clientDefaultsNotFound": "Настройки клиента по умолчанию не найдены",
|
||||||
"createClient": "Create Client",
|
"createClient": "Создать клиента",
|
||||||
"createClientDescription": "Create a new client for connecting to your sites",
|
"createClientDescription": "Создайте нового клиента для подключения к вашим сайтам",
|
||||||
"seeAllClients": "See All Clients",
|
"seeAllClients": "Просмотреть всех клиентов",
|
||||||
"clientInformation": "Client Information",
|
"clientInformation": "Информация о клиенте",
|
||||||
"clientNamePlaceholder": "Client name",
|
"clientNamePlaceholder": "Имя клиента",
|
||||||
"address": "Address",
|
"address": "Адрес",
|
||||||
"subnetPlaceholder": "Subnet",
|
"subnetPlaceholder": "Подсеть",
|
||||||
"addressDescription": "The address that this client will use for connectivity",
|
"addressDescription": "Адрес, который этот клиент будет использовать для подключения",
|
||||||
"selectSites": "Select sites",
|
"selectSites": "Выберите сайты",
|
||||||
"sitesDescription": "The client will have connectivity to the selected sites",
|
"sitesDescription": "Клиент будет иметь подключение к выбранным сайтам",
|
||||||
"clientInstallOlm": "Install Olm",
|
"clientInstallOlm": "Установить Olm",
|
||||||
"clientInstallOlmDescription": "Get Olm running on your system",
|
"clientInstallOlmDescription": "Запустите Olm на вашей системе",
|
||||||
"clientOlmCredentials": "Olm Credentials",
|
"clientOlmCredentials": "Учётные данные Olm",
|
||||||
"clientOlmCredentialsDescription": "This is how Olm will authenticate with the server",
|
"clientOlmCredentialsDescription": "Так Olm будет аутентифицироваться через сервер",
|
||||||
"olmEndpoint": "Olm Endpoint",
|
"olmEndpoint": "Конечная точка Olm",
|
||||||
"olmId": "Olm ID",
|
"olmId": "Olm ID",
|
||||||
"olmSecretKey": "Olm Secret Key",
|
"olmSecretKey": "Секретный ключ Olm",
|
||||||
"clientCredentialsSave": "Save Your Credentials",
|
"clientCredentialsSave": "Сохраните ваши учётные данные",
|
||||||
"clientCredentialsSaveDescription": "You will only be able to see this once. Make sure to copy it to a secure place.",
|
"clientCredentialsSaveDescription": "Вы сможете увидеть их только один раз. Обязательно скопируйте в безопасное место.",
|
||||||
"generalSettingsDescription": "Configure the general settings for this client",
|
"generalSettingsDescription": "Настройте общие параметры для этого клиента",
|
||||||
"clientUpdated": "Client updated",
|
"clientUpdated": "Клиент обновлен",
|
||||||
"clientUpdatedDescription": "The client has been updated.",
|
"clientUpdatedDescription": "Клиент был обновлён.",
|
||||||
"clientUpdateFailed": "Failed to update client",
|
"clientUpdateFailed": "Не удалось обновить клиента",
|
||||||
"clientUpdateError": "An error occurred while updating the client.",
|
"clientUpdateError": "Произошла ошибка при обновлении клиента.",
|
||||||
"sitesFetchFailed": "Failed to fetch sites",
|
"sitesFetchFailed": "Не удалось получить сайты",
|
||||||
"sitesFetchError": "An error occurred while fetching sites.",
|
"sitesFetchError": "Произошла ошибка при получении сайтов.",
|
||||||
"olmErrorFetchReleases": "An error occurred while fetching Olm releases.",
|
"olmErrorFetchReleases": "Произошла ошибка при получении релизов Olm.",
|
||||||
"olmErrorFetchLatest": "An error occurred while fetching the latest Olm release.",
|
"olmErrorFetchLatest": "Произошла ошибка при получении последнего релиза Olm.",
|
||||||
"remoteSubnets": "Remote Subnets",
|
"remoteSubnets": "Удалённые подсети",
|
||||||
"enterCidrRange": "Enter CIDR range",
|
"enterCidrRange": "Введите диапазон CIDR",
|
||||||
"remoteSubnetsDescription": "Add CIDR ranges that can access this site remotely. Use format like 10.0.0.0/24 or 192.168.1.0/24.",
|
"remoteSubnetsDescription": "Добавьте диапазоны адресов CIDR, которые можно получить из этого сайта удаленно, используя клиентов. Используйте формат 10.0.0.0/24. Это относится ТОЛЬКО к подключению через VPN клиентов.",
|
||||||
"resourceEnableProxy": "Enable Public Proxy",
|
"resourceEnableProxy": "Включить публичный прокси",
|
||||||
"resourceEnableProxyDescription": "Enable public proxying to this resource. This allows access to the resource from outside the network through the cloud on an open port. Requires Traefik config.",
|
"resourceEnableProxyDescription": "Включите публичное проксирование для этого ресурса. Это позволяет получить доступ к ресурсу извне сети через облако через открытый порт. Требуется конфигурация Traefik.",
|
||||||
"externalProxyEnabled": "External Proxy Enabled"
|
"externalProxyEnabled": "Внешний прокси включен",
|
||||||
|
"addNewTarget": "Добавить новую цель",
|
||||||
|
"targetsList": "Список целей",
|
||||||
|
"targetErrorDuplicateTargetFound": "Обнаружена дублирующаяся цель",
|
||||||
|
"httpMethod": "HTTP метод",
|
||||||
|
"selectHttpMethod": "Выберите HTTP метод",
|
||||||
|
"domainPickerSubdomainLabel": "Поддомен",
|
||||||
|
"domainPickerBaseDomainLabel": "Основной домен",
|
||||||
|
"domainPickerSearchDomains": "Поиск доменов...",
|
||||||
|
"domainPickerNoDomainsFound": "Доменов не найдено",
|
||||||
|
"domainPickerLoadingDomains": "Загрузка доменов...",
|
||||||
|
"domainPickerSelectBaseDomain": "Выбор основного домена...",
|
||||||
|
"domainPickerNotAvailableForCname": "Не доступно для CNAME доменов",
|
||||||
|
"domainPickerEnterSubdomainOrLeaveBlank": "Введите поддомен или оставьте пустым для использования основного домена.",
|
||||||
|
"domainPickerEnterSubdomainToSearch": "Введите поддомен для поиска и выбора из доступных свободных доменов.",
|
||||||
|
"domainPickerFreeDomains": "Свободные домены",
|
||||||
|
"domainPickerSearchForAvailableDomains": "Поиск доступных доменов",
|
||||||
|
"resourceDomain": "Домен",
|
||||||
|
"resourceEditDomain": "Редактировать домен",
|
||||||
|
"siteName": "Имя сайта",
|
||||||
|
"proxyPort": "Порт",
|
||||||
|
"resourcesTableProxyResources": "Проксированные ресурсы",
|
||||||
|
"resourcesTableClientResources": "Клиентские ресурсы",
|
||||||
|
"resourcesTableNoProxyResourcesFound": "Проксированных ресурсов не найдено.",
|
||||||
|
"resourcesTableNoInternalResourcesFound": "Внутренних ресурсов не найдено.",
|
||||||
|
"resourcesTableDestination": "Пункт назначения",
|
||||||
|
"resourcesTableTheseResourcesForUseWith": "Эти ресурсы предназначены для использования с",
|
||||||
|
"resourcesTableClients": "Клиенты",
|
||||||
|
"resourcesTableAndOnlyAccessibleInternally": "и доступны только внутренне при подключении с клиентом.",
|
||||||
|
"editInternalResourceDialogEditClientResource": "Редактировать ресурс клиента",
|
||||||
|
"editInternalResourceDialogUpdateResourceProperties": "Обновите свойства ресурса и настройку цели для {resourceName}.",
|
||||||
|
"editInternalResourceDialogResourceProperties": "Свойства ресурса",
|
||||||
|
"editInternalResourceDialogName": "Имя",
|
||||||
|
"editInternalResourceDialogProtocol": "Протокол",
|
||||||
|
"editInternalResourceDialogSitePort": "Порт сайта",
|
||||||
|
"editInternalResourceDialogTargetConfiguration": "Настройка цели",
|
||||||
|
"editInternalResourceDialogDestinationIP": "Целевая IP",
|
||||||
|
"editInternalResourceDialogDestinationPort": "Целевой порт",
|
||||||
|
"editInternalResourceDialogCancel": "Отмена",
|
||||||
|
"editInternalResourceDialogSaveResource": "Сохранить ресурс",
|
||||||
|
"editInternalResourceDialogSuccess": "Успешно",
|
||||||
|
"editInternalResourceDialogInternalResourceUpdatedSuccessfully": "Внутренний ресурс успешно обновлен",
|
||||||
|
"editInternalResourceDialogError": "Ошибка",
|
||||||
|
"editInternalResourceDialogFailedToUpdateInternalResource": "Не удалось обновить внутренний ресурс",
|
||||||
|
"editInternalResourceDialogNameRequired": "Имя обязательно",
|
||||||
|
"editInternalResourceDialogNameMaxLength": "Имя не должно быть длиннее 255 символов",
|
||||||
|
"editInternalResourceDialogProxyPortMin": "Порт прокси должен быть не менее 1",
|
||||||
|
"editInternalResourceDialogProxyPortMax": "Порт прокси должен быть меньше 65536",
|
||||||
|
"editInternalResourceDialogInvalidIPAddressFormat": "Неверный формат IP адреса",
|
||||||
|
"editInternalResourceDialogDestinationPortMin": "Целевой порт должен быть не менее 1",
|
||||||
|
"editInternalResourceDialogDestinationPortMax": "Целевой порт должен быть меньше 65536",
|
||||||
|
"createInternalResourceDialogNoSitesAvailable": "Нет доступных сайтов",
|
||||||
|
"createInternalResourceDialogNoSitesAvailableDescription": "Вам необходимо иметь хотя бы один сайт Newt с настроенной подсетью для создания внутреннего ресурса.",
|
||||||
|
"createInternalResourceDialogClose": "Закрыть",
|
||||||
|
"createInternalResourceDialogCreateClientResource": "Создать ресурс клиента",
|
||||||
|
"createInternalResourceDialogCreateClientResourceDescription": "Создайте новый ресурс, который будет доступен клиентам, подключенным к выбранному сайту.",
|
||||||
|
"createInternalResourceDialogResourceProperties": "Свойства ресурса",
|
||||||
|
"createInternalResourceDialogName": "Имя",
|
||||||
|
"createInternalResourceDialogSite": "Сайт",
|
||||||
|
"createInternalResourceDialogSelectSite": "Выберите сайт...",
|
||||||
|
"createInternalResourceDialogSearchSites": "Поиск сайтов...",
|
||||||
|
"createInternalResourceDialogNoSitesFound": "Сайты не найдены.",
|
||||||
|
"createInternalResourceDialogProtocol": "Протокол",
|
||||||
|
"createInternalResourceDialogTcp": "TCP",
|
||||||
|
"createInternalResourceDialogUdp": "UDP",
|
||||||
|
"createInternalResourceDialogSitePort": "Порт сайта",
|
||||||
|
"createInternalResourceDialogSitePortDescription": "Используйте этот порт для доступа к ресурсу на сайте при подключении с клиентом.",
|
||||||
|
"createInternalResourceDialogTargetConfiguration": "Настройка цели",
|
||||||
|
"createInternalResourceDialogDestinationIP": "Целевая IP",
|
||||||
|
"createInternalResourceDialogDestinationIPDescription": "IP-адрес ресурса в сети сайта.",
|
||||||
|
"createInternalResourceDialogDestinationPort": "Целевой порт",
|
||||||
|
"createInternalResourceDialogDestinationPortDescription": "Порт на IP-адресе назначения, где доступен ресурс.",
|
||||||
|
"createInternalResourceDialogCancel": "Отмена",
|
||||||
|
"createInternalResourceDialogCreateResource": "Создать ресурс",
|
||||||
|
"createInternalResourceDialogSuccess": "Успешно",
|
||||||
|
"createInternalResourceDialogInternalResourceCreatedSuccessfully": "Внутренний ресурс успешно создан",
|
||||||
|
"createInternalResourceDialogError": "Ошибка",
|
||||||
|
"createInternalResourceDialogFailedToCreateInternalResource": "Не удалось создать внутренний ресурс",
|
||||||
|
"createInternalResourceDialogNameRequired": "Имя обязательно",
|
||||||
|
"createInternalResourceDialogNameMaxLength": "Имя должно содержать менее 255 символов",
|
||||||
|
"createInternalResourceDialogPleaseSelectSite": "Пожалуйста, выберите сайт",
|
||||||
|
"createInternalResourceDialogProxyPortMin": "Прокси-порт должен быть не менее 1",
|
||||||
|
"createInternalResourceDialogProxyPortMax": "Прокси-порт должен быть меньше 65536",
|
||||||
|
"createInternalResourceDialogInvalidIPAddressFormat": "Неверный формат IP-адреса",
|
||||||
|
"createInternalResourceDialogDestinationPortMin": "Целевой порт должен быть не менее 1",
|
||||||
|
"createInternalResourceDialogDestinationPortMax": "Целевой порт должен быть меньше 65536",
|
||||||
|
"siteConfiguration": "Конфигурация",
|
||||||
|
"siteAcceptClientConnections": "Принимать подключения клиентов",
|
||||||
|
"siteAcceptClientConnectionsDescription": "Разрешите другим устройствам подключаться через этот экземпляр Newt в качестве шлюза с использованием клиентов.",
|
||||||
|
"siteAddress": "Адрес сайта",
|
||||||
|
"siteAddressDescription": "Укажите IP-адрес хоста для подключения клиентов. Это внутренний адрес сайта в сети Pangolin для адресации клиентов. Должен находиться в пределах подсети организационного уровня.",
|
||||||
|
"autoLoginExternalIdp": "Автоматический вход с внешним провайдером",
|
||||||
|
"autoLoginExternalIdpDescription": "Немедленно перенаправьте пользователя к внешнему провайдеру для аутентификации.",
|
||||||
|
"selectIdp": "Выберите провайдера",
|
||||||
|
"selectIdpPlaceholder": "Выберите провайдера...",
|
||||||
|
"selectIdpRequired": "Пожалуйста, выберите провайдера, когда автоматический вход включен.",
|
||||||
|
"autoLoginTitle": "Перенаправление",
|
||||||
|
"autoLoginDescription": "Перенаправление вас к внешнему провайдеру для аутентификации.",
|
||||||
|
"autoLoginProcessing": "Подготовка аутентификации...",
|
||||||
|
"autoLoginRedirecting": "Перенаправление к входу...",
|
||||||
|
"autoLoginError": "Ошибка автоматического входа",
|
||||||
|
"autoLoginErrorNoRedirectUrl": "URL-адрес перенаправления не получен от провайдера удостоверения.",
|
||||||
|
"autoLoginErrorGeneratingUrl": "Не удалось сгенерировать URL-адрес аутентификации."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -94,7 +94,9 @@
|
|||||||
"siteNewtTunnelDescription": "Ağınıza giriş noktası oluşturmanın en kolay yolu. Ekstra kurulum gerekmez.",
|
"siteNewtTunnelDescription": "Ağınıza giriş noktası oluşturmanın en kolay yolu. Ekstra kurulum gerekmez.",
|
||||||
"siteWg": "Temel WireGuard",
|
"siteWg": "Temel WireGuard",
|
||||||
"siteWgDescription": "Bir tünel oluşturmak için herhangi bir WireGuard istemcisi kullanın. Manuel NAT kurulumu gereklidir.",
|
"siteWgDescription": "Bir tünel oluşturmak için herhangi bir WireGuard istemcisi kullanın. Manuel NAT kurulumu gereklidir.",
|
||||||
|
"siteWgDescriptionSaas": "Bir tünel oluşturmak için herhangi bir WireGuard istemcisi kullanın. Manuel NAT kurulumu gereklidir. YALNIZCA SELF HOSTED DÜĞÜMLERDE ÇALIŞIR",
|
||||||
"siteLocalDescription": "Yalnızca yerel kaynaklar. Tünelleme yok.",
|
"siteLocalDescription": "Yalnızca yerel kaynaklar. Tünelleme yok.",
|
||||||
|
"siteLocalDescriptionSaas": "Yalnızca yerel kaynaklar. Tünel yok. YALNIZCA SELF HOSTED DÜĞÜMLERDE ÇALIŞIR",
|
||||||
"siteSeeAll": "Tüm Siteleri Gör",
|
"siteSeeAll": "Tüm Siteleri Gör",
|
||||||
"siteTunnelDescription": "Sitenize nasıl bağlanmak istediğinizi belirleyin",
|
"siteTunnelDescription": "Sitenize nasıl bağlanmak istediğinizi belirleyin",
|
||||||
"siteNewtCredentials": "Newt Kimlik Bilgileri",
|
"siteNewtCredentials": "Newt Kimlik Bilgileri",
|
||||||
@@ -166,7 +168,7 @@
|
|||||||
"siteSelect": "Site seç",
|
"siteSelect": "Site seç",
|
||||||
"siteSearch": "Site ara",
|
"siteSearch": "Site ara",
|
||||||
"siteNotFound": "Herhangi bir site bulunamadı.",
|
"siteNotFound": "Herhangi bir site bulunamadı.",
|
||||||
"siteSelectionDescription": "Bu site, kaynağa bağlanabilirliği sağlayacaktır.",
|
"siteSelectionDescription": "Bu site hedefe bağlantı sağlayacaktır.",
|
||||||
"resourceType": "Kaynak Türü",
|
"resourceType": "Kaynak Türü",
|
||||||
"resourceTypeDescription": "Kaynağınıza nasıl erişmek istediğinizi belirleyin",
|
"resourceTypeDescription": "Kaynağınıza nasıl erişmek istediğinizi belirleyin",
|
||||||
"resourceHTTPSSettings": "HTTPS Ayarları",
|
"resourceHTTPSSettings": "HTTPS Ayarları",
|
||||||
@@ -197,11 +199,13 @@
|
|||||||
"general": "Genel",
|
"general": "Genel",
|
||||||
"generalSettings": "Genel Ayarlar",
|
"generalSettings": "Genel Ayarlar",
|
||||||
"proxy": "Vekil Sunucu",
|
"proxy": "Vekil Sunucu",
|
||||||
|
"internal": "Dahili",
|
||||||
"rules": "Kurallar",
|
"rules": "Kurallar",
|
||||||
"resourceSettingDescription": "Kaynağınızdaki ayarları yapılandırın",
|
"resourceSettingDescription": "Kaynağınızdaki ayarları yapılandırın",
|
||||||
"resourceSetting": "{resourceName} Ayarları",
|
"resourceSetting": "{resourceName} Ayarları",
|
||||||
"alwaysAllow": "Her Zaman İzin Ver",
|
"alwaysAllow": "Her Zaman İzin Ver",
|
||||||
"alwaysDeny": "Her Zaman Reddet",
|
"alwaysDeny": "Her Zaman Reddet",
|
||||||
|
"passToAuth": "Kimlik Doğrulamasına Geç",
|
||||||
"orgSettingsDescription": "Organizasyonunuzun genel ayarlarını yapılandırın",
|
"orgSettingsDescription": "Organizasyonunuzun genel ayarlarını yapılandırın",
|
||||||
"orgGeneralSettings": "Organizasyon Ayarları",
|
"orgGeneralSettings": "Organizasyon Ayarları",
|
||||||
"orgGeneralSettingsDescription": "Organizasyon detaylarınızı ve yapılandırmanızı yönetin",
|
"orgGeneralSettingsDescription": "Organizasyon detaylarınızı ve yapılandırmanızı yönetin",
|
||||||
@@ -490,7 +494,7 @@
|
|||||||
"targetTlsSniDescription": "SNI için kullanılacak TLS Sunucu Adı'",
|
"targetTlsSniDescription": "SNI için kullanılacak TLS Sunucu Adı'",
|
||||||
"targetTlsSubmit": "Ayarları Kaydet",
|
"targetTlsSubmit": "Ayarları Kaydet",
|
||||||
"targets": "Hedefler Konfigürasyonu",
|
"targets": "Hedefler Konfigürasyonu",
|
||||||
"targetsDescription": "Trafiği hizmetlerinize yönlendirmek için hedefleri ayarlayın",
|
"targetsDescription": "Trafiği arka uç hizmetlerinize yönlendirmek için hedefleri ayarlayın",
|
||||||
"targetStickySessions": "Yapışkan Oturumları Etkinleştir",
|
"targetStickySessions": "Yapışkan Oturumları Etkinleştir",
|
||||||
"targetStickySessionsDescription": "Bağlantıları oturum süresince aynı arka uç hedef üzerinde tutun.",
|
"targetStickySessionsDescription": "Bağlantıları oturum süresince aynı arka uç hedef üzerinde tutun.",
|
||||||
"methodSelect": "Yöntemi Seç",
|
"methodSelect": "Yöntemi Seç",
|
||||||
@@ -542,6 +546,7 @@
|
|||||||
"rulesActions": "Aksiyonlar",
|
"rulesActions": "Aksiyonlar",
|
||||||
"rulesActionAlwaysAllow": "Her Zaman İzin Ver: Tüm kimlik doğrulama yöntemlerini atlayın",
|
"rulesActionAlwaysAllow": "Her Zaman İzin Ver: Tüm kimlik doğrulama yöntemlerini atlayın",
|
||||||
"rulesActionAlwaysDeny": "Her Zaman Reddedin: Tüm istekleri engelleyin; kimlik doğrulaması yapılamaz",
|
"rulesActionAlwaysDeny": "Her Zaman Reddedin: Tüm istekleri engelleyin; kimlik doğrulaması yapılamaz",
|
||||||
|
"rulesActionPassToAuth": "Kimlik Doğrulamasına Geç: Kimlik doğrulama yöntemlerinin denenmesine izin ver",
|
||||||
"rulesMatchCriteria": "Eşleşme Kriterleri",
|
"rulesMatchCriteria": "Eşleşme Kriterleri",
|
||||||
"rulesMatchCriteriaIpAddress": "Belirli bir IP adresi ile eşleşme",
|
"rulesMatchCriteriaIpAddress": "Belirli bir IP adresi ile eşleşme",
|
||||||
"rulesMatchCriteriaIpAddressRange": "CIDR gösteriminde bir IP adresi aralığı ile eşleşme",
|
"rulesMatchCriteriaIpAddressRange": "CIDR gösteriminde bir IP adresi aralığı ile eşleşme",
|
||||||
@@ -833,6 +838,24 @@
|
|||||||
"pincodeRequirementsLength": "PIN kesinlikle 6 haneli olmalıdır",
|
"pincodeRequirementsLength": "PIN kesinlikle 6 haneli olmalıdır",
|
||||||
"pincodeRequirementsChars": "PIN sadece numaralardan oluşmalıdır",
|
"pincodeRequirementsChars": "PIN sadece numaralardan oluşmalıdır",
|
||||||
"passwordRequirementsLength": "Şifre en az 1 karakter uzunluğunda olmalıdır",
|
"passwordRequirementsLength": "Şifre en az 1 karakter uzunluğunda olmalıdır",
|
||||||
|
"passwordRequirementsTitle": "Şifre gereksinimleri:",
|
||||||
|
"passwordRequirementLength": "En az 8 karakter uzunluğunda",
|
||||||
|
"passwordRequirementUppercase": "En az bir büyük harf",
|
||||||
|
"passwordRequirementLowercase": "En az bir küçük harf",
|
||||||
|
"passwordRequirementNumber": "En az bir sayı",
|
||||||
|
"passwordRequirementSpecial": "En az bir özel karakter",
|
||||||
|
"passwordRequirementsMet": "✓ Şifre tüm gereksinimleri karşılıyor",
|
||||||
|
"passwordStrength": "Şifre gücü",
|
||||||
|
"passwordStrengthWeak": "Zayıf",
|
||||||
|
"passwordStrengthMedium": "Orta",
|
||||||
|
"passwordStrengthStrong": "Güçlü",
|
||||||
|
"passwordRequirements": "Gereksinimler:",
|
||||||
|
"passwordRequirementLengthText": "8+ karakter",
|
||||||
|
"passwordRequirementUppercaseText": "Büyük harf (A-Z)",
|
||||||
|
"passwordRequirementLowercaseText": "Küçük harf (a-z)",
|
||||||
|
"passwordRequirementNumberText": "Sayı (0-9)",
|
||||||
|
"passwordRequirementSpecialText": "Özel karakter (!@#$%...)",
|
||||||
|
"passwordsDoNotMatch": "Parolalar eşleşmiyor",
|
||||||
"otpEmailRequirementsLength": "OTP en az 1 karakter uzunluğunda olmalıdır",
|
"otpEmailRequirementsLength": "OTP en az 1 karakter uzunluğunda olmalıdır",
|
||||||
"otpEmailSent": "OTP Gönderildi",
|
"otpEmailSent": "OTP Gönderildi",
|
||||||
"otpEmailSentDescription": "E-posta adresinize bir OTP gönderildi",
|
"otpEmailSentDescription": "E-posta adresinize bir OTP gönderildi",
|
||||||
@@ -952,6 +975,7 @@
|
|||||||
"logoutError": "Çıkış yaparken hata",
|
"logoutError": "Çıkış yaparken hata",
|
||||||
"signingAs": "Olarak giriş yapıldı",
|
"signingAs": "Olarak giriş yapıldı",
|
||||||
"serverAdmin": "Sunucu Yöneticisi",
|
"serverAdmin": "Sunucu Yöneticisi",
|
||||||
|
"managedSelfhosted": "Yönetilen Self-Hosted",
|
||||||
"otpEnable": "İki faktörlü özelliğini etkinleştir",
|
"otpEnable": "İki faktörlü özelliğini etkinleştir",
|
||||||
"otpDisable": "İki faktörlü özelliğini devre dışı bırak",
|
"otpDisable": "İki faktörlü özelliğini devre dışı bırak",
|
||||||
"logout": "Çıkış Yap",
|
"logout": "Çıkış Yap",
|
||||||
@@ -967,6 +991,9 @@
|
|||||||
"actionDeleteSite": "Siteyi Sil",
|
"actionDeleteSite": "Siteyi Sil",
|
||||||
"actionGetSite": "Siteyi Al",
|
"actionGetSite": "Siteyi Al",
|
||||||
"actionListSites": "Siteleri Listele",
|
"actionListSites": "Siteleri Listele",
|
||||||
|
"setupToken": "Kurulum Simgesi",
|
||||||
|
"setupTokenDescription": "Sunucu konsolundan kurulum simgesini girin.",
|
||||||
|
"setupTokenRequired": "Kurulum simgesi gerekli",
|
||||||
"actionUpdateSite": "Siteyi Güncelle",
|
"actionUpdateSite": "Siteyi Güncelle",
|
||||||
"actionListSiteRoles": "İzin Verilen Site Rolleri Listele",
|
"actionListSiteRoles": "İzin Verilen Site Rolleri Listele",
|
||||||
"actionCreateResource": "Kaynak Oluştur",
|
"actionCreateResource": "Kaynak Oluştur",
|
||||||
@@ -1022,6 +1049,16 @@
|
|||||||
"actionDeleteIdpOrg": "Kimlik Sağlayıcı Organizasyon Politikasını Sil",
|
"actionDeleteIdpOrg": "Kimlik Sağlayıcı Organizasyon Politikasını Sil",
|
||||||
"actionListIdpOrgs": "Kimlik Sağlayıcı Organizasyonları Listele",
|
"actionListIdpOrgs": "Kimlik Sağlayıcı Organizasyonları Listele",
|
||||||
"actionUpdateIdpOrg": "Kimlik Sağlayıcı Organizasyonu Güncelle",
|
"actionUpdateIdpOrg": "Kimlik Sağlayıcı Organizasyonu Güncelle",
|
||||||
|
"actionCreateClient": "Müşteri Oluştur",
|
||||||
|
"actionDeleteClient": "Müşteri Sil",
|
||||||
|
"actionUpdateClient": "Müşteri Güncelle",
|
||||||
|
"actionListClients": "Müşterileri Listele",
|
||||||
|
"actionGetClient": "Müşteriyi Al",
|
||||||
|
"actionCreateSiteResource": "Site Kaynağı Oluştur",
|
||||||
|
"actionDeleteSiteResource": "Site Kaynağını Sil",
|
||||||
|
"actionGetSiteResource": "Site Kaynağını Al",
|
||||||
|
"actionListSiteResources": "Site Kaynaklarını Listele",
|
||||||
|
"actionUpdateSiteResource": "Site Kaynağını Güncelle",
|
||||||
"noneSelected": "Hiçbiri seçili değil",
|
"noneSelected": "Hiçbiri seçili değil",
|
||||||
"orgNotFound2": "Hiçbir organizasyon bulunamadı.",
|
"orgNotFound2": "Hiçbir organizasyon bulunamadı.",
|
||||||
"searchProgress": "Ara...",
|
"searchProgress": "Ara...",
|
||||||
@@ -1315,8 +1352,110 @@
|
|||||||
"olmErrorFetchLatest": "En son Olm yayını alınırken bir hata oluştu.",
|
"olmErrorFetchLatest": "En son Olm yayını alınırken bir hata oluştu.",
|
||||||
"remoteSubnets": "Uzak Alt Ağlar",
|
"remoteSubnets": "Uzak Alt Ağlar",
|
||||||
"enterCidrRange": "CIDR aralığını girin",
|
"enterCidrRange": "CIDR aralığını girin",
|
||||||
"remoteSubnetsDescription": "Bu siteye uzaktan erişebilecek CIDR aralıklarını ekleyin. 10.0.0.0/24 veya 192.168.1.0/24 gibi formatlar kullanın.",
|
"remoteSubnetsDescription": "Bu siteye uzaktan erişilebilen CIDR aralıklarını ekleyin. 10.0.0.0/24 formatını kullanın. Bu YALNIZCA VPN istemci bağlantıları için geçerlidir.",
|
||||||
"resourceEnableProxy": "Genel Proxy'i Etkinleştir",
|
"resourceEnableProxy": "Genel Proxy'i Etkinleştir",
|
||||||
"resourceEnableProxyDescription": "Bu kaynağa genel proxy erişimini etkinleştirin. Bu sayede ağ dışından açık bir port üzerinden kaynağa bulut aracılığıyla erişim sağlanır. Traefik yapılandırması gereklidir.",
|
"resourceEnableProxyDescription": "Bu kaynağa genel proxy erişimini etkinleştirin. Bu sayede ağ dışından açık bir port üzerinden kaynağa bulut aracılığıyla erişim sağlanır. Traefik yapılandırması gereklidir.",
|
||||||
"externalProxyEnabled": "Dış Proxy Etkinleştirildi"
|
"externalProxyEnabled": "Dış Proxy Etkinleştirildi",
|
||||||
|
"addNewTarget": "Yeni Hedef Ekle",
|
||||||
|
"targetsList": "Hedefler Listesi",
|
||||||
|
"targetErrorDuplicateTargetFound": "Yinelenen hedef bulundu",
|
||||||
|
"httpMethod": "HTTP Yöntemi",
|
||||||
|
"selectHttpMethod": "HTTP yöntemini seçin",
|
||||||
|
"domainPickerSubdomainLabel": "Alt Alan Adı",
|
||||||
|
"domainPickerBaseDomainLabel": "Temel Alan Adı",
|
||||||
|
"domainPickerSearchDomains": "Alan adlarını ara...",
|
||||||
|
"domainPickerNoDomainsFound": "Hiçbir alan adı bulunamadı",
|
||||||
|
"domainPickerLoadingDomains": "Alan adları yükleniyor...",
|
||||||
|
"domainPickerSelectBaseDomain": "Temel alan adını seçin...",
|
||||||
|
"domainPickerNotAvailableForCname": "CNAME alan adları için kullanılabilir değil",
|
||||||
|
"domainPickerEnterSubdomainOrLeaveBlank": "Alt alan adını girin veya temel alan adını kullanmak için boş bırakın.",
|
||||||
|
"domainPickerEnterSubdomainToSearch": "Mevcut ücretsiz alan adları arasından aramak ve seçmek için bir alt alan adı girin.",
|
||||||
|
"domainPickerFreeDomains": "Ücretsiz Alan Adları",
|
||||||
|
"domainPickerSearchForAvailableDomains": "Mevcut alan adlarını ara",
|
||||||
|
"resourceDomain": "Alan Adı",
|
||||||
|
"resourceEditDomain": "Alan Adını Düzenle",
|
||||||
|
"siteName": "Site Adı",
|
||||||
|
"proxyPort": "Bağlantı Noktası",
|
||||||
|
"resourcesTableProxyResources": "Proxy Kaynaklar",
|
||||||
|
"resourcesTableClientResources": "İstemci Kaynaklar",
|
||||||
|
"resourcesTableNoProxyResourcesFound": "Hiçbir proxy kaynağı bulunamadı.",
|
||||||
|
"resourcesTableNoInternalResourcesFound": "Hiçbir dahili kaynak bulunamadı.",
|
||||||
|
"resourcesTableDestination": "Hedef",
|
||||||
|
"resourcesTableTheseResourcesForUseWith": "Bu kaynaklar ile kullanılmak için",
|
||||||
|
"resourcesTableClients": "İstemciler",
|
||||||
|
"resourcesTableAndOnlyAccessibleInternally": "veyalnızca bir istemci ile bağlandığında dahili olarak erişilebilir.",
|
||||||
|
"editInternalResourceDialogEditClientResource": "İstemci Kaynağı Düzenleyin",
|
||||||
|
"editInternalResourceDialogUpdateResourceProperties": "{resourceName} için kaynak özelliklerini ve hedef yapılandırmasını güncelleyin.",
|
||||||
|
"editInternalResourceDialogResourceProperties": "Kaynak Özellikleri",
|
||||||
|
"editInternalResourceDialogName": "Ad",
|
||||||
|
"editInternalResourceDialogProtocol": "Protokol",
|
||||||
|
"editInternalResourceDialogSitePort": "Site Bağlantı Noktası",
|
||||||
|
"editInternalResourceDialogTargetConfiguration": "Hedef Yapılandırma",
|
||||||
|
"editInternalResourceDialogDestinationIP": "Hedef IP",
|
||||||
|
"editInternalResourceDialogDestinationPort": "Hedef Bağlantı Noktası",
|
||||||
|
"editInternalResourceDialogCancel": "İptal",
|
||||||
|
"editInternalResourceDialogSaveResource": "Kaynağı Kaydet",
|
||||||
|
"editInternalResourceDialogSuccess": "Başarı",
|
||||||
|
"editInternalResourceDialogInternalResourceUpdatedSuccessfully": "Dahili kaynak başarıyla güncellendi",
|
||||||
|
"editInternalResourceDialogError": "Hata",
|
||||||
|
"editInternalResourceDialogFailedToUpdateInternalResource": "Dahili kaynak güncellenemedi",
|
||||||
|
"editInternalResourceDialogNameRequired": "Ad gerekli",
|
||||||
|
"editInternalResourceDialogNameMaxLength": "Ad 255 karakterden kısa olmalıdır",
|
||||||
|
"editInternalResourceDialogProxyPortMin": "Proxy bağlantı noktası en az 1 olmalıdır",
|
||||||
|
"editInternalResourceDialogProxyPortMax": "Proxy bağlantı noktası 65536'dan küçük olmalıdır",
|
||||||
|
"editInternalResourceDialogInvalidIPAddressFormat": "Geçersiz IP adresi formatı",
|
||||||
|
"editInternalResourceDialogDestinationPortMin": "Hedef bağlantı noktası en az 1 olmalıdır",
|
||||||
|
"editInternalResourceDialogDestinationPortMax": "Hedef bağlantı noktası 65536'dan küçük olmalıdır",
|
||||||
|
"createInternalResourceDialogNoSitesAvailable": "Site Bulunamadı",
|
||||||
|
"createInternalResourceDialogNoSitesAvailableDescription": "Dahili kaynak oluşturmak için en az bir Newt sitesine ve alt ağa sahip olmalısınız.",
|
||||||
|
"createInternalResourceDialogClose": "Kapat",
|
||||||
|
"createInternalResourceDialogCreateClientResource": "İstemci Kaynağı Oluştur",
|
||||||
|
"createInternalResourceDialogCreateClientResourceDescription": "Seçilen siteye bağlı istemciler için erişilebilir olacak yeni bir kaynak oluşturun.",
|
||||||
|
"createInternalResourceDialogResourceProperties": "Kaynak Özellikleri",
|
||||||
|
"createInternalResourceDialogName": "Ad",
|
||||||
|
"createInternalResourceDialogSite": "Site",
|
||||||
|
"createInternalResourceDialogSelectSite": "Site seç...",
|
||||||
|
"createInternalResourceDialogSearchSites": "Siteleri ara...",
|
||||||
|
"createInternalResourceDialogNoSitesFound": "Site bulunamadı.",
|
||||||
|
"createInternalResourceDialogProtocol": "Protokol",
|
||||||
|
"createInternalResourceDialogTcp": "TCP",
|
||||||
|
"createInternalResourceDialogUdp": "UDP",
|
||||||
|
"createInternalResourceDialogSitePort": "Site Bağlantı Noktası",
|
||||||
|
"createInternalResourceDialogSitePortDescription": "İstemci ile bağlanıldığında site üzerindeki kaynağa erişmek için bu bağlantı noktasını kullanın.",
|
||||||
|
"createInternalResourceDialogTargetConfiguration": "Hedef Yapılandırma",
|
||||||
|
"createInternalResourceDialogDestinationIP": "Hedef IP",
|
||||||
|
"createInternalResourceDialogDestinationIPDescription": "Site ağındaki kaynağın IP adresi.",
|
||||||
|
"createInternalResourceDialogDestinationPort": "Hedef Bağlantı Noktası",
|
||||||
|
"createInternalResourceDialogDestinationPortDescription": "Kaynağa erişilebilecek hedef IP üzerindeki bağlantı noktası.",
|
||||||
|
"createInternalResourceDialogCancel": "İptal",
|
||||||
|
"createInternalResourceDialogCreateResource": "Kaynak Oluştur",
|
||||||
|
"createInternalResourceDialogSuccess": "Başarı",
|
||||||
|
"createInternalResourceDialogInternalResourceCreatedSuccessfully": "Dahili kaynak başarıyla oluşturuldu",
|
||||||
|
"createInternalResourceDialogError": "Hata",
|
||||||
|
"createInternalResourceDialogFailedToCreateInternalResource": "Dahili kaynak oluşturulamadı",
|
||||||
|
"createInternalResourceDialogNameRequired": "Ad gerekli",
|
||||||
|
"createInternalResourceDialogNameMaxLength": "Ad 255 karakterden kısa olmalıdır",
|
||||||
|
"createInternalResourceDialogPleaseSelectSite": "Lütfen bir site seçin",
|
||||||
|
"createInternalResourceDialogProxyPortMin": "Proxy bağlantı noktası en az 1 olmalıdır",
|
||||||
|
"createInternalResourceDialogProxyPortMax": "Proxy bağlantı noktası 65536'dan küçük olmalıdır",
|
||||||
|
"createInternalResourceDialogInvalidIPAddressFormat": "Geçersiz IP adresi formatı",
|
||||||
|
"createInternalResourceDialogDestinationPortMin": "Hedef bağlantı noktası en az 1 olmalıdır",
|
||||||
|
"createInternalResourceDialogDestinationPortMax": "Hedef bağlantı noktası 65536'dan küçük olmalıdır",
|
||||||
|
"siteConfiguration": "Yapılandırma",
|
||||||
|
"siteAcceptClientConnections": "İstemci Bağlantılarını Kabul Et",
|
||||||
|
"siteAcceptClientConnectionsDescription": "Bu Newt örneğini bir geçit olarak kullanarak diğer cihazların bağlanmasına izin verin.",
|
||||||
|
"siteAddress": "Site Adresi",
|
||||||
|
"siteAddressDescription": "İstemcilerin bağlanması için hostun IP adresini belirtin. Bu, Pangolin ağındaki sitenin iç adresidir ve istemciler için atlas olmalıdır. Org alt ağına düşmelidir.",
|
||||||
|
"autoLoginExternalIdp": "Harici IDP ile Otomatik Giriş",
|
||||||
|
"autoLoginExternalIdpDescription": "Kullanıcıyı kimlik doğrulama için otomatik olarak harici IDP'ye yönlendirin.",
|
||||||
|
"selectIdp": "IDP Seç",
|
||||||
|
"selectIdpPlaceholder": "IDP seçin...",
|
||||||
|
"selectIdpRequired": "Otomatik giriş etkinleştirildiğinde lütfen bir IDP seçin.",
|
||||||
|
"autoLoginTitle": "Yönlendiriliyor",
|
||||||
|
"autoLoginDescription": "Kimlik doğrulama için harici kimlik sağlayıcıya yönlendiriliyorsunuz.",
|
||||||
|
"autoLoginProcessing": "Kimlik doğrulama hazırlanıyor...",
|
||||||
|
"autoLoginRedirecting": "Girişe yönlendiriliyorsunuz...",
|
||||||
|
"autoLoginError": "Otomatik Giriş Hatası",
|
||||||
|
"autoLoginErrorNoRedirectUrl": "Kimlik sağlayıcıdan yönlendirme URL'si alınamadı.",
|
||||||
|
"autoLoginErrorGeneratingUrl": "Kimlik doğrulama URL'si oluşturulamadı."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -94,7 +94,9 @@
|
|||||||
"siteNewtTunnelDescription": "最简单的方式来连接到您的网络。不需要任何额外设置。",
|
"siteNewtTunnelDescription": "最简单的方式来连接到您的网络。不需要任何额外设置。",
|
||||||
"siteWg": "基本 WireGuard",
|
"siteWg": "基本 WireGuard",
|
||||||
"siteWgDescription": "使用任何 WireGuard 客户端来建立隧道。需要手动配置 NAT。",
|
"siteWgDescription": "使用任何 WireGuard 客户端来建立隧道。需要手动配置 NAT。",
|
||||||
|
"siteWgDescriptionSaas": "使用任何WireGuard客户端建立隧道。需要手动配置NAT。仅适用于自托管节点。",
|
||||||
"siteLocalDescription": "仅限本地资源。不需要隧道。",
|
"siteLocalDescription": "仅限本地资源。不需要隧道。",
|
||||||
|
"siteLocalDescriptionSaas": "仅本地资源。无需隧道。仅适用于自托管节点。",
|
||||||
"siteSeeAll": "查看所有站点",
|
"siteSeeAll": "查看所有站点",
|
||||||
"siteTunnelDescription": "确定如何连接到您的网站",
|
"siteTunnelDescription": "确定如何连接到您的网站",
|
||||||
"siteNewtCredentials": "Newt 凭据",
|
"siteNewtCredentials": "Newt 凭据",
|
||||||
@@ -166,7 +168,7 @@
|
|||||||
"siteSelect": "选择站点",
|
"siteSelect": "选择站点",
|
||||||
"siteSearch": "搜索站点",
|
"siteSearch": "搜索站点",
|
||||||
"siteNotFound": "未找到站点。",
|
"siteNotFound": "未找到站点。",
|
||||||
"siteSelectionDescription": "此站点将为资源提供连接。",
|
"siteSelectionDescription": "此站点将为目标提供连接。",
|
||||||
"resourceType": "资源类型",
|
"resourceType": "资源类型",
|
||||||
"resourceTypeDescription": "确定如何访问您的资源",
|
"resourceTypeDescription": "确定如何访问您的资源",
|
||||||
"resourceHTTPSSettings": "HTTPS 设置",
|
"resourceHTTPSSettings": "HTTPS 设置",
|
||||||
@@ -197,11 +199,13 @@
|
|||||||
"general": "概览",
|
"general": "概览",
|
||||||
"generalSettings": "常规设置",
|
"generalSettings": "常规设置",
|
||||||
"proxy": "代理服务器",
|
"proxy": "代理服务器",
|
||||||
|
"internal": "内部设置",
|
||||||
"rules": "规则",
|
"rules": "规则",
|
||||||
"resourceSettingDescription": "配置您资源上的设置",
|
"resourceSettingDescription": "配置您资源上的设置",
|
||||||
"resourceSetting": "{resourceName} 设置",
|
"resourceSetting": "{resourceName} 设置",
|
||||||
"alwaysAllow": "一律允许",
|
"alwaysAllow": "一律允许",
|
||||||
"alwaysDeny": "一律拒绝",
|
"alwaysDeny": "一律拒绝",
|
||||||
|
"passToAuth": "传递至认证",
|
||||||
"orgSettingsDescription": "配置您组织的一般设置",
|
"orgSettingsDescription": "配置您组织的一般设置",
|
||||||
"orgGeneralSettings": "组织设置",
|
"orgGeneralSettings": "组织设置",
|
||||||
"orgGeneralSettingsDescription": "管理您的机构详细信息和配置",
|
"orgGeneralSettingsDescription": "管理您的机构详细信息和配置",
|
||||||
@@ -490,7 +494,7 @@
|
|||||||
"targetTlsSniDescription": "SNI使用的 TLS 服务器名称。留空使用默认值。",
|
"targetTlsSniDescription": "SNI使用的 TLS 服务器名称。留空使用默认值。",
|
||||||
"targetTlsSubmit": "保存设置",
|
"targetTlsSubmit": "保存设置",
|
||||||
"targets": "目标配置",
|
"targets": "目标配置",
|
||||||
"targetsDescription": "设置目标来路由流量到您的服务",
|
"targetsDescription": "设置目标来路由流量到您的后端服务",
|
||||||
"targetStickySessions": "启用置顶会话",
|
"targetStickySessions": "启用置顶会话",
|
||||||
"targetStickySessionsDescription": "将连接保持在同一个后端目标的整个会话中。",
|
"targetStickySessionsDescription": "将连接保持在同一个后端目标的整个会话中。",
|
||||||
"methodSelect": "选择方法",
|
"methodSelect": "选择方法",
|
||||||
@@ -542,6 +546,7 @@
|
|||||||
"rulesActions": "行动",
|
"rulesActions": "行动",
|
||||||
"rulesActionAlwaysAllow": "总是允许:绕过所有身份验证方法",
|
"rulesActionAlwaysAllow": "总是允许:绕过所有身份验证方法",
|
||||||
"rulesActionAlwaysDeny": "总是拒绝:阻止所有请求;无法尝试验证",
|
"rulesActionAlwaysDeny": "总是拒绝:阻止所有请求;无法尝试验证",
|
||||||
|
"rulesActionPassToAuth": "传递至认证:允许尝试身份验证方法",
|
||||||
"rulesMatchCriteria": "匹配条件",
|
"rulesMatchCriteria": "匹配条件",
|
||||||
"rulesMatchCriteriaIpAddress": "匹配一个指定的 IP 地址",
|
"rulesMatchCriteriaIpAddress": "匹配一个指定的 IP 地址",
|
||||||
"rulesMatchCriteriaIpAddressRange": "在 CIDR 符号中匹配一系列IP地址",
|
"rulesMatchCriteriaIpAddressRange": "在 CIDR 符号中匹配一系列IP地址",
|
||||||
@@ -833,6 +838,24 @@
|
|||||||
"pincodeRequirementsLength": "PIN码必须是6位数字",
|
"pincodeRequirementsLength": "PIN码必须是6位数字",
|
||||||
"pincodeRequirementsChars": "PIN 必须只包含数字",
|
"pincodeRequirementsChars": "PIN 必须只包含数字",
|
||||||
"passwordRequirementsLength": "密码必须至少 1 个字符长",
|
"passwordRequirementsLength": "密码必须至少 1 个字符长",
|
||||||
|
"passwordRequirementsTitle": "密码要求:",
|
||||||
|
"passwordRequirementLength": "至少8个字符长",
|
||||||
|
"passwordRequirementUppercase": "至少一个大写字母",
|
||||||
|
"passwordRequirementLowercase": "至少一个小写字母",
|
||||||
|
"passwordRequirementNumber": "至少一个数字",
|
||||||
|
"passwordRequirementSpecial": "至少一个特殊字符",
|
||||||
|
"passwordRequirementsMet": "✓ 密码满足所有要求",
|
||||||
|
"passwordStrength": "密码强度",
|
||||||
|
"passwordStrengthWeak": "弱",
|
||||||
|
"passwordStrengthMedium": "中",
|
||||||
|
"passwordStrengthStrong": "强",
|
||||||
|
"passwordRequirements": "要求:",
|
||||||
|
"passwordRequirementLengthText": "8+ 个字符",
|
||||||
|
"passwordRequirementUppercaseText": "大写字母 (A-Z)",
|
||||||
|
"passwordRequirementLowercaseText": "小写字母 (a-z)",
|
||||||
|
"passwordRequirementNumberText": "数字 (0-9)",
|
||||||
|
"passwordRequirementSpecialText": "特殊字符 (!@#$%...)",
|
||||||
|
"passwordsDoNotMatch": "密码不匹配",
|
||||||
"otpEmailRequirementsLength": "OTP 必须至少 1 个字符长",
|
"otpEmailRequirementsLength": "OTP 必须至少 1 个字符长",
|
||||||
"otpEmailSent": "OTP 已发送",
|
"otpEmailSent": "OTP 已发送",
|
||||||
"otpEmailSentDescription": "OTP 已经发送到您的电子邮件",
|
"otpEmailSentDescription": "OTP 已经发送到您的电子邮件",
|
||||||
@@ -952,6 +975,7 @@
|
|||||||
"logoutError": "注销错误",
|
"logoutError": "注销错误",
|
||||||
"signingAs": "登录为",
|
"signingAs": "登录为",
|
||||||
"serverAdmin": "服务器管理员",
|
"serverAdmin": "服务器管理员",
|
||||||
|
"managedSelfhosted": "托管自托管",
|
||||||
"otpEnable": "启用双因子认证",
|
"otpEnable": "启用双因子认证",
|
||||||
"otpDisable": "禁用双因子认证",
|
"otpDisable": "禁用双因子认证",
|
||||||
"logout": "登出",
|
"logout": "登出",
|
||||||
@@ -967,6 +991,9 @@
|
|||||||
"actionDeleteSite": "删除站点",
|
"actionDeleteSite": "删除站点",
|
||||||
"actionGetSite": "获取站点",
|
"actionGetSite": "获取站点",
|
||||||
"actionListSites": "站点列表",
|
"actionListSites": "站点列表",
|
||||||
|
"setupToken": "设置令牌",
|
||||||
|
"setupTokenDescription": "从服务器控制台输入设置令牌。",
|
||||||
|
"setupTokenRequired": "需要设置令牌",
|
||||||
"actionUpdateSite": "更新站点",
|
"actionUpdateSite": "更新站点",
|
||||||
"actionListSiteRoles": "允许站点角色列表",
|
"actionListSiteRoles": "允许站点角色列表",
|
||||||
"actionCreateResource": "创建资源",
|
"actionCreateResource": "创建资源",
|
||||||
@@ -1022,6 +1049,16 @@
|
|||||||
"actionDeleteIdpOrg": "删除 IDP组织策略",
|
"actionDeleteIdpOrg": "删除 IDP组织策略",
|
||||||
"actionListIdpOrgs": "列出 IDP组织",
|
"actionListIdpOrgs": "列出 IDP组织",
|
||||||
"actionUpdateIdpOrg": "更新 IDP组织",
|
"actionUpdateIdpOrg": "更新 IDP组织",
|
||||||
|
"actionCreateClient": "创建客户端",
|
||||||
|
"actionDeleteClient": "删除客户端",
|
||||||
|
"actionUpdateClient": "更新客户端",
|
||||||
|
"actionListClients": "列出客户端",
|
||||||
|
"actionGetClient": "获取客户端",
|
||||||
|
"actionCreateSiteResource": "创建站点资源",
|
||||||
|
"actionDeleteSiteResource": "删除站点资源",
|
||||||
|
"actionGetSiteResource": "获取站点资源",
|
||||||
|
"actionListSiteResources": "列出站点资源",
|
||||||
|
"actionUpdateSiteResource": "更新站点资源",
|
||||||
"noneSelected": "未选择",
|
"noneSelected": "未选择",
|
||||||
"orgNotFound2": "未找到组织。",
|
"orgNotFound2": "未找到组织。",
|
||||||
"searchProgress": "搜索中...",
|
"searchProgress": "搜索中...",
|
||||||
@@ -1315,8 +1352,110 @@
|
|||||||
"olmErrorFetchLatest": "获取最新 Olm 发布版本时出错。",
|
"olmErrorFetchLatest": "获取最新 Olm 发布版本时出错。",
|
||||||
"remoteSubnets": "远程子网",
|
"remoteSubnets": "远程子网",
|
||||||
"enterCidrRange": "输入 CIDR 范围",
|
"enterCidrRange": "输入 CIDR 范围",
|
||||||
"remoteSubnetsDescription": "添加能远程访问此站点的 CIDR 范围。使用格式如 10.0.0.0/24 或 192.168.1.0/24。",
|
"remoteSubnetsDescription": "添加可以通过客户端远程访问该站点的CIDR范围。使用类似10.0.0.0/24的格式。这仅适用于VPN客户端连接。",
|
||||||
"resourceEnableProxy": "启用公共代理",
|
"resourceEnableProxy": "启用公共代理",
|
||||||
"resourceEnableProxyDescription": "启用到此资源的公共代理。这允许外部网络通过开放端口访问资源。需要 Traefik 配置。",
|
"resourceEnableProxyDescription": "启用到此资源的公共代理。这允许外部网络通过开放端口访问资源。需要 Traefik 配置。",
|
||||||
"externalProxyEnabled": "外部代理已启用"
|
"externalProxyEnabled": "外部代理已启用",
|
||||||
|
"addNewTarget": "添加新目标",
|
||||||
|
"targetsList": "目标列表",
|
||||||
|
"targetErrorDuplicateTargetFound": "找到重复的目标",
|
||||||
|
"httpMethod": "HTTP 方法",
|
||||||
|
"selectHttpMethod": "选择 HTTP 方法",
|
||||||
|
"domainPickerSubdomainLabel": "子域名",
|
||||||
|
"domainPickerBaseDomainLabel": "根域名",
|
||||||
|
"domainPickerSearchDomains": "搜索域名...",
|
||||||
|
"domainPickerNoDomainsFound": "未找到域名",
|
||||||
|
"domainPickerLoadingDomains": "加载域名...",
|
||||||
|
"domainPickerSelectBaseDomain": "选择根域名...",
|
||||||
|
"domainPickerNotAvailableForCname": "不适用于CNAME域",
|
||||||
|
"domainPickerEnterSubdomainOrLeaveBlank": "输入子域名或留空以使用根域名。",
|
||||||
|
"domainPickerEnterSubdomainToSearch": "输入一个子域名以搜索并从可用免费域名中选择。",
|
||||||
|
"domainPickerFreeDomains": "免费域名",
|
||||||
|
"domainPickerSearchForAvailableDomains": "搜索可用域名",
|
||||||
|
"resourceDomain": "域名",
|
||||||
|
"resourceEditDomain": "编辑域名",
|
||||||
|
"siteName": "站点名称",
|
||||||
|
"proxyPort": "端口",
|
||||||
|
"resourcesTableProxyResources": "代理资源",
|
||||||
|
"resourcesTableClientResources": "客户端资源",
|
||||||
|
"resourcesTableNoProxyResourcesFound": "未找到代理资源。",
|
||||||
|
"resourcesTableNoInternalResourcesFound": "未找到内部资源。",
|
||||||
|
"resourcesTableDestination": "目标",
|
||||||
|
"resourcesTableTheseResourcesForUseWith": "这些资源供...使用",
|
||||||
|
"resourcesTableClients": "客户端",
|
||||||
|
"resourcesTableAndOnlyAccessibleInternally": "且仅在与客户端连接时可内部访问。",
|
||||||
|
"editInternalResourceDialogEditClientResource": "编辑客户端资源",
|
||||||
|
"editInternalResourceDialogUpdateResourceProperties": "更新{resourceName}的资源属性和目标配置。",
|
||||||
|
"editInternalResourceDialogResourceProperties": "资源属性",
|
||||||
|
"editInternalResourceDialogName": "名称",
|
||||||
|
"editInternalResourceDialogProtocol": "协议",
|
||||||
|
"editInternalResourceDialogSitePort": "站点端口",
|
||||||
|
"editInternalResourceDialogTargetConfiguration": "目标配置",
|
||||||
|
"editInternalResourceDialogDestinationIP": "目标IP",
|
||||||
|
"editInternalResourceDialogDestinationPort": "目标端口",
|
||||||
|
"editInternalResourceDialogCancel": "取消",
|
||||||
|
"editInternalResourceDialogSaveResource": "保存资源",
|
||||||
|
"editInternalResourceDialogSuccess": "成功",
|
||||||
|
"editInternalResourceDialogInternalResourceUpdatedSuccessfully": "内部资源更新成功",
|
||||||
|
"editInternalResourceDialogError": "错误",
|
||||||
|
"editInternalResourceDialogFailedToUpdateInternalResource": "更新内部资源失败",
|
||||||
|
"editInternalResourceDialogNameRequired": "名称为必填项",
|
||||||
|
"editInternalResourceDialogNameMaxLength": "名称长度必须小于255个字符",
|
||||||
|
"editInternalResourceDialogProxyPortMin": "代理端口必须至少为1",
|
||||||
|
"editInternalResourceDialogProxyPortMax": "代理端口必须小于65536",
|
||||||
|
"editInternalResourceDialogInvalidIPAddressFormat": "无效的IP地址格式",
|
||||||
|
"editInternalResourceDialogDestinationPortMin": "目标端口必须至少为1",
|
||||||
|
"editInternalResourceDialogDestinationPortMax": "目标端口必须小于65536",
|
||||||
|
"createInternalResourceDialogNoSitesAvailable": "暂无可用站点",
|
||||||
|
"createInternalResourceDialogNoSitesAvailableDescription": "您需要至少配置一个子网的Newt站点来创建内部资源。",
|
||||||
|
"createInternalResourceDialogClose": "关闭",
|
||||||
|
"createInternalResourceDialogCreateClientResource": "创建客户端资源",
|
||||||
|
"createInternalResourceDialogCreateClientResourceDescription": "创建一个新资源,该资源将可供连接到所选站点的客户端访问。",
|
||||||
|
"createInternalResourceDialogResourceProperties": "资源属性",
|
||||||
|
"createInternalResourceDialogName": "名称",
|
||||||
|
"createInternalResourceDialogSite": "站点",
|
||||||
|
"createInternalResourceDialogSelectSite": "选择站点...",
|
||||||
|
"createInternalResourceDialogSearchSites": "搜索站点...",
|
||||||
|
"createInternalResourceDialogNoSitesFound": "未找到站点。",
|
||||||
|
"createInternalResourceDialogProtocol": "协议",
|
||||||
|
"createInternalResourceDialogTcp": "TCP",
|
||||||
|
"createInternalResourceDialogUdp": "UDP",
|
||||||
|
"createInternalResourceDialogSitePort": "站点端口",
|
||||||
|
"createInternalResourceDialogSitePortDescription": "使用此端口在连接到客户端时访问站点上的资源。",
|
||||||
|
"createInternalResourceDialogTargetConfiguration": "目标配置",
|
||||||
|
"createInternalResourceDialogDestinationIP": "目标IP",
|
||||||
|
"createInternalResourceDialogDestinationIPDescription": "站点网络上资源的IP地址。",
|
||||||
|
"createInternalResourceDialogDestinationPort": "目标端口",
|
||||||
|
"createInternalResourceDialogDestinationPortDescription": "资源在目标IP上可访问的端口。",
|
||||||
|
"createInternalResourceDialogCancel": "取消",
|
||||||
|
"createInternalResourceDialogCreateResource": "创建资源",
|
||||||
|
"createInternalResourceDialogSuccess": "成功",
|
||||||
|
"createInternalResourceDialogInternalResourceCreatedSuccessfully": "内部资源创建成功",
|
||||||
|
"createInternalResourceDialogError": "错误",
|
||||||
|
"createInternalResourceDialogFailedToCreateInternalResource": "创建内部资源失败",
|
||||||
|
"createInternalResourceDialogNameRequired": "名称为必填项",
|
||||||
|
"createInternalResourceDialogNameMaxLength": "名称长度必须小于255个字符",
|
||||||
|
"createInternalResourceDialogPleaseSelectSite": "请选择一个站点",
|
||||||
|
"createInternalResourceDialogProxyPortMin": "代理端口必须至少为1",
|
||||||
|
"createInternalResourceDialogProxyPortMax": "代理端口必须小于65536",
|
||||||
|
"createInternalResourceDialogInvalidIPAddressFormat": "无效的IP地址格式",
|
||||||
|
"createInternalResourceDialogDestinationPortMin": "目标端口必须至少为1",
|
||||||
|
"createInternalResourceDialogDestinationPortMax": "目标端口必须小于65536",
|
||||||
|
"siteConfiguration": "配置",
|
||||||
|
"siteAcceptClientConnections": "接受客户端连接",
|
||||||
|
"siteAcceptClientConnectionsDescription": "允许其他设备通过此Newt实例使用客户端作为网关连接。",
|
||||||
|
"siteAddress": "站点地址",
|
||||||
|
"siteAddressDescription": "指定主机的IP地址以供客户端连接。这是Pangolin网络中站点的内部地址,供客户端访问。必须在Org子网内。",
|
||||||
|
"autoLoginExternalIdp": "自动使用外部IDP登录",
|
||||||
|
"autoLoginExternalIdpDescription": "立即将用户重定向到外部IDP进行身份验证。",
|
||||||
|
"selectIdp": "选择IDP",
|
||||||
|
"selectIdpPlaceholder": "选择一个IDP...",
|
||||||
|
"selectIdpRequired": "在启用自动登录时,请选择一个IDP。",
|
||||||
|
"autoLoginTitle": "重定向中",
|
||||||
|
"autoLoginDescription": "正在将您重定向到外部身份提供商进行身份验证。",
|
||||||
|
"autoLoginProcessing": "准备身份验证...",
|
||||||
|
"autoLoginRedirecting": "重定向到登录...",
|
||||||
|
"autoLoginError": "自动登录错误",
|
||||||
|
"autoLoginErrorNoRedirectUrl": "未从身份提供商收到重定向URL。",
|
||||||
|
"autoLoginErrorGeneratingUrl": "生成身份验证URL失败。"
|
||||||
}
|
}
|
||||||
|
|||||||
2167
package-lock.json
generated
2167
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
84
package.json
84
package.json
@@ -21,8 +21,7 @@
|
|||||||
"db:clear-migrations": "rm -rf server/migrations",
|
"db:clear-migrations": "rm -rf server/migrations",
|
||||||
"build:sqlite": "mkdir -p dist && next build && node esbuild.mjs -e server/index.ts -o dist/server.mjs && node esbuild.mjs -e server/setup/migrationsSqlite.ts -o dist/migrations.mjs",
|
"build:sqlite": "mkdir -p dist && next build && node esbuild.mjs -e server/index.ts -o dist/server.mjs && node esbuild.mjs -e server/setup/migrationsSqlite.ts -o dist/migrations.mjs",
|
||||||
"build:pg": "mkdir -p dist && next build && node esbuild.mjs -e server/index.ts -o dist/server.mjs && node esbuild.mjs -e server/setup/migrationsPg.ts -o dist/migrations.mjs",
|
"build:pg": "mkdir -p dist && next build && node esbuild.mjs -e server/index.ts -o dist/server.mjs && node esbuild.mjs -e server/setup/migrationsPg.ts -o dist/migrations.mjs",
|
||||||
"start:sqlite": "DB_TYPE=sqlite NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs'",
|
"start": "DB_TYPE=sqlite NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs'",
|
||||||
"start:pg": "DB_TYPE=pg NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs'",
|
|
||||||
"email": "email dev --dir server/emails/templates --port 3005",
|
"email": "email dev --dir server/emails/templates --port 3005",
|
||||||
"build:cli": "node esbuild.mjs -e cli/index.ts -o dist/cli.mjs"
|
"build:cli": "node esbuild.mjs -e cli/index.ts -o dist/cli.mjs"
|
||||||
},
|
},
|
||||||
@@ -33,32 +32,32 @@
|
|||||||
"@oslojs/crypto": "1.0.1",
|
"@oslojs/crypto": "1.0.1",
|
||||||
"@oslojs/encoding": "1.1.0",
|
"@oslojs/encoding": "1.1.0",
|
||||||
"@radix-ui/react-avatar": "1.1.10",
|
"@radix-ui/react-avatar": "1.1.10",
|
||||||
"@radix-ui/react-checkbox": "1.3.2",
|
"@radix-ui/react-checkbox": "1.3.3",
|
||||||
"@radix-ui/react-collapsible": "1.1.11",
|
"@radix-ui/react-collapsible": "1.1.12",
|
||||||
"@radix-ui/react-dialog": "1.1.14",
|
"@radix-ui/react-dialog": "1.1.15",
|
||||||
"@radix-ui/react-dropdown-menu": "2.1.15",
|
"@radix-ui/react-dropdown-menu": "2.1.16",
|
||||||
"@radix-ui/react-icons": "1.3.2",
|
"@radix-ui/react-icons": "1.3.2",
|
||||||
"@radix-ui/react-label": "2.1.7",
|
"@radix-ui/react-label": "2.1.7",
|
||||||
"@radix-ui/react-popover": "1.1.14",
|
"@radix-ui/react-popover": "1.1.15",
|
||||||
"@radix-ui/react-progress": "^1.1.7",
|
"@radix-ui/react-progress": "^1.1.7",
|
||||||
"@radix-ui/react-radio-group": "1.3.7",
|
"@radix-ui/react-radio-group": "1.3.8",
|
||||||
"@radix-ui/react-scroll-area": "^1.2.9",
|
"@radix-ui/react-scroll-area": "^1.2.10",
|
||||||
"@radix-ui/react-select": "2.2.5",
|
"@radix-ui/react-select": "2.2.6",
|
||||||
"@radix-ui/react-separator": "1.1.7",
|
"@radix-ui/react-separator": "1.1.7",
|
||||||
"@radix-ui/react-slot": "1.2.3",
|
"@radix-ui/react-slot": "1.2.3",
|
||||||
"@radix-ui/react-switch": "1.2.5",
|
"@radix-ui/react-switch": "1.2.6",
|
||||||
"@radix-ui/react-tabs": "1.1.12",
|
"@radix-ui/react-tabs": "1.1.13",
|
||||||
"@radix-ui/react-toast": "1.2.14",
|
"@radix-ui/react-toast": "1.2.15",
|
||||||
"@radix-ui/react-tooltip": "^1.2.7",
|
"@radix-ui/react-tooltip": "^1.2.8",
|
||||||
"@react-email/components": "0.3.1",
|
"@react-email/components": "0.5.0",
|
||||||
"@react-email/render": "^1.1.2",
|
"@react-email/render": "^1.2.0",
|
||||||
|
"@react-email/tailwind": "1.2.2",
|
||||||
"@simplewebauthn/browser": "^13.1.0",
|
"@simplewebauthn/browser": "^13.1.0",
|
||||||
"@simplewebauthn/server": "^9.0.3",
|
"@simplewebauthn/server": "^9.0.3",
|
||||||
"@react-email/tailwind": "1.2.1",
|
|
||||||
"@tailwindcss/forms": "^0.5.10",
|
"@tailwindcss/forms": "^0.5.10",
|
||||||
"@tanstack/react-table": "8.21.3",
|
"@tanstack/react-table": "8.21.3",
|
||||||
"arctic": "^3.7.0",
|
"arctic": "^3.7.0",
|
||||||
"axios": "1.10.0",
|
"axios": "1.11.0",
|
||||||
"better-sqlite3": "11.7.0",
|
"better-sqlite3": "11.7.0",
|
||||||
"canvas-confetti": "1.9.3",
|
"canvas-confetti": "1.9.3",
|
||||||
"class-variance-authority": "^0.7.1",
|
"class-variance-authority": "^0.7.1",
|
||||||
@@ -69,11 +68,11 @@
|
|||||||
"cookies": "^0.9.1",
|
"cookies": "^0.9.1",
|
||||||
"cors": "2.8.5",
|
"cors": "2.8.5",
|
||||||
"crypto-js": "^4.2.0",
|
"crypto-js": "^4.2.0",
|
||||||
"drizzle-orm": "0.44.2",
|
"drizzle-orm": "0.44.4",
|
||||||
"eslint": "9.31.0",
|
"eslint": "9.33.0",
|
||||||
"eslint-config-next": "15.3.5",
|
"eslint-config-next": "15.4.6",
|
||||||
"express": "4.21.2",
|
"express": "5.1.0",
|
||||||
"express-rate-limit": "7.5.1",
|
"express-rate-limit": "8.0.1",
|
||||||
"glob": "11.0.3",
|
"glob": "11.0.3",
|
||||||
"helmet": "8.1.0",
|
"helmet": "8.1.0",
|
||||||
"http-errors": "2.0.0",
|
"http-errors": "2.0.0",
|
||||||
@@ -82,69 +81,70 @@
|
|||||||
"jmespath": "^0.16.0",
|
"jmespath": "^0.16.0",
|
||||||
"js-yaml": "4.1.0",
|
"js-yaml": "4.1.0",
|
||||||
"jsonwebtoken": "^9.0.2",
|
"jsonwebtoken": "^9.0.2",
|
||||||
"lucide-react": "0.525.0",
|
"lucide-react": "0.539.0",
|
||||||
"moment": "2.30.1",
|
"moment": "2.30.1",
|
||||||
"next": "15.3.5",
|
"next": "15.4.6",
|
||||||
"next-intl": "^4.3.4",
|
"next-intl": "^4.3.4",
|
||||||
"next-themes": "0.4.6",
|
"next-themes": "0.4.6",
|
||||||
"node-cache": "5.1.2",
|
"node-cache": "5.1.2",
|
||||||
"node-fetch": "3.3.2",
|
"node-fetch": "3.3.2",
|
||||||
"nodemailer": "7.0.5",
|
"nodemailer": "7.0.5",
|
||||||
"npm": "^11.4.2",
|
"npm": "^11.5.2",
|
||||||
"oslo": "1.2.1",
|
"oslo": "1.2.1",
|
||||||
"pg": "^8.16.2",
|
"pg": "^8.16.2",
|
||||||
|
"posthog-node": "^5.7.0",
|
||||||
"qrcode.react": "4.2.0",
|
"qrcode.react": "4.2.0",
|
||||||
"react": "19.1.0",
|
"react": "19.1.1",
|
||||||
"react-dom": "19.1.0",
|
"react-dom": "19.1.1",
|
||||||
"react-easy-sort": "^1.6.0",
|
"react-easy-sort": "^1.6.0",
|
||||||
"react-hook-form": "7.60.0",
|
"react-hook-form": "7.62.0",
|
||||||
"react-icons": "^5.5.0",
|
"react-icons": "^5.5.0",
|
||||||
"rebuild": "0.1.2",
|
"rebuild": "0.1.2",
|
||||||
"semver": "^7.7.2",
|
"semver": "^7.7.2",
|
||||||
"swagger-ui-express": "^5.0.1",
|
"swagger-ui-express": "^5.0.1",
|
||||||
"tailwind-merge": "3.3.1",
|
"tailwind-merge": "3.3.1",
|
||||||
"tw-animate-css": "^1.3.5",
|
"tw-animate-css": "^1.3.7",
|
||||||
"uuid": "^11.1.0",
|
"uuid": "^11.1.0",
|
||||||
"vaul": "1.1.2",
|
"vaul": "1.1.2",
|
||||||
"winston": "3.17.0",
|
"winston": "3.17.0",
|
||||||
"winston-daily-rotate-file": "5.0.0",
|
"winston-daily-rotate-file": "5.0.0",
|
||||||
"ws": "8.18.3",
|
"ws": "8.18.3",
|
||||||
|
"yargs": "18.0.0",
|
||||||
"zod": "3.25.76",
|
"zod": "3.25.76",
|
||||||
"zod-validation-error": "3.5.2",
|
"zod-validation-error": "3.5.2"
|
||||||
"yargs": "18.0.0"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@dotenvx/dotenvx": "1.47.6",
|
"@dotenvx/dotenvx": "1.49.0",
|
||||||
"@esbuild-plugins/tsconfig-paths": "0.1.2",
|
"@esbuild-plugins/tsconfig-paths": "0.1.2",
|
||||||
"@tailwindcss/postcss": "^4.1.10",
|
"@tailwindcss/postcss": "^4.1.12",
|
||||||
"@types/better-sqlite3": "7.6.12",
|
"@types/better-sqlite3": "7.6.12",
|
||||||
"@types/cookie-parser": "1.4.9",
|
"@types/cookie-parser": "1.4.9",
|
||||||
"@types/cors": "2.8.19",
|
"@types/cors": "2.8.19",
|
||||||
"@types/crypto-js": "^4.2.2",
|
"@types/crypto-js": "^4.2.2",
|
||||||
"@types/express": "5.0.0",
|
"@types/express": "5.0.3",
|
||||||
"@types/express-session": "^1.18.2",
|
"@types/express-session": "^1.18.2",
|
||||||
"@types/jmespath": "^0.15.2",
|
"@types/jmespath": "^0.15.2",
|
||||||
"@types/js-yaml": "4.0.9",
|
"@types/js-yaml": "4.0.9",
|
||||||
"@types/jsonwebtoken": "^9.0.10",
|
"@types/jsonwebtoken": "^9.0.10",
|
||||||
"@types/node": "^24",
|
"@types/node": "^24",
|
||||||
"@types/nodemailer": "6.4.17",
|
"@types/nodemailer": "6.4.17",
|
||||||
"@types/pg": "8.15.4",
|
"@types/pg": "8.15.5",
|
||||||
"@types/react": "19.1.8",
|
"@types/react": "19.1.11",
|
||||||
"@types/react-dom": "19.1.6",
|
"@types/react-dom": "19.1.8",
|
||||||
"@types/semver": "^7.7.0",
|
"@types/semver": "^7.7.0",
|
||||||
"@types/swagger-ui-express": "^4.1.8",
|
"@types/swagger-ui-express": "^4.1.8",
|
||||||
"@types/ws": "8.18.1",
|
"@types/ws": "8.18.1",
|
||||||
"@types/yargs": "17.0.33",
|
"@types/yargs": "17.0.33",
|
||||||
"drizzle-kit": "0.31.4",
|
"drizzle-kit": "0.31.4",
|
||||||
"esbuild": "0.25.6",
|
"esbuild": "0.25.9",
|
||||||
"esbuild-node-externals": "1.18.0",
|
"esbuild-node-externals": "1.18.0",
|
||||||
"postcss": "^8",
|
"postcss": "^8",
|
||||||
"react-email": "4.1.0",
|
"react-email": "4.2.8",
|
||||||
"tailwindcss": "^4.1.4",
|
"tailwindcss": "^4.1.4",
|
||||||
"tsc-alias": "1.8.16",
|
"tsc-alias": "1.8.16",
|
||||||
"tsx": "4.20.3",
|
"tsx": "4.20.5",
|
||||||
"typescript": "^5",
|
"typescript": "^5",
|
||||||
"typescript-eslint": "^8.36.0"
|
"typescript-eslint": "^8.40.0"
|
||||||
},
|
},
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"emblor": {
|
"emblor": {
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import { router as wsRouter, handleWSUpgrade } from "@server/routers/ws";
|
|||||||
import { logIncomingMiddleware } from "./middlewares/logIncoming";
|
import { logIncomingMiddleware } from "./middlewares/logIncoming";
|
||||||
import { csrfProtectionMiddleware } from "./middlewares/csrfProtection";
|
import { csrfProtectionMiddleware } from "./middlewares/csrfProtection";
|
||||||
import helmet from "helmet";
|
import helmet from "helmet";
|
||||||
import rateLimit from "express-rate-limit";
|
import rateLimit, { ipKeyGenerator } from "express-rate-limit";
|
||||||
import createHttpError from "http-errors";
|
import createHttpError from "http-errors";
|
||||||
import HttpCode from "./types/HttpCode";
|
import HttpCode from "./types/HttpCode";
|
||||||
import requestTimeoutMiddleware from "./middlewares/requestTimeout";
|
import requestTimeoutMiddleware from "./middlewares/requestTimeout";
|
||||||
@@ -70,7 +70,7 @@ export function createApiServer() {
|
|||||||
60 *
|
60 *
|
||||||
1000,
|
1000,
|
||||||
max: config.getRawConfig().rate_limits.global.max_requests,
|
max: config.getRawConfig().rate_limits.global.max_requests,
|
||||||
keyGenerator: (req) => `apiServerGlobal:${req.ip}:${req.path}`,
|
keyGenerator: (req) => `apiServerGlobal:${ipKeyGenerator(req.ip || "")}:${req.path}`,
|
||||||
handler: (req, res, next) => {
|
handler: (req, res, next) => {
|
||||||
const message = `Rate limit exceeded. You can make ${config.getRawConfig().rate_limits.global.max_requests} requests every ${config.getRawConfig().rate_limits.global.window_minutes} minute(s).`;
|
const message = `Rate limit exceeded. You can make ${config.getRawConfig().rate_limits.global.max_requests} requests every ${config.getRawConfig().rate_limits.global.window_minutes} minute(s).`;
|
||||||
return next(
|
return next(
|
||||||
|
|||||||
@@ -69,6 +69,11 @@ export enum ActionsEnum {
|
|||||||
deleteResourceRule = "deleteResourceRule",
|
deleteResourceRule = "deleteResourceRule",
|
||||||
listResourceRules = "listResourceRules",
|
listResourceRules = "listResourceRules",
|
||||||
updateResourceRule = "updateResourceRule",
|
updateResourceRule = "updateResourceRule",
|
||||||
|
createSiteResource = "createSiteResource",
|
||||||
|
deleteSiteResource = "deleteSiteResource",
|
||||||
|
getSiteResource = "getSiteResource",
|
||||||
|
listSiteResources = "listSiteResources",
|
||||||
|
updateSiteResource = "updateSiteResource",
|
||||||
createClient = "createClient",
|
createClient = "createClient",
|
||||||
deleteClient = "deleteClient",
|
deleteClient = "deleteClient",
|
||||||
updateClient = "updateClient",
|
updateClient = "updateClient",
|
||||||
|
|||||||
@@ -24,8 +24,8 @@ export const SESSION_COOKIE_EXPIRES =
|
|||||||
60 *
|
60 *
|
||||||
60 *
|
60 *
|
||||||
config.getRawConfig().server.dashboard_session_length_hours;
|
config.getRawConfig().server.dashboard_session_length_hours;
|
||||||
export const COOKIE_DOMAIN =
|
export const COOKIE_DOMAIN = config.getRawConfig().app.dashboard_url ?
|
||||||
"." + new URL(config.getRawConfig().app.dashboard_url).hostname;
|
"." + new URL(config.getRawConfig().app.dashboard_url!).hostname : undefined;
|
||||||
|
|
||||||
export function generateSessionToken(): string {
|
export function generateSessionToken(): string {
|
||||||
const bytes = new Uint8Array(20);
|
const bytes = new Uint8Array(20);
|
||||||
|
|||||||
@@ -4,6 +4,9 @@ import { resourceSessions, ResourceSession } from "@server/db";
|
|||||||
import { db } from "@server/db";
|
import { db } from "@server/db";
|
||||||
import { eq, and } from "drizzle-orm";
|
import { eq, and } from "drizzle-orm";
|
||||||
import config from "@server/lib/config";
|
import config from "@server/lib/config";
|
||||||
|
import axios from "axios";
|
||||||
|
import logger from "@server/logger";
|
||||||
|
import { tokenManager } from "@server/lib/tokenManager";
|
||||||
|
|
||||||
export const SESSION_COOKIE_NAME =
|
export const SESSION_COOKIE_NAME =
|
||||||
config.getRawConfig().server.session_cookie_name;
|
config.getRawConfig().server.session_cookie_name;
|
||||||
@@ -62,6 +65,29 @@ export async function validateResourceSessionToken(
|
|||||||
token: string,
|
token: string,
|
||||||
resourceId: number
|
resourceId: number
|
||||||
): Promise<ResourceSessionValidationResult> {
|
): Promise<ResourceSessionValidationResult> {
|
||||||
|
if (config.isManagedMode()) {
|
||||||
|
try {
|
||||||
|
const response = await axios.post(`${config.getRawConfig().managed?.endpoint}/api/v1/hybrid/resource/${resourceId}/session/validate`, {
|
||||||
|
token: token
|
||||||
|
}, await tokenManager.getAuthHeader());
|
||||||
|
return response.data.data;
|
||||||
|
} catch (error) {
|
||||||
|
if (axios.isAxiosError(error)) {
|
||||||
|
logger.error("Error validating resource session token in hybrid mode:", {
|
||||||
|
message: error.message,
|
||||||
|
code: error.code,
|
||||||
|
status: error.response?.status,
|
||||||
|
statusText: error.response?.statusText,
|
||||||
|
url: error.config?.url,
|
||||||
|
method: error.config?.method
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
logger.error("Error validating resource session token in hybrid mode:", error);
|
||||||
|
}
|
||||||
|
return { resourceSession: null };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const sessionId = encodeHexLowerCase(
|
const sessionId = encodeHexLowerCase(
|
||||||
sha256(new TextEncoder().encode(token))
|
sha256(new TextEncoder().encode(token))
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -23,7 +23,8 @@ export const domains = pgTable("domains", {
|
|||||||
export const orgs = pgTable("orgs", {
|
export const orgs = pgTable("orgs", {
|
||||||
orgId: varchar("orgId").primaryKey(),
|
orgId: varchar("orgId").primaryKey(),
|
||||||
name: varchar("name").notNull(),
|
name: varchar("name").notNull(),
|
||||||
subnet: varchar("subnet")
|
subnet: varchar("subnet"),
|
||||||
|
createdAt: text("createdAt")
|
||||||
});
|
});
|
||||||
|
|
||||||
export const orgDomains = pgTable("orgDomains", {
|
export const orgDomains = pgTable("orgDomains", {
|
||||||
@@ -65,11 +66,6 @@ export const sites = pgTable("sites", {
|
|||||||
|
|
||||||
export const resources = pgTable("resources", {
|
export const resources = pgTable("resources", {
|
||||||
resourceId: serial("resourceId").primaryKey(),
|
resourceId: serial("resourceId").primaryKey(),
|
||||||
siteId: integer("siteId")
|
|
||||||
.references(() => sites.siteId, {
|
|
||||||
onDelete: "cascade"
|
|
||||||
})
|
|
||||||
.notNull(),
|
|
||||||
orgId: varchar("orgId")
|
orgId: varchar("orgId")
|
||||||
.references(() => orgs.orgId, {
|
.references(() => orgs.orgId, {
|
||||||
onDelete: "cascade"
|
onDelete: "cascade"
|
||||||
@@ -96,6 +92,9 @@ export const resources = pgTable("resources", {
|
|||||||
tlsServerName: varchar("tlsServerName"),
|
tlsServerName: varchar("tlsServerName"),
|
||||||
setHostHeader: varchar("setHostHeader"),
|
setHostHeader: varchar("setHostHeader"),
|
||||||
enableProxy: boolean("enableProxy").default(true),
|
enableProxy: boolean("enableProxy").default(true),
|
||||||
|
skipToIdpId: integer("skipToIdpId").references(() => idp.idpId, {
|
||||||
|
onDelete: "cascade"
|
||||||
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
export const targets = pgTable("targets", {
|
export const targets = pgTable("targets", {
|
||||||
@@ -105,6 +104,11 @@ export const targets = pgTable("targets", {
|
|||||||
onDelete: "cascade"
|
onDelete: "cascade"
|
||||||
})
|
})
|
||||||
.notNull(),
|
.notNull(),
|
||||||
|
siteId: integer("siteId")
|
||||||
|
.references(() => sites.siteId, {
|
||||||
|
onDelete: "cascade"
|
||||||
|
})
|
||||||
|
.notNull(),
|
||||||
ip: varchar("ip").notNull(),
|
ip: varchar("ip").notNull(),
|
||||||
method: varchar("method"),
|
method: varchar("method"),
|
||||||
port: integer("port").notNull(),
|
port: integer("port").notNull(),
|
||||||
@@ -120,7 +124,26 @@ export const exitNodes = pgTable("exitNodes", {
|
|||||||
publicKey: varchar("publicKey").notNull(),
|
publicKey: varchar("publicKey").notNull(),
|
||||||
listenPort: integer("listenPort").notNull(),
|
listenPort: integer("listenPort").notNull(),
|
||||||
reachableAt: varchar("reachableAt"),
|
reachableAt: varchar("reachableAt"),
|
||||||
maxConnections: integer("maxConnections")
|
maxConnections: integer("maxConnections"),
|
||||||
|
online: boolean("online").notNull().default(false),
|
||||||
|
lastPing: integer("lastPing"),
|
||||||
|
type: text("type").default("gerbil") // gerbil, remoteExitNode
|
||||||
|
});
|
||||||
|
|
||||||
|
export const siteResources = pgTable("siteResources", { // this is for the clients
|
||||||
|
siteResourceId: serial("siteResourceId").primaryKey(),
|
||||||
|
siteId: integer("siteId")
|
||||||
|
.notNull()
|
||||||
|
.references(() => sites.siteId, { onDelete: "cascade" }),
|
||||||
|
orgId: varchar("orgId")
|
||||||
|
.notNull()
|
||||||
|
.references(() => orgs.orgId, { onDelete: "cascade" }),
|
||||||
|
name: varchar("name").notNull(),
|
||||||
|
protocol: varchar("protocol").notNull(),
|
||||||
|
proxyPort: integer("proxyPort").notNull(),
|
||||||
|
destinationPort: integer("destinationPort").notNull(),
|
||||||
|
destinationIp: varchar("destinationIp").notNull(),
|
||||||
|
enabled: boolean("enabled").notNull().default(true),
|
||||||
});
|
});
|
||||||
|
|
||||||
export const users = pgTable("user", {
|
export const users = pgTable("user", {
|
||||||
@@ -407,7 +430,7 @@ export const resourceRules = pgTable("resourceRules", {
|
|||||||
.references(() => resources.resourceId, { onDelete: "cascade" }),
|
.references(() => resources.resourceId, { onDelete: "cascade" }),
|
||||||
enabled: boolean("enabled").notNull().default(true),
|
enabled: boolean("enabled").notNull().default(true),
|
||||||
priority: integer("priority").notNull(),
|
priority: integer("priority").notNull(),
|
||||||
action: varchar("action").notNull(), // ACCEPT, DROP
|
action: varchar("action").notNull(), // ACCEPT, DROP, PASS
|
||||||
match: varchar("match").notNull(), // CIDR, PATH, IP
|
match: varchar("match").notNull(), // CIDR, PATH, IP
|
||||||
value: varchar("value").notNull()
|
value: varchar("value").notNull()
|
||||||
});
|
});
|
||||||
@@ -512,10 +535,10 @@ export const clients = pgTable("clients", {
|
|||||||
megabytesIn: real("bytesIn"),
|
megabytesIn: real("bytesIn"),
|
||||||
megabytesOut: real("bytesOut"),
|
megabytesOut: real("bytesOut"),
|
||||||
lastBandwidthUpdate: varchar("lastBandwidthUpdate"),
|
lastBandwidthUpdate: varchar("lastBandwidthUpdate"),
|
||||||
lastPing: varchar("lastPing"),
|
lastPing: integer("lastPing"),
|
||||||
type: varchar("type").notNull(), // "olm"
|
type: varchar("type").notNull(), // "olm"
|
||||||
online: boolean("online").notNull().default(false),
|
online: boolean("online").notNull().default(false),
|
||||||
endpoint: varchar("endpoint"),
|
// endpoint: varchar("endpoint"),
|
||||||
lastHolePunch: integer("lastHolePunch"),
|
lastHolePunch: integer("lastHolePunch"),
|
||||||
maxConnections: integer("maxConnections")
|
maxConnections: integer("maxConnections")
|
||||||
});
|
});
|
||||||
@@ -527,13 +550,15 @@ export const clientSites = pgTable("clientSites", {
|
|||||||
siteId: integer("siteId")
|
siteId: integer("siteId")
|
||||||
.notNull()
|
.notNull()
|
||||||
.references(() => sites.siteId, { onDelete: "cascade" }),
|
.references(() => sites.siteId, { onDelete: "cascade" }),
|
||||||
isRelayed: boolean("isRelayed").notNull().default(false)
|
isRelayed: boolean("isRelayed").notNull().default(false),
|
||||||
|
endpoint: varchar("endpoint")
|
||||||
});
|
});
|
||||||
|
|
||||||
export const olms = pgTable("olms", {
|
export const olms = pgTable("olms", {
|
||||||
olmId: varchar("id").primaryKey(),
|
olmId: varchar("id").primaryKey(),
|
||||||
secretHash: varchar("secretHash").notNull(),
|
secretHash: varchar("secretHash").notNull(),
|
||||||
dateCreated: varchar("dateCreated").notNull(),
|
dateCreated: varchar("dateCreated").notNull(),
|
||||||
|
version: text("version"),
|
||||||
clientId: integer("clientId").references(() => clients.clientId, {
|
clientId: integer("clientId").references(() => clients.clientId, {
|
||||||
onDelete: "cascade"
|
onDelete: "cascade"
|
||||||
})
|
})
|
||||||
@@ -591,6 +616,14 @@ export const webauthnChallenge = pgTable("webauthnChallenge", {
|
|||||||
expiresAt: bigint("expiresAt", { mode: "number" }).notNull() // Unix timestamp
|
expiresAt: bigint("expiresAt", { mode: "number" }).notNull() // Unix timestamp
|
||||||
});
|
});
|
||||||
|
|
||||||
|
export const setupTokens = pgTable("setupTokens", {
|
||||||
|
tokenId: varchar("tokenId").primaryKey(),
|
||||||
|
token: varchar("token").notNull(),
|
||||||
|
used: boolean("used").notNull().default(false),
|
||||||
|
dateCreated: varchar("dateCreated").notNull(),
|
||||||
|
dateUsed: varchar("dateUsed")
|
||||||
|
});
|
||||||
|
|
||||||
export type Org = InferSelectModel<typeof orgs>;
|
export type Org = InferSelectModel<typeof orgs>;
|
||||||
export type User = InferSelectModel<typeof users>;
|
export type User = InferSelectModel<typeof users>;
|
||||||
export type Site = InferSelectModel<typeof sites>;
|
export type Site = InferSelectModel<typeof sites>;
|
||||||
@@ -636,3 +669,6 @@ export type OlmSession = InferSelectModel<typeof olmSessions>;
|
|||||||
export type UserClient = InferSelectModel<typeof userClients>;
|
export type UserClient = InferSelectModel<typeof userClients>;
|
||||||
export type RoleClient = InferSelectModel<typeof roleClients>;
|
export type RoleClient = InferSelectModel<typeof roleClients>;
|
||||||
export type OrgDomains = InferSelectModel<typeof orgDomains>;
|
export type OrgDomains = InferSelectModel<typeof orgDomains>;
|
||||||
|
export type SiteResource = InferSelectModel<typeof siteResources>;
|
||||||
|
export type SetupToken = InferSelectModel<typeof setupTokens>;
|
||||||
|
export type HostMeta = InferSelectModel<typeof hostMeta>;
|
||||||
|
|||||||
277
server/db/queries/verifySessionQueries.ts
Normal file
277
server/db/queries/verifySessionQueries.ts
Normal file
@@ -0,0 +1,277 @@
|
|||||||
|
import { db } from "@server/db";
|
||||||
|
import {
|
||||||
|
Resource,
|
||||||
|
ResourcePassword,
|
||||||
|
ResourcePincode,
|
||||||
|
ResourceRule,
|
||||||
|
resourcePassword,
|
||||||
|
resourcePincode,
|
||||||
|
resourceRules,
|
||||||
|
resources,
|
||||||
|
roleResources,
|
||||||
|
sessions,
|
||||||
|
userOrgs,
|
||||||
|
userResources,
|
||||||
|
users
|
||||||
|
} from "@server/db";
|
||||||
|
import { and, eq } from "drizzle-orm";
|
||||||
|
import axios from "axios";
|
||||||
|
import config from "@server/lib/config";
|
||||||
|
import logger from "@server/logger";
|
||||||
|
import { tokenManager } from "@server/lib/tokenManager";
|
||||||
|
|
||||||
|
export type ResourceWithAuth = {
|
||||||
|
resource: Resource | null;
|
||||||
|
pincode: ResourcePincode | null;
|
||||||
|
password: ResourcePassword | null;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type UserSessionWithUser = {
|
||||||
|
session: any;
|
||||||
|
user: any;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get resource by domain with pincode and password information
|
||||||
|
*/
|
||||||
|
export async function getResourceByDomain(
|
||||||
|
domain: string
|
||||||
|
): Promise<ResourceWithAuth | null> {
|
||||||
|
if (config.isManagedMode()) {
|
||||||
|
try {
|
||||||
|
const response = await axios.get(`${config.getRawConfig().managed?.endpoint}/api/v1/hybrid/resource/domain/${domain}`, await tokenManager.getAuthHeader());
|
||||||
|
return response.data.data;
|
||||||
|
} catch (error) {
|
||||||
|
if (axios.isAxiosError(error)) {
|
||||||
|
logger.error("Error fetching config in verify session:", {
|
||||||
|
message: error.message,
|
||||||
|
code: error.code,
|
||||||
|
status: error.response?.status,
|
||||||
|
statusText: error.response?.statusText,
|
||||||
|
url: error.config?.url,
|
||||||
|
method: error.config?.method
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
logger.error("Error fetching config in verify session:", error);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const [result] = await db
|
||||||
|
.select()
|
||||||
|
.from(resources)
|
||||||
|
.leftJoin(
|
||||||
|
resourcePincode,
|
||||||
|
eq(resourcePincode.resourceId, resources.resourceId)
|
||||||
|
)
|
||||||
|
.leftJoin(
|
||||||
|
resourcePassword,
|
||||||
|
eq(resourcePassword.resourceId, resources.resourceId)
|
||||||
|
)
|
||||||
|
.where(eq(resources.fullDomain, domain))
|
||||||
|
.limit(1);
|
||||||
|
|
||||||
|
if (!result) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
resource: result.resources,
|
||||||
|
pincode: result.resourcePincode,
|
||||||
|
password: result.resourcePassword
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get user session with user information
|
||||||
|
*/
|
||||||
|
export async function getUserSessionWithUser(
|
||||||
|
userSessionId: string
|
||||||
|
): Promise<UserSessionWithUser | null> {
|
||||||
|
if (config.isManagedMode()) {
|
||||||
|
try {
|
||||||
|
const response = await axios.get(`${config.getRawConfig().managed?.endpoint}/api/v1/hybrid/session/${userSessionId}`, await tokenManager.getAuthHeader());
|
||||||
|
return response.data.data;
|
||||||
|
} catch (error) {
|
||||||
|
if (axios.isAxiosError(error)) {
|
||||||
|
logger.error("Error fetching config in verify session:", {
|
||||||
|
message: error.message,
|
||||||
|
code: error.code,
|
||||||
|
status: error.response?.status,
|
||||||
|
statusText: error.response?.statusText,
|
||||||
|
url: error.config?.url,
|
||||||
|
method: error.config?.method
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
logger.error("Error fetching config in verify session:", error);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const [res] = await db
|
||||||
|
.select()
|
||||||
|
.from(sessions)
|
||||||
|
.leftJoin(users, eq(users.userId, sessions.userId))
|
||||||
|
.where(eq(sessions.sessionId, userSessionId));
|
||||||
|
|
||||||
|
if (!res) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
session: res.session,
|
||||||
|
user: res.user
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get user organization role
|
||||||
|
*/
|
||||||
|
export async function getUserOrgRole(userId: string, orgId: string) {
|
||||||
|
if (config.isManagedMode()) {
|
||||||
|
try {
|
||||||
|
const response = await axios.get(`${config.getRawConfig().managed?.endpoint}/api/v1/hybrid/user/${userId}/org/${orgId}/role`, await tokenManager.getAuthHeader());
|
||||||
|
return response.data.data;
|
||||||
|
} catch (error) {
|
||||||
|
if (axios.isAxiosError(error)) {
|
||||||
|
logger.error("Error fetching config in verify session:", {
|
||||||
|
message: error.message,
|
||||||
|
code: error.code,
|
||||||
|
status: error.response?.status,
|
||||||
|
statusText: error.response?.statusText,
|
||||||
|
url: error.config?.url,
|
||||||
|
method: error.config?.method
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
logger.error("Error fetching config in verify session:", error);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const userOrgRole = await db
|
||||||
|
.select()
|
||||||
|
.from(userOrgs)
|
||||||
|
.where(
|
||||||
|
and(
|
||||||
|
eq(userOrgs.userId, userId),
|
||||||
|
eq(userOrgs.orgId, orgId)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
.limit(1);
|
||||||
|
|
||||||
|
return userOrgRole.length > 0 ? userOrgRole[0] : null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if role has access to resource
|
||||||
|
*/
|
||||||
|
export async function getRoleResourceAccess(resourceId: number, roleId: number) {
|
||||||
|
if (config.isManagedMode()) {
|
||||||
|
try {
|
||||||
|
const response = await axios.get(`${config.getRawConfig().managed?.endpoint}/api/v1/hybrid/role/${roleId}/resource/${resourceId}/access`, await tokenManager.getAuthHeader());
|
||||||
|
return response.data.data;
|
||||||
|
} catch (error) {
|
||||||
|
if (axios.isAxiosError(error)) {
|
||||||
|
logger.error("Error fetching config in verify session:", {
|
||||||
|
message: error.message,
|
||||||
|
code: error.code,
|
||||||
|
status: error.response?.status,
|
||||||
|
statusText: error.response?.statusText,
|
||||||
|
url: error.config?.url,
|
||||||
|
method: error.config?.method
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
logger.error("Error fetching config in verify session:", error);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const roleResourceAccess = await db
|
||||||
|
.select()
|
||||||
|
.from(roleResources)
|
||||||
|
.where(
|
||||||
|
and(
|
||||||
|
eq(roleResources.resourceId, resourceId),
|
||||||
|
eq(roleResources.roleId, roleId)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
.limit(1);
|
||||||
|
|
||||||
|
return roleResourceAccess.length > 0 ? roleResourceAccess[0] : null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if user has direct access to resource
|
||||||
|
*/
|
||||||
|
export async function getUserResourceAccess(userId: string, resourceId: number) {
|
||||||
|
if (config.isManagedMode()) {
|
||||||
|
try {
|
||||||
|
const response = await axios.get(`${config.getRawConfig().managed?.endpoint}/api/v1/hybrid/user/${userId}/resource/${resourceId}/access`, await tokenManager.getAuthHeader());
|
||||||
|
return response.data.data;
|
||||||
|
} catch (error) {
|
||||||
|
if (axios.isAxiosError(error)) {
|
||||||
|
logger.error("Error fetching config in verify session:", {
|
||||||
|
message: error.message,
|
||||||
|
code: error.code,
|
||||||
|
status: error.response?.status,
|
||||||
|
statusText: error.response?.statusText,
|
||||||
|
url: error.config?.url,
|
||||||
|
method: error.config?.method
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
logger.error("Error fetching config in verify session:", error);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const userResourceAccess = await db
|
||||||
|
.select()
|
||||||
|
.from(userResources)
|
||||||
|
.where(
|
||||||
|
and(
|
||||||
|
eq(userResources.userId, userId),
|
||||||
|
eq(userResources.resourceId, resourceId)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
.limit(1);
|
||||||
|
|
||||||
|
return userResourceAccess.length > 0 ? userResourceAccess[0] : null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get resource rules for a given resource
|
||||||
|
*/
|
||||||
|
export async function getResourceRules(resourceId: number): Promise<ResourceRule[]> {
|
||||||
|
if (config.isManagedMode()) {
|
||||||
|
try {
|
||||||
|
const response = await axios.get(`${config.getRawConfig().managed?.endpoint}/api/v1/hybrid/resource/${resourceId}/rules`, await tokenManager.getAuthHeader());
|
||||||
|
return response.data.data;
|
||||||
|
} catch (error) {
|
||||||
|
if (axios.isAxiosError(error)) {
|
||||||
|
logger.error("Error fetching config in verify session:", {
|
||||||
|
message: error.message,
|
||||||
|
code: error.code,
|
||||||
|
status: error.response?.status,
|
||||||
|
statusText: error.response?.statusText,
|
||||||
|
url: error.config?.url,
|
||||||
|
method: error.config?.method
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
logger.error("Error fetching config in verify session:", error);
|
||||||
|
}
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const rules = await db
|
||||||
|
.select()
|
||||||
|
.from(resourceRules)
|
||||||
|
.where(eq(resourceRules.resourceId, resourceId));
|
||||||
|
|
||||||
|
return rules;
|
||||||
|
}
|
||||||
@@ -16,7 +16,8 @@ export const domains = sqliteTable("domains", {
|
|||||||
export const orgs = sqliteTable("orgs", {
|
export const orgs = sqliteTable("orgs", {
|
||||||
orgId: text("orgId").primaryKey(),
|
orgId: text("orgId").primaryKey(),
|
||||||
name: text("name").notNull(),
|
name: text("name").notNull(),
|
||||||
subnet: text("subnet")
|
subnet: text("subnet"),
|
||||||
|
createdAt: text("createdAt")
|
||||||
});
|
});
|
||||||
|
|
||||||
export const userDomains = sqliteTable("userDomains", {
|
export const userDomains = sqliteTable("userDomains", {
|
||||||
@@ -66,16 +67,11 @@ export const sites = sqliteTable("sites", {
|
|||||||
dockerSocketEnabled: integer("dockerSocketEnabled", { mode: "boolean" })
|
dockerSocketEnabled: integer("dockerSocketEnabled", { mode: "boolean" })
|
||||||
.notNull()
|
.notNull()
|
||||||
.default(true),
|
.default(true),
|
||||||
remoteSubnets: text("remoteSubnets"), // comma-separated list of subnets that this site can access
|
remoteSubnets: text("remoteSubnets") // comma-separated list of subnets that this site can access
|
||||||
});
|
});
|
||||||
|
|
||||||
export const resources = sqliteTable("resources", {
|
export const resources = sqliteTable("resources", {
|
||||||
resourceId: integer("resourceId").primaryKey({ autoIncrement: true }),
|
resourceId: integer("resourceId").primaryKey({ autoIncrement: true }),
|
||||||
siteId: integer("siteId")
|
|
||||||
.references(() => sites.siteId, {
|
|
||||||
onDelete: "cascade"
|
|
||||||
})
|
|
||||||
.notNull(),
|
|
||||||
orgId: text("orgId")
|
orgId: text("orgId")
|
||||||
.references(() => orgs.orgId, {
|
.references(() => orgs.orgId, {
|
||||||
onDelete: "cascade"
|
onDelete: "cascade"
|
||||||
@@ -108,6 +104,9 @@ export const resources = sqliteTable("resources", {
|
|||||||
tlsServerName: text("tlsServerName"),
|
tlsServerName: text("tlsServerName"),
|
||||||
setHostHeader: text("setHostHeader"),
|
setHostHeader: text("setHostHeader"),
|
||||||
enableProxy: integer("enableProxy", { mode: "boolean" }).default(true),
|
enableProxy: integer("enableProxy", { mode: "boolean" }).default(true),
|
||||||
|
skipToIdpId: integer("skipToIdpId").references(() => idp.idpId, {
|
||||||
|
onDelete: "cascade"
|
||||||
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
export const targets = sqliteTable("targets", {
|
export const targets = sqliteTable("targets", {
|
||||||
@@ -117,6 +116,11 @@ export const targets = sqliteTable("targets", {
|
|||||||
onDelete: "cascade"
|
onDelete: "cascade"
|
||||||
})
|
})
|
||||||
.notNull(),
|
.notNull(),
|
||||||
|
siteId: integer("siteId")
|
||||||
|
.references(() => sites.siteId, {
|
||||||
|
onDelete: "cascade"
|
||||||
|
})
|
||||||
|
.notNull(),
|
||||||
ip: text("ip").notNull(),
|
ip: text("ip").notNull(),
|
||||||
method: text("method"),
|
method: text("method"),
|
||||||
port: integer("port").notNull(),
|
port: integer("port").notNull(),
|
||||||
@@ -132,7 +136,26 @@ export const exitNodes = sqliteTable("exitNodes", {
|
|||||||
publicKey: text("publicKey").notNull(),
|
publicKey: text("publicKey").notNull(),
|
||||||
listenPort: integer("listenPort").notNull(),
|
listenPort: integer("listenPort").notNull(),
|
||||||
reachableAt: text("reachableAt"), // this is the internal address of the gerbil http server for command control
|
reachableAt: text("reachableAt"), // this is the internal address of the gerbil http server for command control
|
||||||
maxConnections: integer("maxConnections")
|
maxConnections: integer("maxConnections"),
|
||||||
|
online: integer("online", { mode: "boolean" }).notNull().default(false),
|
||||||
|
lastPing: integer("lastPing"),
|
||||||
|
type: text("type").default("gerbil") // gerbil, remoteExitNode
|
||||||
|
});
|
||||||
|
|
||||||
|
export const siteResources = sqliteTable("siteResources", { // this is for the clients
|
||||||
|
siteResourceId: integer("siteResourceId").primaryKey({ autoIncrement: true }),
|
||||||
|
siteId: integer("siteId")
|
||||||
|
.notNull()
|
||||||
|
.references(() => sites.siteId, { onDelete: "cascade" }),
|
||||||
|
orgId: text("orgId")
|
||||||
|
.notNull()
|
||||||
|
.references(() => orgs.orgId, { onDelete: "cascade" }),
|
||||||
|
name: text("name").notNull(),
|
||||||
|
protocol: text("protocol").notNull(),
|
||||||
|
proxyPort: integer("proxyPort").notNull(),
|
||||||
|
destinationPort: integer("destinationPort").notNull(),
|
||||||
|
destinationIp: text("destinationIp").notNull(),
|
||||||
|
enabled: integer("enabled", { mode: "boolean" }).notNull().default(true),
|
||||||
});
|
});
|
||||||
|
|
||||||
export const users = sqliteTable("user", {
|
export const users = sqliteTable("user", {
|
||||||
@@ -165,9 +188,11 @@ export const users = sqliteTable("user", {
|
|||||||
|
|
||||||
export const securityKeys = sqliteTable("webauthnCredentials", {
|
export const securityKeys = sqliteTable("webauthnCredentials", {
|
||||||
credentialId: text("credentialId").primaryKey(),
|
credentialId: text("credentialId").primaryKey(),
|
||||||
userId: text("userId").notNull().references(() => users.userId, {
|
userId: text("userId")
|
||||||
onDelete: "cascade"
|
.notNull()
|
||||||
}),
|
.references(() => users.userId, {
|
||||||
|
onDelete: "cascade"
|
||||||
|
}),
|
||||||
publicKey: text("publicKey").notNull(),
|
publicKey: text("publicKey").notNull(),
|
||||||
signCount: integer("signCount").notNull(),
|
signCount: integer("signCount").notNull(),
|
||||||
transports: text("transports"),
|
transports: text("transports"),
|
||||||
@@ -186,6 +211,14 @@ export const webauthnChallenge = sqliteTable("webauthnChallenge", {
|
|||||||
expiresAt: integer("expiresAt").notNull() // Unix timestamp
|
expiresAt: integer("expiresAt").notNull() // Unix timestamp
|
||||||
});
|
});
|
||||||
|
|
||||||
|
export const setupTokens = sqliteTable("setupTokens", {
|
||||||
|
tokenId: text("tokenId").primaryKey(),
|
||||||
|
token: text("token").notNull(),
|
||||||
|
used: integer("used", { mode: "boolean" }).notNull().default(false),
|
||||||
|
dateCreated: text("dateCreated").notNull(),
|
||||||
|
dateUsed: text("dateUsed")
|
||||||
|
});
|
||||||
|
|
||||||
export const newts = sqliteTable("newt", {
|
export const newts = sqliteTable("newt", {
|
||||||
newtId: text("id").primaryKey(),
|
newtId: text("id").primaryKey(),
|
||||||
secretHash: text("secretHash").notNull(),
|
secretHash: text("secretHash").notNull(),
|
||||||
@@ -212,10 +245,10 @@ export const clients = sqliteTable("clients", {
|
|||||||
megabytesIn: integer("bytesIn"),
|
megabytesIn: integer("bytesIn"),
|
||||||
megabytesOut: integer("bytesOut"),
|
megabytesOut: integer("bytesOut"),
|
||||||
lastBandwidthUpdate: text("lastBandwidthUpdate"),
|
lastBandwidthUpdate: text("lastBandwidthUpdate"),
|
||||||
lastPing: text("lastPing"),
|
lastPing: integer("lastPing"),
|
||||||
type: text("type").notNull(), // "olm"
|
type: text("type").notNull(), // "olm"
|
||||||
online: integer("online", { mode: "boolean" }).notNull().default(false),
|
online: integer("online", { mode: "boolean" }).notNull().default(false),
|
||||||
endpoint: text("endpoint"),
|
// endpoint: text("endpoint"),
|
||||||
lastHolePunch: integer("lastHolePunch")
|
lastHolePunch: integer("lastHolePunch")
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -226,13 +259,15 @@ export const clientSites = sqliteTable("clientSites", {
|
|||||||
siteId: integer("siteId")
|
siteId: integer("siteId")
|
||||||
.notNull()
|
.notNull()
|
||||||
.references(() => sites.siteId, { onDelete: "cascade" }),
|
.references(() => sites.siteId, { onDelete: "cascade" }),
|
||||||
isRelayed: integer("isRelayed", { mode: "boolean" }).notNull().default(false)
|
isRelayed: integer("isRelayed", { mode: "boolean" }).notNull().default(false),
|
||||||
|
endpoint: text("endpoint")
|
||||||
});
|
});
|
||||||
|
|
||||||
export const olms = sqliteTable("olms", {
|
export const olms = sqliteTable("olms", {
|
||||||
olmId: text("id").primaryKey(),
|
olmId: text("id").primaryKey(),
|
||||||
secretHash: text("secretHash").notNull(),
|
secretHash: text("secretHash").notNull(),
|
||||||
dateCreated: text("dateCreated").notNull(),
|
dateCreated: text("dateCreated").notNull(),
|
||||||
|
version: text("version"),
|
||||||
clientId: integer("clientId").references(() => clients.clientId, {
|
clientId: integer("clientId").references(() => clients.clientId, {
|
||||||
onDelete: "cascade"
|
onDelete: "cascade"
|
||||||
})
|
})
|
||||||
@@ -535,7 +570,7 @@ export const resourceRules = sqliteTable("resourceRules", {
|
|||||||
.references(() => resources.resourceId, { onDelete: "cascade" }),
|
.references(() => resources.resourceId, { onDelete: "cascade" }),
|
||||||
enabled: integer("enabled", { mode: "boolean" }).notNull().default(true),
|
enabled: integer("enabled", { mode: "boolean" }).notNull().default(true),
|
||||||
priority: integer("priority").notNull(),
|
priority: integer("priority").notNull(),
|
||||||
action: text("action").notNull(), // ACCEPT, DROP
|
action: text("action").notNull(), // ACCEPT, DROP, PASS
|
||||||
match: text("match").notNull(), // CIDR, PATH, IP
|
match: text("match").notNull(), // CIDR, PATH, IP
|
||||||
value: text("value").notNull()
|
value: text("value").notNull()
|
||||||
});
|
});
|
||||||
@@ -677,4 +712,7 @@ export type Idp = InferSelectModel<typeof idp>;
|
|||||||
export type ApiKey = InferSelectModel<typeof apiKeys>;
|
export type ApiKey = InferSelectModel<typeof apiKeys>;
|
||||||
export type ApiKeyAction = InferSelectModel<typeof apiKeyActions>;
|
export type ApiKeyAction = InferSelectModel<typeof apiKeyActions>;
|
||||||
export type ApiKeyOrg = InferSelectModel<typeof apiKeyOrg>;
|
export type ApiKeyOrg = InferSelectModel<typeof apiKeyOrg>;
|
||||||
|
export type SiteResource = InferSelectModel<typeof siteResources>;
|
||||||
export type OrgDomains = InferSelectModel<typeof orgDomains>;
|
export type OrgDomains = InferSelectModel<typeof orgDomains>;
|
||||||
|
export type SetupToken = InferSelectModel<typeof setupTokens>;
|
||||||
|
export type HostMeta = InferSelectModel<typeof hostMeta>;
|
||||||
|
|||||||
@@ -6,6 +6,11 @@ import logger from "@server/logger";
|
|||||||
import SMTPTransport from "nodemailer/lib/smtp-transport";
|
import SMTPTransport from "nodemailer/lib/smtp-transport";
|
||||||
|
|
||||||
function createEmailClient() {
|
function createEmailClient() {
|
||||||
|
if (config.isManagedMode()) {
|
||||||
|
// LETS NOT WORRY ABOUT EMAILS IN HYBRID
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const emailConfig = config.getRawConfig().email;
|
const emailConfig = config.getRawConfig().email;
|
||||||
if (!emailConfig) {
|
if (!emailConfig) {
|
||||||
logger.warn(
|
logger.warn(
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ export const WelcomeQuickStart = ({
|
|||||||
To learn how to use Newt, including more
|
To learn how to use Newt, including more
|
||||||
installation methods, visit the{" "}
|
installation methods, visit the{" "}
|
||||||
<a
|
<a
|
||||||
href="https://docs.fossorial.io"
|
href="https://docs.digpangolin.com/manage/sites/install-site"
|
||||||
className="underline"
|
className="underline"
|
||||||
>
|
>
|
||||||
docs
|
docs
|
||||||
|
|||||||
151
server/hybridServer.ts
Normal file
151
server/hybridServer.ts
Normal file
@@ -0,0 +1,151 @@
|
|||||||
|
import logger from "@server/logger";
|
||||||
|
import config from "@server/lib/config";
|
||||||
|
import { createWebSocketClient } from "./routers/ws/client";
|
||||||
|
import { addPeer, deletePeer } from "./routers/gerbil/peers";
|
||||||
|
import { db, exitNodes } from "./db";
|
||||||
|
import { TraefikConfigManager } from "./lib/traefikConfig";
|
||||||
|
import { tokenManager } from "./lib/tokenManager";
|
||||||
|
import { APP_VERSION } from "./lib/consts";
|
||||||
|
import axios from "axios";
|
||||||
|
|
||||||
|
export async function createHybridClientServer() {
|
||||||
|
logger.info("Starting hybrid client server...");
|
||||||
|
|
||||||
|
// Start the token manager
|
||||||
|
await tokenManager.start();
|
||||||
|
|
||||||
|
const token = await tokenManager.getToken();
|
||||||
|
|
||||||
|
const monitor = new TraefikConfigManager();
|
||||||
|
|
||||||
|
await monitor.start();
|
||||||
|
|
||||||
|
// Create client
|
||||||
|
const client = createWebSocketClient(
|
||||||
|
token,
|
||||||
|
config.getRawConfig().managed!.endpoint!,
|
||||||
|
{
|
||||||
|
reconnectInterval: 5000,
|
||||||
|
pingInterval: 30000,
|
||||||
|
pingTimeout: 10000
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
// Register message handlers
|
||||||
|
client.registerHandler("remoteExitNode/peers/add", async (message) => {
|
||||||
|
const { publicKey, allowedIps } = message.data;
|
||||||
|
|
||||||
|
// TODO: we are getting the exit node twice here
|
||||||
|
// NOTE: there should only be one gerbil registered so...
|
||||||
|
const [exitNode] = await db.select().from(exitNodes).limit(1);
|
||||||
|
await addPeer(exitNode.exitNodeId, {
|
||||||
|
publicKey: publicKey,
|
||||||
|
allowedIps: allowedIps || []
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
client.registerHandler("remoteExitNode/peers/remove", async (message) => {
|
||||||
|
const { publicKey } = message.data;
|
||||||
|
|
||||||
|
// TODO: we are getting the exit node twice here
|
||||||
|
// NOTE: there should only be one gerbil registered so...
|
||||||
|
const [exitNode] = await db.select().from(exitNodes).limit(1);
|
||||||
|
await deletePeer(exitNode.exitNodeId, publicKey);
|
||||||
|
});
|
||||||
|
|
||||||
|
// /update-proxy-mapping
|
||||||
|
client.registerHandler("remoteExitNode/update-proxy-mapping", async (message) => {
|
||||||
|
try {
|
||||||
|
const [exitNode] = await db.select().from(exitNodes).limit(1);
|
||||||
|
if (!exitNode) {
|
||||||
|
logger.error("No exit node found for proxy mapping update");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const response = await axios.post(`${exitNode.endpoint}/update-proxy-mapping`, message.data);
|
||||||
|
logger.info(`Successfully updated proxy mapping: ${response.status}`);
|
||||||
|
} catch (error) {
|
||||||
|
// pull data out of the axios error to log
|
||||||
|
if (axios.isAxiosError(error)) {
|
||||||
|
logger.error("Error updating proxy mapping:", {
|
||||||
|
message: error.message,
|
||||||
|
code: error.code,
|
||||||
|
status: error.response?.status,
|
||||||
|
statusText: error.response?.statusText,
|
||||||
|
url: error.config?.url,
|
||||||
|
method: error.config?.method
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
logger.error("Error updating proxy mapping:", error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// /update-destinations
|
||||||
|
client.registerHandler("remoteExitNode/update-destinations", async (message) => {
|
||||||
|
try {
|
||||||
|
const [exitNode] = await db.select().from(exitNodes).limit(1);
|
||||||
|
if (!exitNode) {
|
||||||
|
logger.error("No exit node found for destinations update");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const response = await axios.post(`${exitNode.endpoint}/update-destinations`, message.data);
|
||||||
|
logger.info(`Successfully updated destinations: ${response.status}`);
|
||||||
|
} catch (error) {
|
||||||
|
// pull data out of the axios error to log
|
||||||
|
if (axios.isAxiosError(error)) {
|
||||||
|
logger.error("Error updating destinations:", {
|
||||||
|
message: error.message,
|
||||||
|
code: error.code,
|
||||||
|
status: error.response?.status,
|
||||||
|
statusText: error.response?.statusText,
|
||||||
|
url: error.config?.url,
|
||||||
|
method: error.config?.method
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
logger.error("Error updating destinations:", error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
client.registerHandler("remoteExitNode/traefik/reload", async (message) => {
|
||||||
|
await monitor.HandleTraefikConfig();
|
||||||
|
});
|
||||||
|
|
||||||
|
// Listen to connection events
|
||||||
|
client.on("connect", () => {
|
||||||
|
logger.info("Connected to WebSocket server");
|
||||||
|
client.sendMessage("remoteExitNode/register", {
|
||||||
|
remoteExitNodeVersion: APP_VERSION
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
client.on("disconnect", () => {
|
||||||
|
logger.info("Disconnected from WebSocket server");
|
||||||
|
});
|
||||||
|
|
||||||
|
client.on("message", (message) => {
|
||||||
|
logger.info(
|
||||||
|
`Received message: ${message.type} ${JSON.stringify(message.data)}`
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
// Connect to the server
|
||||||
|
try {
|
||||||
|
await client.connect();
|
||||||
|
logger.info("Connection initiated");
|
||||||
|
} catch (error) {
|
||||||
|
logger.error("Failed to connect:", error);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Store the ping interval stop function for cleanup if needed
|
||||||
|
const stopPingInterval = client.sendMessageInterval(
|
||||||
|
"remoteExitNode/ping",
|
||||||
|
{ timestamp: Date.now() / 1000 },
|
||||||
|
60000
|
||||||
|
); // send every minute
|
||||||
|
|
||||||
|
// Return client and cleanup function for potential use
|
||||||
|
return { client, stopPingInterval };
|
||||||
|
}
|
||||||
@@ -7,16 +7,35 @@ import { createNextServer } from "./nextServer";
|
|||||||
import { createInternalServer } from "./internalServer";
|
import { createInternalServer } from "./internalServer";
|
||||||
import { ApiKey, ApiKeyOrg, Session, User, UserOrg } from "@server/db";
|
import { ApiKey, ApiKeyOrg, Session, User, UserOrg } from "@server/db";
|
||||||
import { createIntegrationApiServer } from "./integrationApiServer";
|
import { createIntegrationApiServer } from "./integrationApiServer";
|
||||||
|
import { createHybridClientServer } from "./hybridServer";
|
||||||
import config from "@server/lib/config";
|
import config from "@server/lib/config";
|
||||||
|
import { setHostMeta } from "@server/lib/hostMeta";
|
||||||
|
import { initTelemetryClient } from "./lib/telemetry.js";
|
||||||
|
import { TraefikConfigManager } from "./lib/traefikConfig.js";
|
||||||
|
|
||||||
async function startServers() {
|
async function startServers() {
|
||||||
|
await setHostMeta();
|
||||||
|
|
||||||
await config.initServer();
|
await config.initServer();
|
||||||
await runSetupFunctions();
|
await runSetupFunctions();
|
||||||
|
|
||||||
|
initTelemetryClient();
|
||||||
|
|
||||||
// Start all servers
|
// Start all servers
|
||||||
const apiServer = createApiServer();
|
const apiServer = createApiServer();
|
||||||
const internalServer = createInternalServer();
|
const internalServer = createInternalServer();
|
||||||
const nextServer = await createNextServer();
|
|
||||||
|
let hybridClientServer;
|
||||||
|
let nextServer;
|
||||||
|
if (config.isManagedMode()) {
|
||||||
|
hybridClientServer = await createHybridClientServer();
|
||||||
|
} else {
|
||||||
|
nextServer = await createNextServer();
|
||||||
|
if (config.getRawConfig().traefik.file_mode) {
|
||||||
|
const monitor = new TraefikConfigManager();
|
||||||
|
await monitor.start();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
let integrationServer;
|
let integrationServer;
|
||||||
if (config.getRawConfig().flags?.enable_integration_api) {
|
if (config.getRawConfig().flags?.enable_integration_api) {
|
||||||
@@ -27,7 +46,8 @@ async function startServers() {
|
|||||||
apiServer,
|
apiServer,
|
||||||
nextServer,
|
nextServer,
|
||||||
internalServer,
|
internalServer,
|
||||||
integrationServer
|
integrationServer,
|
||||||
|
hybridClientServer
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -30,12 +30,6 @@ export class Config {
|
|||||||
throw new Error(`Invalid configuration file: ${errors}`);
|
throw new Error(`Invalid configuration file: ${errors}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (process.env.APP_BASE_DOMAIN) {
|
|
||||||
console.log(
|
|
||||||
"WARNING: You're using deprecated environment variables. Transition to the configuration file. https://docs.fossorial.io/"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
parsedConfig.users ||
|
parsedConfig.users ||
|
||||||
@@ -102,16 +96,18 @@ export class Config {
|
|||||||
if (!this.rawConfig) {
|
if (!this.rawConfig) {
|
||||||
throw new Error("Config not loaded. Call load() first.");
|
throw new Error("Config not loaded. Call load() first.");
|
||||||
}
|
}
|
||||||
license.setServerSecret(this.rawConfig.server.secret);
|
if (this.rawConfig.managed) {
|
||||||
|
// LETS NOT WORRY ABOUT THE SERVER SECRET WHEN MANAGED
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
license.setServerSecret(this.rawConfig.server.secret!);
|
||||||
|
|
||||||
await this.checkKeyStatus();
|
await this.checkKeyStatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
private async checkKeyStatus() {
|
private async checkKeyStatus() {
|
||||||
const licenseStatus = await license.check();
|
const licenseStatus = await license.check();
|
||||||
if (
|
if (!licenseStatus.isHostLicensed) {
|
||||||
!licenseStatus.isHostLicensed
|
|
||||||
) {
|
|
||||||
this.checkSupporterKey();
|
this.checkSupporterKey();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -153,6 +149,10 @@ export class Config {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public isManagedMode() {
|
||||||
|
return typeof this.rawConfig?.managed === "object";
|
||||||
|
}
|
||||||
|
|
||||||
public async checkSupporterKey() {
|
public async checkSupporterKey() {
|
||||||
const [key] = await db.select().from(supporterKey).limit(1);
|
const [key] = await db.select().from(supporterKey).limit(1);
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import path from "path";
|
|||||||
import { fileURLToPath } from "url";
|
import { fileURLToPath } from "url";
|
||||||
|
|
||||||
// This is a placeholder value replaced by the build process
|
// This is a placeholder value replaced by the build process
|
||||||
export const APP_VERSION = "1.8.0";
|
export const APP_VERSION = "1.9.0";
|
||||||
|
|
||||||
export const __FILENAME = fileURLToPath(import.meta.url);
|
export const __FILENAME = fileURLToPath(import.meta.url);
|
||||||
export const __DIRNAME = path.dirname(__FILENAME);
|
export const __DIRNAME = path.dirname(__FILENAME);
|
||||||
|
|||||||
86
server/lib/exitNodeComms.ts
Normal file
86
server/lib/exitNodeComms.ts
Normal file
@@ -0,0 +1,86 @@
|
|||||||
|
import axios from "axios";
|
||||||
|
import logger from "@server/logger";
|
||||||
|
import { ExitNode } from "@server/db";
|
||||||
|
|
||||||
|
interface ExitNodeRequest {
|
||||||
|
remoteType: string;
|
||||||
|
localPath: string;
|
||||||
|
method?: "POST" | "DELETE" | "GET" | "PUT";
|
||||||
|
data?: any;
|
||||||
|
queryParams?: Record<string, string>;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sends a request to an exit node, handling both remote and local exit nodes
|
||||||
|
* @param exitNode The exit node to send the request to
|
||||||
|
* @param request The request configuration
|
||||||
|
* @returns Promise<any> Response data for local nodes, undefined for remote nodes
|
||||||
|
*/
|
||||||
|
export async function sendToExitNode(
|
||||||
|
exitNode: ExitNode,
|
||||||
|
request: ExitNodeRequest
|
||||||
|
): Promise<any> {
|
||||||
|
if (!exitNode.reachableAt) {
|
||||||
|
throw new Error(
|
||||||
|
`Exit node with ID ${exitNode.exitNodeId} is not reachable`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Handle local exit node with HTTP API
|
||||||
|
const method = request.method || "POST";
|
||||||
|
let url = `${exitNode.reachableAt}${request.localPath}`;
|
||||||
|
|
||||||
|
// Add query parameters if provided
|
||||||
|
if (request.queryParams) {
|
||||||
|
const params = new URLSearchParams(request.queryParams);
|
||||||
|
url += `?${params.toString()}`;
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
let response;
|
||||||
|
|
||||||
|
switch (method) {
|
||||||
|
case "POST":
|
||||||
|
response = await axios.post(url, request.data, {
|
||||||
|
headers: {
|
||||||
|
"Content-Type": "application/json"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
break;
|
||||||
|
case "DELETE":
|
||||||
|
response = await axios.delete(url);
|
||||||
|
break;
|
||||||
|
case "GET":
|
||||||
|
response = await axios.get(url);
|
||||||
|
break;
|
||||||
|
case "PUT":
|
||||||
|
response = await axios.put(url, request.data, {
|
||||||
|
headers: {
|
||||||
|
"Content-Type": "application/json"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
throw new Error(`Unsupported HTTP method: ${method}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
logger.info(`Exit node request successful:`, {
|
||||||
|
method,
|
||||||
|
url,
|
||||||
|
status: response.data.status
|
||||||
|
});
|
||||||
|
|
||||||
|
return response.data;
|
||||||
|
} catch (error) {
|
||||||
|
if (axios.isAxiosError(error)) {
|
||||||
|
logger.error(
|
||||||
|
`Error making ${method} request (can Pangolin see Gerbil HTTP API?) for exit node at ${exitNode.reachableAt} (status: ${error.response?.status}): ${error.message}`
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
logger.error(
|
||||||
|
`Error making ${method} request for exit node at ${exitNode.reachableAt}: ${error}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
throw error;
|
||||||
|
}
|
||||||
|
}
|
||||||
59
server/lib/exitNodes/exitNodes.ts
Normal file
59
server/lib/exitNodes/exitNodes.ts
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
import { db, exitNodes } from "@server/db";
|
||||||
|
import logger from "@server/logger";
|
||||||
|
import { ExitNodePingResult } from "@server/routers/newt";
|
||||||
|
import { eq } from "drizzle-orm";
|
||||||
|
|
||||||
|
export async function verifyExitNodeOrgAccess(
|
||||||
|
exitNodeId: number,
|
||||||
|
orgId: string
|
||||||
|
) {
|
||||||
|
const [exitNode] = await db
|
||||||
|
.select()
|
||||||
|
.from(exitNodes)
|
||||||
|
.where(eq(exitNodes.exitNodeId, exitNodeId));
|
||||||
|
|
||||||
|
// For any other type, deny access
|
||||||
|
return { hasAccess: true, exitNode };
|
||||||
|
}
|
||||||
|
|
||||||
|
export async function listExitNodes(orgId: string, filterOnline = false) {
|
||||||
|
// TODO: pick which nodes to send and ping better than just all of them that are not remote
|
||||||
|
const allExitNodes = await db
|
||||||
|
.select({
|
||||||
|
exitNodeId: exitNodes.exitNodeId,
|
||||||
|
name: exitNodes.name,
|
||||||
|
address: exitNodes.address,
|
||||||
|
endpoint: exitNodes.endpoint,
|
||||||
|
publicKey: exitNodes.publicKey,
|
||||||
|
listenPort: exitNodes.listenPort,
|
||||||
|
reachableAt: exitNodes.reachableAt,
|
||||||
|
maxConnections: exitNodes.maxConnections,
|
||||||
|
online: exitNodes.online,
|
||||||
|
lastPing: exitNodes.lastPing,
|
||||||
|
type: exitNodes.type
|
||||||
|
})
|
||||||
|
.from(exitNodes);
|
||||||
|
|
||||||
|
// Filter the nodes. If there are NO remoteExitNodes then do nothing. If there are then remove all of the non-remoteExitNodes
|
||||||
|
if (allExitNodes.length === 0) {
|
||||||
|
logger.warn("No exit nodes found!");
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
|
||||||
|
return allExitNodes;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function selectBestExitNode(
|
||||||
|
pingResults: ExitNodePingResult[]
|
||||||
|
): ExitNodePingResult | null {
|
||||||
|
if (!pingResults || pingResults.length === 0) {
|
||||||
|
logger.warn("No ping results provided");
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return pingResults[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
export async function checkExitNodeOrg(exitNodeId: number, orgId: string) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
2
server/lib/exitNodes/index.ts
Normal file
2
server/lib/exitNodes/index.ts
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
export * from "./exitNodes";
|
||||||
|
export * from "./shared";
|
||||||
30
server/lib/exitNodes/shared.ts
Normal file
30
server/lib/exitNodes/shared.ts
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
import { db, exitNodes } from "@server/db";
|
||||||
|
import config from "@server/lib/config";
|
||||||
|
import { findNextAvailableCidr } from "@server/lib/ip";
|
||||||
|
|
||||||
|
export async function getNextAvailableSubnet(): Promise<string> {
|
||||||
|
// Get all existing subnets from routes table
|
||||||
|
const existingAddresses = await db
|
||||||
|
.select({
|
||||||
|
address: exitNodes.address
|
||||||
|
})
|
||||||
|
.from(exitNodes);
|
||||||
|
|
||||||
|
const addresses = existingAddresses.map((a) => a.address);
|
||||||
|
let subnet = findNextAvailableCidr(
|
||||||
|
addresses,
|
||||||
|
config.getRawConfig().gerbil.block_size,
|
||||||
|
config.getRawConfig().gerbil.subnet_group
|
||||||
|
);
|
||||||
|
if (!subnet) {
|
||||||
|
throw new Error("No available subnets remaining in space");
|
||||||
|
}
|
||||||
|
|
||||||
|
// replace the last octet with 1
|
||||||
|
subnet =
|
||||||
|
subnet.split(".").slice(0, 3).join(".") +
|
||||||
|
".1" +
|
||||||
|
"/" +
|
||||||
|
subnet.split("/")[1];
|
||||||
|
return subnet;
|
||||||
|
}
|
||||||
32
server/lib/geoip.ts
Normal file
32
server/lib/geoip.ts
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
import axios from "axios";
|
||||||
|
import config from "./config";
|
||||||
|
import { tokenManager } from "./tokenManager";
|
||||||
|
import logger from "@server/logger";
|
||||||
|
|
||||||
|
export async function getCountryCodeForIp(
|
||||||
|
ip: string
|
||||||
|
): Promise<string | undefined> {
|
||||||
|
try {
|
||||||
|
const response = await axios.get(
|
||||||
|
`${config.getRawConfig().managed?.endpoint}/api/v1/hybrid/geoip/${ip}`,
|
||||||
|
await tokenManager.getAuthHeader()
|
||||||
|
);
|
||||||
|
|
||||||
|
return response.data.data.countryCode;
|
||||||
|
} catch (error) {
|
||||||
|
if (axios.isAxiosError(error)) {
|
||||||
|
logger.error("Error fetching config in verify session:", {
|
||||||
|
message: error.message,
|
||||||
|
code: error.code,
|
||||||
|
status: error.response?.status,
|
||||||
|
statusText: error.response?.statusText,
|
||||||
|
url: error.config?.url,
|
||||||
|
method: error.config?.method
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
logger.error("Error fetching config in verify session:", error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
@@ -1,7 +1,9 @@
|
|||||||
import { db } from "@server/db";
|
import { db, HostMeta } from "@server/db";
|
||||||
import { hostMeta } from "@server/db";
|
import { hostMeta } from "@server/db";
|
||||||
import { v4 as uuidv4 } from "uuid";
|
import { v4 as uuidv4 } from "uuid";
|
||||||
|
|
||||||
|
let gotHostMeta: HostMeta | undefined;
|
||||||
|
|
||||||
export async function setHostMeta() {
|
export async function setHostMeta() {
|
||||||
const [existing] = await db.select().from(hostMeta).limit(1);
|
const [existing] = await db.select().from(hostMeta).limit(1);
|
||||||
|
|
||||||
@@ -15,3 +17,12 @@ export async function setHostMeta() {
|
|||||||
.insert(hostMeta)
|
.insert(hostMeta)
|
||||||
.values({ hostMetaId: id, createdAt: new Date().getTime() });
|
.values({ hostMetaId: id, createdAt: new Date().getTime() });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export async function getHostMeta() {
|
||||||
|
if (gotHostMeta) {
|
||||||
|
return gotHostMeta;
|
||||||
|
}
|
||||||
|
const [meta] = await db.select().from(hostMeta).limit(1);
|
||||||
|
gotHostMeta = meta;
|
||||||
|
return meta;
|
||||||
|
}
|
||||||
@@ -1 +1,3 @@
|
|||||||
export * from "./response";
|
export * from "./response";
|
||||||
|
export { tokenManager, TokenManager } from "./tokenManager";
|
||||||
|
export * from "./geoip";
|
||||||
|
|||||||
@@ -271,7 +271,7 @@ export async function getNextAvailableClientSubnet(
|
|||||||
)
|
)
|
||||||
].filter((address) => address !== null) as string[];
|
].filter((address) => address !== null) as string[];
|
||||||
|
|
||||||
let subnet = findNextAvailableCidr(addresses, 32, org.subnet); // pick the sites address in the org
|
const subnet = findNextAvailableCidr(addresses, 32, org.subnet); // pick the sites address in the org
|
||||||
if (!subnet) {
|
if (!subnet) {
|
||||||
throw new Error("No available subnets remaining in space");
|
throw new Error("No available subnets remaining in space");
|
||||||
}
|
}
|
||||||
@@ -289,7 +289,7 @@ export async function getNextAvailableOrgSubnet(): Promise<string> {
|
|||||||
|
|
||||||
const addresses = existingAddresses.map((org) => org.subnet!);
|
const addresses = existingAddresses.map((org) => org.subnet!);
|
||||||
|
|
||||||
let subnet = findNextAvailableCidr(
|
const subnet = findNextAvailableCidr(
|
||||||
addresses,
|
addresses,
|
||||||
config.getRawConfig().orgs.block_size,
|
config.getRawConfig().orgs.block_size,
|
||||||
config.getRawConfig().orgs.subnet_group
|
config.getRawConfig().orgs.subnet_group
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { MemoryStore, Store } from "express-rate-limit";
|
import { MemoryStore, Store } from "express-rate-limit";
|
||||||
|
|
||||||
export function createStore(): Store {
|
export function createStore(): Store {
|
||||||
let rateLimitStore: Store = new MemoryStore();
|
const rateLimitStore: Store = new MemoryStore();
|
||||||
return rateLimitStore;
|
return rateLimitStore;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ import yaml from "js-yaml";
|
|||||||
import { configFilePath1, configFilePath2 } from "./consts";
|
import { configFilePath1, configFilePath2 } from "./consts";
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
import stoi from "./stoi";
|
import stoi from "./stoi";
|
||||||
import { build } from "@server/build";
|
|
||||||
|
|
||||||
const portSchema = z.number().positive().gt(0).lte(65535);
|
const portSchema = z.number().positive().gt(0).lte(65535);
|
||||||
|
|
||||||
@@ -17,16 +16,38 @@ export const configSchema = z
|
|||||||
dashboard_url: z
|
dashboard_url: z
|
||||||
.string()
|
.string()
|
||||||
.url()
|
.url()
|
||||||
.optional()
|
|
||||||
.pipe(z.string().url())
|
.pipe(z.string().url())
|
||||||
.transform((url) => url.toLowerCase()),
|
.transform((url) => url.toLowerCase())
|
||||||
|
.optional(),
|
||||||
log_level: z
|
log_level: z
|
||||||
.enum(["debug", "info", "warn", "error"])
|
.enum(["debug", "info", "warn", "error"])
|
||||||
.optional()
|
.optional()
|
||||||
.default("info"),
|
.default("info"),
|
||||||
save_logs: z.boolean().optional().default(false),
|
save_logs: z.boolean().optional().default(false),
|
||||||
log_failed_attempts: z.boolean().optional().default(false)
|
log_failed_attempts: z.boolean().optional().default(false),
|
||||||
|
telemetry: z
|
||||||
|
.object({
|
||||||
|
anonymous_usage: z.boolean().optional().default(true)
|
||||||
|
})
|
||||||
|
.optional()
|
||||||
|
.default({})
|
||||||
|
}).optional().default({
|
||||||
|
log_level: "info",
|
||||||
|
save_logs: false,
|
||||||
|
log_failed_attempts: false,
|
||||||
|
telemetry: {
|
||||||
|
anonymous_usage: true
|
||||||
|
}
|
||||||
}),
|
}),
|
||||||
|
managed: z
|
||||||
|
.object({
|
||||||
|
name: z.string().optional(),
|
||||||
|
id: z.string().optional(),
|
||||||
|
secret: z.string().optional(),
|
||||||
|
endpoint: z.string().optional().default("https://pangolin.fossorial.io"),
|
||||||
|
redirect_endpoint: z.string().optional()
|
||||||
|
})
|
||||||
|
.optional(),
|
||||||
domains: z
|
domains: z
|
||||||
.record(
|
.record(
|
||||||
z.string(),
|
z.string(),
|
||||||
@@ -43,7 +64,7 @@ export const configSchema = z
|
|||||||
server: z.object({
|
server: z.object({
|
||||||
integration_port: portSchema
|
integration_port: portSchema
|
||||||
.optional()
|
.optional()
|
||||||
.default(3003)
|
.default(3004)
|
||||||
.transform(stoi)
|
.transform(stoi)
|
||||||
.pipe(portSchema.optional()),
|
.pipe(portSchema.optional()),
|
||||||
external_port: portSchema
|
external_port: portSchema
|
||||||
@@ -108,9 +129,24 @@ export const configSchema = z
|
|||||||
trust_proxy: z.number().int().gte(0).optional().default(1),
|
trust_proxy: z.number().int().gte(0).optional().default(1),
|
||||||
secret: z
|
secret: z
|
||||||
.string()
|
.string()
|
||||||
.optional()
|
|
||||||
.transform(getEnvOrYaml("SERVER_SECRET"))
|
|
||||||
.pipe(z.string().min(8))
|
.pipe(z.string().min(8))
|
||||||
|
.optional()
|
||||||
|
}).optional().default({
|
||||||
|
integration_port: 3003,
|
||||||
|
external_port: 3000,
|
||||||
|
internal_port: 3001,
|
||||||
|
next_port: 3002,
|
||||||
|
internal_hostname: "pangolin",
|
||||||
|
session_cookie_name: "p_session_token",
|
||||||
|
resource_access_token_param: "p_token",
|
||||||
|
resource_access_token_headers: {
|
||||||
|
id: "P-Access-Token-Id",
|
||||||
|
token: "P-Access-Token"
|
||||||
|
},
|
||||||
|
resource_session_request_param: "resource_session_request_param",
|
||||||
|
dashboard_session_length_hours: 720,
|
||||||
|
resource_session_length_hours: 720,
|
||||||
|
trust_proxy: 1
|
||||||
}),
|
}),
|
||||||
postgres: z
|
postgres: z
|
||||||
.object({
|
.object({
|
||||||
@@ -130,7 +166,20 @@ export const configSchema = z
|
|||||||
https_entrypoint: z.string().optional().default("websecure"),
|
https_entrypoint: z.string().optional().default("websecure"),
|
||||||
additional_middlewares: z.array(z.string()).optional(),
|
additional_middlewares: z.array(z.string()).optional(),
|
||||||
cert_resolver: z.string().optional().default("letsencrypt"),
|
cert_resolver: z.string().optional().default("letsencrypt"),
|
||||||
prefer_wildcard_cert: z.boolean().optional().default(false)
|
prefer_wildcard_cert: z.boolean().optional().default(false),
|
||||||
|
certificates_path: z.string().default("/var/certificates"),
|
||||||
|
monitor_interval: z.number().default(5000),
|
||||||
|
dynamic_cert_config_path: z
|
||||||
|
.string()
|
||||||
|
.optional()
|
||||||
|
.default("/var/dynamic/cert_config.yml"),
|
||||||
|
dynamic_router_config_path: z
|
||||||
|
.string()
|
||||||
|
.optional()
|
||||||
|
.default("/var/dynamic/router_config.yml"),
|
||||||
|
static_domains: z.array(z.string()).optional().default([]),
|
||||||
|
site_types: z.array(z.string()).optional().default(["newt", "wireguard", "local"]),
|
||||||
|
file_mode: z.boolean().optional().default(false)
|
||||||
})
|
})
|
||||||
.optional()
|
.optional()
|
||||||
.default({}),
|
.default({}),
|
||||||
@@ -213,7 +262,10 @@ export const configSchema = z
|
|||||||
smtp_host: z.string().optional(),
|
smtp_host: z.string().optional(),
|
||||||
smtp_port: portSchema.optional(),
|
smtp_port: portSchema.optional(),
|
||||||
smtp_user: z.string().optional(),
|
smtp_user: z.string().optional(),
|
||||||
smtp_pass: z.string().optional().transform(getEnvOrYaml("EMAIL_SMTP_PASS")),
|
smtp_pass: z
|
||||||
|
.string()
|
||||||
|
.optional()
|
||||||
|
.transform(getEnvOrYaml("EMAIL_SMTP_PASS")),
|
||||||
smtp_secure: z.boolean().optional(),
|
smtp_secure: z.boolean().optional(),
|
||||||
smtp_tls_reject_unauthorized: z.boolean().optional(),
|
smtp_tls_reject_unauthorized: z.boolean().optional(),
|
||||||
no_reply: z.string().email().optional()
|
no_reply: z.string().email().optional()
|
||||||
@@ -229,7 +281,7 @@ export const configSchema = z
|
|||||||
disable_local_sites: z.boolean().optional(),
|
disable_local_sites: z.boolean().optional(),
|
||||||
disable_basic_wireguard_sites: z.boolean().optional(),
|
disable_basic_wireguard_sites: z.boolean().optional(),
|
||||||
disable_config_managed_domains: z.boolean().optional(),
|
disable_config_managed_domains: z.boolean().optional(),
|
||||||
enable_clients: z.boolean().optional().default(true),
|
enable_clients: z.boolean().optional().default(true)
|
||||||
})
|
})
|
||||||
.optional(),
|
.optional(),
|
||||||
dns: z
|
dns: z
|
||||||
@@ -252,6 +304,10 @@ export const configSchema = z
|
|||||||
if (data.flags?.disable_config_managed_domains) {
|
if (data.flags?.disable_config_managed_domains) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
// If hybrid is defined, domains are not required
|
||||||
|
if (data.managed) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if (keys.length === 0) {
|
if (keys.length === 0) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -260,6 +316,35 @@ export const configSchema = z
|
|||||||
{
|
{
|
||||||
message: "At least one domain must be defined"
|
message: "At least one domain must be defined"
|
||||||
}
|
}
|
||||||
|
)
|
||||||
|
.refine(
|
||||||
|
(data) => {
|
||||||
|
// If hybrid is defined, server secret is not required
|
||||||
|
if (data.managed) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
// If hybrid is not defined, server secret must be defined. If its not defined already then pull it from env
|
||||||
|
if (data.server?.secret === undefined) {
|
||||||
|
data.server.secret = process.env.SERVER_SECRET;
|
||||||
|
}
|
||||||
|
return data.server?.secret !== undefined && data.server.secret.length > 0;
|
||||||
|
},
|
||||||
|
{
|
||||||
|
message: "Server secret must be defined"
|
||||||
|
}
|
||||||
|
)
|
||||||
|
.refine(
|
||||||
|
(data) => {
|
||||||
|
// If hybrid is defined, dashboard_url is not required
|
||||||
|
if (data.managed) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
// If hybrid is not defined, dashboard_url must be defined
|
||||||
|
return data.app.dashboard_url !== undefined && data.app.dashboard_url.length > 0;
|
||||||
|
},
|
||||||
|
{
|
||||||
|
message: "Dashboard URL must be defined"
|
||||||
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
export function readConfigFile() {
|
export function readConfigFile() {
|
||||||
@@ -287,7 +372,7 @@ export function readConfigFile() {
|
|||||||
|
|
||||||
if (!environment) {
|
if (!environment) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
"No configuration file found. Please create one. https://docs.fossorial.io/"
|
"No configuration file found. Please create one. https://docs.digpangolin.com/self-host/advanced/config-file"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
78
server/lib/remoteCertificates/certificates.ts
Normal file
78
server/lib/remoteCertificates/certificates.ts
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
import axios from "axios";
|
||||||
|
import { tokenManager } from "../tokenManager";
|
||||||
|
import logger from "@server/logger";
|
||||||
|
import config from "../config";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get valid certificates for the specified domains
|
||||||
|
*/
|
||||||
|
export async function getValidCertificatesForDomainsHybrid(domains: Set<string>): Promise<
|
||||||
|
Array<{
|
||||||
|
id: number;
|
||||||
|
domain: string;
|
||||||
|
certFile: string | null;
|
||||||
|
keyFile: string | null;
|
||||||
|
expiresAt: Date | null;
|
||||||
|
updatedAt?: Date | null;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
|
if (domains.size === 0) {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
|
||||||
|
const domainArray = Array.from(domains);
|
||||||
|
|
||||||
|
try {
|
||||||
|
const response = await axios.get(
|
||||||
|
`${config.getRawConfig().managed?.endpoint}/api/v1/hybrid/certificates/domains`,
|
||||||
|
{
|
||||||
|
params: {
|
||||||
|
domains: domainArray
|
||||||
|
},
|
||||||
|
headers: (await tokenManager.getAuthHeader()).headers
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
if (response.status !== 200) {
|
||||||
|
logger.error(
|
||||||
|
`Failed to fetch certificates for domains: ${response.status} ${response.statusText}`,
|
||||||
|
{ responseData: response.data, domains: domainArray }
|
||||||
|
);
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
|
||||||
|
// logger.debug(
|
||||||
|
// `Successfully retrieved ${response.data.data?.length || 0} certificates for ${domainArray.length} domains`
|
||||||
|
// );
|
||||||
|
|
||||||
|
return response.data.data;
|
||||||
|
} catch (error) {
|
||||||
|
// pull data out of the axios error to log
|
||||||
|
if (axios.isAxiosError(error)) {
|
||||||
|
logger.error("Error getting certificates:", {
|
||||||
|
message: error.message,
|
||||||
|
code: error.code,
|
||||||
|
status: error.response?.status,
|
||||||
|
statusText: error.response?.statusText,
|
||||||
|
url: error.config?.url,
|
||||||
|
method: error.config?.method
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
logger.error("Error getting certificates:", error);
|
||||||
|
}
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export async function getValidCertificatesForDomains(domains: Set<string>): Promise<
|
||||||
|
Array<{
|
||||||
|
id: number;
|
||||||
|
domain: string;
|
||||||
|
certFile: string | null;
|
||||||
|
keyFile: string | null;
|
||||||
|
expiresAt: Date | null;
|
||||||
|
updatedAt?: Date | null;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
|
return []; // stub
|
||||||
|
}
|
||||||
1
server/lib/remoteCertificates/index.ts
Normal file
1
server/lib/remoteCertificates/index.ts
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export * from "./certificates";
|
||||||
73
server/lib/remoteProxy.ts
Normal file
73
server/lib/remoteProxy.ts
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
import { Request, Response, NextFunction } from "express";
|
||||||
|
import { Router } from "express";
|
||||||
|
import axios from "axios";
|
||||||
|
import HttpCode from "@server/types/HttpCode";
|
||||||
|
import createHttpError from "http-errors";
|
||||||
|
import logger from "@server/logger";
|
||||||
|
import config from "@server/lib/config";
|
||||||
|
import { tokenManager } from "./tokenManager";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Proxy function that forwards requests to the remote cloud server
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const proxyToRemote = async (
|
||||||
|
req: Request,
|
||||||
|
res: Response,
|
||||||
|
next: NextFunction,
|
||||||
|
endpoint: string
|
||||||
|
): Promise<any> => {
|
||||||
|
try {
|
||||||
|
const remoteUrl = `${config.getRawConfig().managed?.endpoint?.replace(/\/$/, '')}/api/v1/${endpoint}`;
|
||||||
|
|
||||||
|
logger.debug(`Proxying request to remote server: ${remoteUrl}`);
|
||||||
|
|
||||||
|
// Forward the request to the remote server
|
||||||
|
const response = await axios({
|
||||||
|
method: req.method as any,
|
||||||
|
url: remoteUrl,
|
||||||
|
data: req.body,
|
||||||
|
headers: {
|
||||||
|
'Content-Type': 'application/json',
|
||||||
|
...(await tokenManager.getAuthHeader()).headers
|
||||||
|
},
|
||||||
|
params: req.query,
|
||||||
|
timeout: 30000, // 30 second timeout
|
||||||
|
validateStatus: () => true // Don't throw on non-2xx status codes
|
||||||
|
});
|
||||||
|
|
||||||
|
logger.debug(`Proxy response: ${JSON.stringify(response.data)}`);
|
||||||
|
|
||||||
|
// Forward the response status and data
|
||||||
|
return res.status(response.status).json(response.data);
|
||||||
|
|
||||||
|
} catch (error) {
|
||||||
|
logger.error("Error proxying request to remote server:", error);
|
||||||
|
|
||||||
|
if (axios.isAxiosError(error)) {
|
||||||
|
if (error.code === 'ECONNREFUSED' || error.code === 'ENOTFOUND') {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.SERVICE_UNAVAILABLE,
|
||||||
|
"Remote server is unavailable"
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (error.code === 'ECONNABORTED') {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.REQUEST_TIMEOUT,
|
||||||
|
"Request to remote server timed out"
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.INTERNAL_SERVER_ERROR,
|
||||||
|
"Error communicating with remote server"
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
};
|
||||||
304
server/lib/telemetry.ts
Normal file
304
server/lib/telemetry.ts
Normal file
@@ -0,0 +1,304 @@
|
|||||||
|
import { PostHog } from "posthog-node";
|
||||||
|
import config from "./config";
|
||||||
|
import { getHostMeta } from "./hostMeta";
|
||||||
|
import logger from "@server/logger";
|
||||||
|
import { apiKeys, db, roles } from "@server/db";
|
||||||
|
import { sites, users, orgs, resources, clients, idp } from "@server/db";
|
||||||
|
import { eq, count, notInArray } from "drizzle-orm";
|
||||||
|
import { APP_VERSION } from "./consts";
|
||||||
|
import crypto from "crypto";
|
||||||
|
import { UserType } from "@server/types/UserTypes";
|
||||||
|
import { build } from "@server/build";
|
||||||
|
|
||||||
|
class TelemetryClient {
|
||||||
|
private client: PostHog | null = null;
|
||||||
|
private enabled: boolean;
|
||||||
|
private intervalId: NodeJS.Timeout | null = null;
|
||||||
|
|
||||||
|
constructor() {
|
||||||
|
const enabled = config.getRawConfig().app.telemetry.anonymous_usage;
|
||||||
|
this.enabled = enabled;
|
||||||
|
const dev = process.env.ENVIRONMENT !== "prod";
|
||||||
|
|
||||||
|
if (dev) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (build !== "oss") {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.enabled) {
|
||||||
|
this.client = new PostHog(
|
||||||
|
"phc_QYuATSSZt6onzssWcYJbXLzQwnunIpdGGDTYhzK3VjX",
|
||||||
|
{
|
||||||
|
host: "https://digpangolin.com/relay-O7yI"
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
process.on("exit", () => {
|
||||||
|
this.client?.shutdown();
|
||||||
|
});
|
||||||
|
|
||||||
|
this.sendStartupEvents().catch((err) => {
|
||||||
|
logger.error("Failed to send startup telemetry:", err);
|
||||||
|
});
|
||||||
|
|
||||||
|
this.startAnalyticsInterval();
|
||||||
|
|
||||||
|
logger.info(
|
||||||
|
"Pangolin now gathers anonymous usage data to help us better understand how the software is used and guide future improvements and feature development. You can find more details, including instructions for opting out of this anonymous data collection, at: https://docs.digpangolin.com/telemetry"
|
||||||
|
);
|
||||||
|
} else if (!this.enabled) {
|
||||||
|
logger.info(
|
||||||
|
"Analytics usage statistics collection is disabled. If you enable this, you can help us make Pangolin better for everyone. Learn more at: https://docs.digpangolin.com/telemetry"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private startAnalyticsInterval() {
|
||||||
|
this.intervalId = setInterval(
|
||||||
|
() => {
|
||||||
|
this.collectAndSendAnalytics().catch((err) => {
|
||||||
|
logger.error("Failed to collect analytics:", err);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
6 * 60 * 60 * 1000
|
||||||
|
);
|
||||||
|
|
||||||
|
this.collectAndSendAnalytics().catch((err) => {
|
||||||
|
logger.error("Failed to collect initial analytics:", err);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
private anon(value: string): string {
|
||||||
|
return crypto
|
||||||
|
.createHash("sha256")
|
||||||
|
.update(value.toLowerCase())
|
||||||
|
.digest("hex");
|
||||||
|
}
|
||||||
|
|
||||||
|
private async getSystemStats() {
|
||||||
|
try {
|
||||||
|
const [sitesCount] = await db
|
||||||
|
.select({ count: count() })
|
||||||
|
.from(sites);
|
||||||
|
const [usersCount] = await db
|
||||||
|
.select({ count: count() })
|
||||||
|
.from(users);
|
||||||
|
const [usersInternalCount] = await db
|
||||||
|
.select({ count: count() })
|
||||||
|
.from(users)
|
||||||
|
.where(eq(users.type, UserType.Internal));
|
||||||
|
const [usersOidcCount] = await db
|
||||||
|
.select({ count: count() })
|
||||||
|
.from(users)
|
||||||
|
.where(eq(users.type, UserType.OIDC));
|
||||||
|
const [orgsCount] = await db.select({ count: count() }).from(orgs);
|
||||||
|
const [resourcesCount] = await db
|
||||||
|
.select({ count: count() })
|
||||||
|
.from(resources);
|
||||||
|
const [clientsCount] = await db
|
||||||
|
.select({ count: count() })
|
||||||
|
.from(clients);
|
||||||
|
const [idpCount] = await db.select({ count: count() }).from(idp);
|
||||||
|
const [onlineSitesCount] = await db
|
||||||
|
.select({ count: count() })
|
||||||
|
.from(sites)
|
||||||
|
.where(eq(sites.online, true));
|
||||||
|
const [numApiKeys] = await db
|
||||||
|
.select({ count: count() })
|
||||||
|
.from(apiKeys);
|
||||||
|
const [customRoles] = await db
|
||||||
|
.select({ count: count() })
|
||||||
|
.from(roles)
|
||||||
|
.where(notInArray(roles.name, ["Admin", "Member"]));
|
||||||
|
|
||||||
|
const adminUsers = await db
|
||||||
|
.select({ email: users.email })
|
||||||
|
.from(users)
|
||||||
|
.where(eq(users.serverAdmin, true));
|
||||||
|
|
||||||
|
const resourceDetails = await db
|
||||||
|
.select({
|
||||||
|
name: resources.name,
|
||||||
|
sso: resources.sso,
|
||||||
|
protocol: resources.protocol,
|
||||||
|
http: resources.http
|
||||||
|
})
|
||||||
|
.from(resources);
|
||||||
|
|
||||||
|
const siteDetails = await db
|
||||||
|
.select({
|
||||||
|
siteName: sites.name,
|
||||||
|
megabytesIn: sites.megabytesIn,
|
||||||
|
megabytesOut: sites.megabytesOut,
|
||||||
|
type: sites.type,
|
||||||
|
online: sites.online
|
||||||
|
})
|
||||||
|
.from(sites);
|
||||||
|
|
||||||
|
const supporterKey = config.getSupporterData();
|
||||||
|
|
||||||
|
return {
|
||||||
|
numSites: sitesCount.count,
|
||||||
|
numUsers: usersCount.count,
|
||||||
|
numUsersInternal: usersInternalCount.count,
|
||||||
|
numUsersOidc: usersOidcCount.count,
|
||||||
|
numOrganizations: orgsCount.count,
|
||||||
|
numResources: resourcesCount.count,
|
||||||
|
numClients: clientsCount.count,
|
||||||
|
numIdentityProviders: idpCount.count,
|
||||||
|
numSitesOnline: onlineSitesCount.count,
|
||||||
|
resources: resourceDetails,
|
||||||
|
adminUsers: adminUsers.map((u) => u.email),
|
||||||
|
sites: siteDetails,
|
||||||
|
appVersion: APP_VERSION,
|
||||||
|
numApiKeys: numApiKeys.count,
|
||||||
|
numCustomRoles: customRoles.count,
|
||||||
|
supporterStatus: {
|
||||||
|
valid: supporterKey?.valid || false,
|
||||||
|
tier: supporterKey?.tier || "None",
|
||||||
|
githubUsername: supporterKey?.githubUsername || null
|
||||||
|
}
|
||||||
|
};
|
||||||
|
} catch (error) {
|
||||||
|
logger.error("Failed to collect system stats:", error);
|
||||||
|
throw error;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private async sendStartupEvents() {
|
||||||
|
if (!this.enabled || !this.client) return;
|
||||||
|
|
||||||
|
const hostMeta = await getHostMeta();
|
||||||
|
if (!hostMeta) return;
|
||||||
|
|
||||||
|
const stats = await this.getSystemStats();
|
||||||
|
|
||||||
|
this.client.capture({
|
||||||
|
distinctId: hostMeta.hostMetaId,
|
||||||
|
event: "supporter_status",
|
||||||
|
properties: {
|
||||||
|
valid: stats.supporterStatus.valid,
|
||||||
|
tier: stats.supporterStatus.tier,
|
||||||
|
github_username: stats.supporterStatus.githubUsername
|
||||||
|
? this.anon(stats.supporterStatus.githubUsername)
|
||||||
|
: "None"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
this.client.capture({
|
||||||
|
distinctId: hostMeta.hostMetaId,
|
||||||
|
event: "host_startup",
|
||||||
|
properties: {
|
||||||
|
host_id: hostMeta.hostMetaId,
|
||||||
|
app_version: stats.appVersion,
|
||||||
|
install_timestamp: hostMeta.createdAt
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
for (const email of stats.adminUsers) {
|
||||||
|
// There should only be on admin user, but just in case
|
||||||
|
if (email) {
|
||||||
|
this.client.capture({
|
||||||
|
distinctId: this.anon(email),
|
||||||
|
event: "admin_user",
|
||||||
|
properties: {
|
||||||
|
host_id: hostMeta.hostMetaId,
|
||||||
|
app_version: stats.appVersion,
|
||||||
|
hashed_email: this.anon(email)
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private async collectAndSendAnalytics() {
|
||||||
|
if (!this.enabled || !this.client) return;
|
||||||
|
|
||||||
|
try {
|
||||||
|
const hostMeta = await getHostMeta();
|
||||||
|
if (!hostMeta) {
|
||||||
|
logger.warn(
|
||||||
|
"Telemetry: Host meta not found, skipping analytics"
|
||||||
|
);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const stats = await this.getSystemStats();
|
||||||
|
|
||||||
|
this.client.capture({
|
||||||
|
distinctId: hostMeta.hostMetaId,
|
||||||
|
event: "system_analytics",
|
||||||
|
properties: {
|
||||||
|
app_version: stats.appVersion,
|
||||||
|
num_sites: stats.numSites,
|
||||||
|
num_users: stats.numUsers,
|
||||||
|
num_users_internal: stats.numUsersInternal,
|
||||||
|
num_users_oidc: stats.numUsersOidc,
|
||||||
|
num_organizations: stats.numOrganizations,
|
||||||
|
num_resources: stats.numResources,
|
||||||
|
num_clients: stats.numClients,
|
||||||
|
num_identity_providers: stats.numIdentityProviders,
|
||||||
|
num_sites_online: stats.numSitesOnline,
|
||||||
|
resources: stats.resources.map((r) => ({
|
||||||
|
name: this.anon(r.name),
|
||||||
|
sso_enabled: r.sso,
|
||||||
|
protocol: r.protocol,
|
||||||
|
http_enabled: r.http
|
||||||
|
})),
|
||||||
|
sites: stats.sites.map((s) => ({
|
||||||
|
site_name: this.anon(s.siteName),
|
||||||
|
megabytes_in: s.megabytesIn,
|
||||||
|
megabytes_out: s.megabytesOut,
|
||||||
|
type: s.type,
|
||||||
|
online: s.online
|
||||||
|
})),
|
||||||
|
num_api_keys: stats.numApiKeys,
|
||||||
|
num_custom_roles: stats.numCustomRoles
|
||||||
|
}
|
||||||
|
});
|
||||||
|
} catch (error) {
|
||||||
|
logger.error("Failed to send analytics:", error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
async sendTelemetry(eventName: string, properties: Record<string, any>) {
|
||||||
|
if (!this.enabled || !this.client) return;
|
||||||
|
|
||||||
|
const hostMeta = await getHostMeta();
|
||||||
|
if (!hostMeta) {
|
||||||
|
logger.warn("Telemetry: Host meta not found, skipping telemetry");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.client.groupIdentify({
|
||||||
|
groupType: "host_id",
|
||||||
|
groupKey: hostMeta.hostMetaId,
|
||||||
|
properties
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
shutdown() {
|
||||||
|
if (this.intervalId) {
|
||||||
|
clearInterval(this.intervalId);
|
||||||
|
this.intervalId = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.enabled && this.client) {
|
||||||
|
this.client.shutdown();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
let telemetryClient!: TelemetryClient;
|
||||||
|
|
||||||
|
export function initTelemetryClient() {
|
||||||
|
if (!telemetryClient) {
|
||||||
|
telemetryClient = new TelemetryClient();
|
||||||
|
}
|
||||||
|
return telemetryClient;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default telemetryClient;
|
||||||
274
server/lib/tokenManager.ts
Normal file
274
server/lib/tokenManager.ts
Normal file
@@ -0,0 +1,274 @@
|
|||||||
|
import axios from "axios";
|
||||||
|
import config from "@server/lib/config";
|
||||||
|
import logger from "@server/logger";
|
||||||
|
|
||||||
|
export interface TokenResponse {
|
||||||
|
success: boolean;
|
||||||
|
message?: string;
|
||||||
|
data: {
|
||||||
|
token: string;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Token Manager - Handles automatic token refresh for hybrid server authentication
|
||||||
|
*
|
||||||
|
* Usage throughout the application:
|
||||||
|
* ```typescript
|
||||||
|
* import { tokenManager } from "@server/lib/tokenManager";
|
||||||
|
*
|
||||||
|
* // Get the current valid token
|
||||||
|
* const token = await tokenManager.getToken();
|
||||||
|
*
|
||||||
|
* // Force refresh if needed
|
||||||
|
* await tokenManager.refreshToken();
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* The token manager automatically refreshes tokens every 24 hours by default
|
||||||
|
* and is started once in the privateHybridServer.ts file.
|
||||||
|
*/
|
||||||
|
|
||||||
|
export class TokenManager {
|
||||||
|
private token: string | null = null;
|
||||||
|
private refreshInterval: NodeJS.Timeout | null = null;
|
||||||
|
private isRefreshing: boolean = false;
|
||||||
|
private refreshIntervalMs: number;
|
||||||
|
private retryInterval: NodeJS.Timeout | null = null;
|
||||||
|
private retryIntervalMs: number;
|
||||||
|
private tokenAvailablePromise: Promise<void> | null = null;
|
||||||
|
private tokenAvailableResolve: (() => void) | null = null;
|
||||||
|
|
||||||
|
constructor(refreshIntervalMs: number = 24 * 60 * 60 * 1000, retryIntervalMs: number = 5000) {
|
||||||
|
// Default to 24 hours for refresh, 5 seconds for retry
|
||||||
|
this.refreshIntervalMs = refreshIntervalMs;
|
||||||
|
this.retryIntervalMs = retryIntervalMs;
|
||||||
|
this.setupTokenAvailablePromise();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set up promise that resolves when token becomes available
|
||||||
|
*/
|
||||||
|
private setupTokenAvailablePromise(): void {
|
||||||
|
this.tokenAvailablePromise = new Promise((resolve) => {
|
||||||
|
this.tokenAvailableResolve = resolve;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Resolve the token available promise
|
||||||
|
*/
|
||||||
|
private resolveTokenAvailable(): void {
|
||||||
|
if (this.tokenAvailableResolve) {
|
||||||
|
this.tokenAvailableResolve();
|
||||||
|
this.tokenAvailableResolve = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Start the token manager - gets initial token and sets up refresh interval
|
||||||
|
* If initial token fetch fails, keeps retrying every few seconds until successful
|
||||||
|
*/
|
||||||
|
async start(): Promise<void> {
|
||||||
|
logger.info("Starting token manager...");
|
||||||
|
|
||||||
|
try {
|
||||||
|
await this.refreshToken();
|
||||||
|
this.setupRefreshInterval();
|
||||||
|
this.resolveTokenAvailable();
|
||||||
|
logger.info("Token manager started successfully");
|
||||||
|
} catch (error) {
|
||||||
|
logger.warn(`Failed to get initial token, will retry in ${this.retryIntervalMs / 1000} seconds:`, error);
|
||||||
|
this.setupRetryInterval();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set up retry interval for initial token acquisition
|
||||||
|
*/
|
||||||
|
private setupRetryInterval(): void {
|
||||||
|
if (this.retryInterval) {
|
||||||
|
clearInterval(this.retryInterval);
|
||||||
|
}
|
||||||
|
|
||||||
|
this.retryInterval = setInterval(async () => {
|
||||||
|
try {
|
||||||
|
logger.debug("Retrying initial token acquisition");
|
||||||
|
await this.refreshToken();
|
||||||
|
this.setupRefreshInterval();
|
||||||
|
this.clearRetryInterval();
|
||||||
|
this.resolveTokenAvailable();
|
||||||
|
logger.info("Token manager started successfully after retry");
|
||||||
|
} catch (error) {
|
||||||
|
logger.debug("Token acquisition retry failed, will try again");
|
||||||
|
}
|
||||||
|
}, this.retryIntervalMs);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Clear retry interval
|
||||||
|
*/
|
||||||
|
private clearRetryInterval(): void {
|
||||||
|
if (this.retryInterval) {
|
||||||
|
clearInterval(this.retryInterval);
|
||||||
|
this.retryInterval = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Stop the token manager and clear all intervals
|
||||||
|
*/
|
||||||
|
stop(): void {
|
||||||
|
if (this.refreshInterval) {
|
||||||
|
clearInterval(this.refreshInterval);
|
||||||
|
this.refreshInterval = null;
|
||||||
|
}
|
||||||
|
this.clearRetryInterval();
|
||||||
|
logger.info("Token manager stopped");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the current valid token
|
||||||
|
*/
|
||||||
|
|
||||||
|
// TODO: WE SHOULD NOT BE GETTING A TOKEN EVERY TIME WE REQUEST IT
|
||||||
|
async getToken(): Promise<string> {
|
||||||
|
// If we don't have a token yet, wait for it to become available
|
||||||
|
if (!this.token && this.tokenAvailablePromise) {
|
||||||
|
await this.tokenAvailablePromise;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!this.token) {
|
||||||
|
if (this.isRefreshing) {
|
||||||
|
// Wait for current refresh to complete
|
||||||
|
await this.waitForRefresh();
|
||||||
|
} else {
|
||||||
|
throw new Error("No valid token available");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!this.token) {
|
||||||
|
throw new Error("No valid token available");
|
||||||
|
}
|
||||||
|
|
||||||
|
return this.token;
|
||||||
|
}
|
||||||
|
|
||||||
|
async getAuthHeader() {
|
||||||
|
return {
|
||||||
|
headers: {
|
||||||
|
Authorization: `Bearer ${await this.getToken()}`,
|
||||||
|
"X-CSRF-Token": "x-csrf-protection",
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Force refresh the token
|
||||||
|
*/
|
||||||
|
async refreshToken(): Promise<void> {
|
||||||
|
if (this.isRefreshing) {
|
||||||
|
await this.waitForRefresh();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.isRefreshing = true;
|
||||||
|
|
||||||
|
try {
|
||||||
|
const hybridConfig = config.getRawConfig().managed;
|
||||||
|
|
||||||
|
if (
|
||||||
|
!hybridConfig?.id ||
|
||||||
|
!hybridConfig?.secret ||
|
||||||
|
!hybridConfig?.endpoint
|
||||||
|
) {
|
||||||
|
throw new Error("Hybrid configuration is not defined");
|
||||||
|
}
|
||||||
|
|
||||||
|
const tokenEndpoint = `${hybridConfig.endpoint}/api/v1/auth/remoteExitNode/get-token`;
|
||||||
|
|
||||||
|
const tokenData = {
|
||||||
|
remoteExitNodeId: hybridConfig.id,
|
||||||
|
secret: hybridConfig.secret
|
||||||
|
};
|
||||||
|
|
||||||
|
logger.debug("Requesting new token from server");
|
||||||
|
|
||||||
|
const response = await axios.post<TokenResponse>(
|
||||||
|
tokenEndpoint,
|
||||||
|
tokenData,
|
||||||
|
{
|
||||||
|
headers: {
|
||||||
|
"Content-Type": "application/json",
|
||||||
|
"X-CSRF-Token": "x-csrf-protection"
|
||||||
|
},
|
||||||
|
timeout: 10000 // 10 second timeout
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
if (!response.data.success) {
|
||||||
|
throw new Error(
|
||||||
|
`Failed to get token: ${response.data.message}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!response.data.data.token) {
|
||||||
|
throw new Error("Received empty token from server");
|
||||||
|
}
|
||||||
|
|
||||||
|
this.token = response.data.data.token;
|
||||||
|
logger.debug("Token refreshed successfully");
|
||||||
|
} catch (error) {
|
||||||
|
if (axios.isAxiosError(error)) {
|
||||||
|
logger.error("Error updating proxy mapping:", {
|
||||||
|
message: error.message,
|
||||||
|
code: error.code,
|
||||||
|
status: error.response?.status,
|
||||||
|
statusText: error.response?.statusText,
|
||||||
|
url: error.config?.url,
|
||||||
|
method: error.config?.method
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
logger.error("Error updating proxy mapping:", error);
|
||||||
|
}
|
||||||
|
|
||||||
|
throw new Error("Failed to refresh token");
|
||||||
|
} finally {
|
||||||
|
this.isRefreshing = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set up automatic token refresh interval
|
||||||
|
*/
|
||||||
|
private setupRefreshInterval(): void {
|
||||||
|
if (this.refreshInterval) {
|
||||||
|
clearInterval(this.refreshInterval);
|
||||||
|
}
|
||||||
|
|
||||||
|
this.refreshInterval = setInterval(async () => {
|
||||||
|
try {
|
||||||
|
logger.debug("Auto-refreshing token");
|
||||||
|
await this.refreshToken();
|
||||||
|
} catch (error) {
|
||||||
|
logger.error("Failed to auto-refresh token:", error);
|
||||||
|
}
|
||||||
|
}, this.refreshIntervalMs);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Wait for current refresh operation to complete
|
||||||
|
*/
|
||||||
|
private async waitForRefresh(): Promise<void> {
|
||||||
|
return new Promise((resolve) => {
|
||||||
|
const checkInterval = setInterval(() => {
|
||||||
|
if (!this.isRefreshing) {
|
||||||
|
clearInterval(checkInterval);
|
||||||
|
resolve();
|
||||||
|
}
|
||||||
|
}, 100);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Export a singleton instance for use throughout the application
|
||||||
|
export const tokenManager = new TokenManager();
|
||||||
907
server/lib/traefikConfig.ts
Normal file
907
server/lib/traefikConfig.ts
Normal file
@@ -0,0 +1,907 @@
|
|||||||
|
import * as fs from "fs";
|
||||||
|
import * as path from "path";
|
||||||
|
import config from "@server/lib/config";
|
||||||
|
import logger from "@server/logger";
|
||||||
|
import * as yaml from "js-yaml";
|
||||||
|
import axios from "axios";
|
||||||
|
import { db, exitNodes } from "@server/db";
|
||||||
|
import { eq } from "drizzle-orm";
|
||||||
|
import { tokenManager } from "./tokenManager";
|
||||||
|
import {
|
||||||
|
getCurrentExitNodeId,
|
||||||
|
getTraefikConfig
|
||||||
|
} from "@server/routers/traefik";
|
||||||
|
import {
|
||||||
|
getValidCertificatesForDomains,
|
||||||
|
getValidCertificatesForDomainsHybrid
|
||||||
|
} from "./remoteCertificates";
|
||||||
|
|
||||||
|
export class TraefikConfigManager {
|
||||||
|
private intervalId: NodeJS.Timeout | null = null;
|
||||||
|
private isRunning = false;
|
||||||
|
private activeDomains = new Set<string>();
|
||||||
|
private timeoutId: NodeJS.Timeout | null = null;
|
||||||
|
private lastCertificateFetch: Date | null = null;
|
||||||
|
private lastKnownDomains = new Set<string>();
|
||||||
|
private lastLocalCertificateState = new Map<
|
||||||
|
string,
|
||||||
|
{
|
||||||
|
exists: boolean;
|
||||||
|
lastModified: Date | null;
|
||||||
|
expiresAt: Date | null;
|
||||||
|
}
|
||||||
|
>();
|
||||||
|
|
||||||
|
constructor() {}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Start monitoring certificates
|
||||||
|
*/
|
||||||
|
private scheduleNextExecution(): void {
|
||||||
|
const intervalMs = config.getRawConfig().traefik.monitor_interval;
|
||||||
|
const now = Date.now();
|
||||||
|
const nextExecution = Math.ceil(now / intervalMs) * intervalMs;
|
||||||
|
const delay = nextExecution - now;
|
||||||
|
|
||||||
|
this.timeoutId = setTimeout(async () => {
|
||||||
|
try {
|
||||||
|
await this.HandleTraefikConfig();
|
||||||
|
} catch (error) {
|
||||||
|
logger.error("Error during certificate monitoring:", error);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.isRunning) {
|
||||||
|
this.scheduleNextExecution(); // Schedule the next execution
|
||||||
|
}
|
||||||
|
}, delay);
|
||||||
|
}
|
||||||
|
|
||||||
|
async start(): Promise<void> {
|
||||||
|
if (this.isRunning) {
|
||||||
|
logger.info("Certificate monitor is already running");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this.isRunning = true;
|
||||||
|
logger.info(`Starting certificate monitor for exit node`);
|
||||||
|
|
||||||
|
// Ensure certificates directory exists
|
||||||
|
await this.ensureDirectoryExists(
|
||||||
|
config.getRawConfig().traefik.certificates_path
|
||||||
|
);
|
||||||
|
|
||||||
|
// Initialize local certificate state
|
||||||
|
this.lastLocalCertificateState = await this.scanLocalCertificateState();
|
||||||
|
logger.info(
|
||||||
|
`Found ${this.lastLocalCertificateState.size} existing certificate directories`
|
||||||
|
);
|
||||||
|
|
||||||
|
// Run initial check
|
||||||
|
await this.HandleTraefikConfig();
|
||||||
|
|
||||||
|
// Start synchronized scheduling
|
||||||
|
this.scheduleNextExecution();
|
||||||
|
|
||||||
|
logger.info(
|
||||||
|
`Certificate monitor started with synchronized ${
|
||||||
|
config.getRawConfig().traefik.monitor_interval
|
||||||
|
}ms interval`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Stop monitoring certificates
|
||||||
|
*/
|
||||||
|
stop(): void {
|
||||||
|
if (!this.isRunning) {
|
||||||
|
logger.info("Certificate monitor is not running");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.intervalId) {
|
||||||
|
clearInterval(this.intervalId);
|
||||||
|
this.intervalId = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.isRunning = false;
|
||||||
|
logger.info("Certificate monitor stopped");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Scan local certificate directories to build current state
|
||||||
|
*/
|
||||||
|
private async scanLocalCertificateState(): Promise<
|
||||||
|
Map<
|
||||||
|
string,
|
||||||
|
{
|
||||||
|
exists: boolean;
|
||||||
|
lastModified: Date | null;
|
||||||
|
expiresAt: Date | null;
|
||||||
|
}
|
||||||
|
>
|
||||||
|
> {
|
||||||
|
const state = new Map();
|
||||||
|
const certsPath = config.getRawConfig().traefik.certificates_path;
|
||||||
|
|
||||||
|
try {
|
||||||
|
if (!fs.existsSync(certsPath)) {
|
||||||
|
return state;
|
||||||
|
}
|
||||||
|
|
||||||
|
const certDirs = fs.readdirSync(certsPath, { withFileTypes: true });
|
||||||
|
|
||||||
|
for (const dirent of certDirs) {
|
||||||
|
if (!dirent.isDirectory()) continue;
|
||||||
|
|
||||||
|
const domain = dirent.name;
|
||||||
|
const domainDir = path.join(certsPath, domain);
|
||||||
|
const certPath = path.join(domainDir, "cert.pem");
|
||||||
|
const keyPath = path.join(domainDir, "key.pem");
|
||||||
|
const lastUpdatePath = path.join(domainDir, ".last_update");
|
||||||
|
|
||||||
|
const certExists = await this.fileExists(certPath);
|
||||||
|
const keyExists = await this.fileExists(keyPath);
|
||||||
|
const lastUpdateExists = await this.fileExists(lastUpdatePath);
|
||||||
|
|
||||||
|
let lastModified: Date | null = null;
|
||||||
|
const expiresAt: Date | null = null;
|
||||||
|
|
||||||
|
if (lastUpdateExists) {
|
||||||
|
try {
|
||||||
|
const lastUpdateStr = fs
|
||||||
|
.readFileSync(lastUpdatePath, "utf8")
|
||||||
|
.trim();
|
||||||
|
lastModified = new Date(lastUpdateStr);
|
||||||
|
} catch {
|
||||||
|
// If we can't read the last update, fall back to file stats
|
||||||
|
try {
|
||||||
|
const stats = fs.statSync(certPath);
|
||||||
|
lastModified = stats.mtime;
|
||||||
|
} catch {
|
||||||
|
lastModified = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
state.set(domain, {
|
||||||
|
exists: certExists && keyExists,
|
||||||
|
lastModified,
|
||||||
|
expiresAt
|
||||||
|
});
|
||||||
|
}
|
||||||
|
} catch (error) {
|
||||||
|
logger.error("Error scanning local certificate state:", error);
|
||||||
|
}
|
||||||
|
|
||||||
|
return state;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if we need to fetch certificates from remote
|
||||||
|
*/
|
||||||
|
private shouldFetchCertificates(currentDomains: Set<string>): boolean {
|
||||||
|
// Always fetch on first run
|
||||||
|
if (!this.lastCertificateFetch) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Fetch if it's been more than 24 hours (for renewals)
|
||||||
|
const dayInMs = 24 * 60 * 60 * 1000;
|
||||||
|
const timeSinceLastFetch =
|
||||||
|
Date.now() - this.lastCertificateFetch.getTime();
|
||||||
|
if (timeSinceLastFetch > dayInMs) {
|
||||||
|
logger.info("Fetching certificates due to 24-hour renewal check");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Fetch if domains have changed
|
||||||
|
if (
|
||||||
|
this.lastKnownDomains.size !== currentDomains.size ||
|
||||||
|
!Array.from(this.lastKnownDomains).every((domain) =>
|
||||||
|
currentDomains.has(domain)
|
||||||
|
)
|
||||||
|
) {
|
||||||
|
logger.info("Fetching certificates due to domain changes");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check if any local certificates are missing or appear to be outdated
|
||||||
|
for (const domain of currentDomains) {
|
||||||
|
const localState = this.lastLocalCertificateState.get(domain);
|
||||||
|
if (!localState || !localState.exists) {
|
||||||
|
logger.info(
|
||||||
|
`Fetching certificates due to missing local cert for ${domain}`
|
||||||
|
);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check if certificate is expiring soon (within 30 days)
|
||||||
|
if (localState.expiresAt) {
|
||||||
|
const daysUntilExpiry =
|
||||||
|
(localState.expiresAt.getTime() - Date.now()) /
|
||||||
|
(1000 * 60 * 60 * 24);
|
||||||
|
if (daysUntilExpiry < 30) {
|
||||||
|
logger.info(
|
||||||
|
`Fetching certificates due to upcoming expiry for ${domain} (${Math.round(daysUntilExpiry)} days remaining)`
|
||||||
|
);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Main monitoring logic
|
||||||
|
*/
|
||||||
|
lastActiveDomains: Set<string> = new Set();
|
||||||
|
public async HandleTraefikConfig(): Promise<void> {
|
||||||
|
try {
|
||||||
|
// Get all active domains for this exit node via HTTP call
|
||||||
|
const getTraefikConfig = await this.getTraefikConfig();
|
||||||
|
|
||||||
|
if (!getTraefikConfig) {
|
||||||
|
logger.error(
|
||||||
|
"Failed to fetch active domains from traefik config"
|
||||||
|
);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const { domains, traefikConfig } = getTraefikConfig;
|
||||||
|
|
||||||
|
// Add static domains from config
|
||||||
|
// const staticDomains = [config.getRawConfig().app.dashboard_url];
|
||||||
|
// staticDomains.forEach((domain) => domains.add(domain));
|
||||||
|
|
||||||
|
// Log if domains changed
|
||||||
|
if (
|
||||||
|
this.lastActiveDomains.size !== domains.size ||
|
||||||
|
!Array.from(this.lastActiveDomains).every((domain) =>
|
||||||
|
domains.has(domain)
|
||||||
|
)
|
||||||
|
) {
|
||||||
|
logger.info(
|
||||||
|
`Active domains changed for exit node: ${Array.from(domains).join(", ")}`
|
||||||
|
);
|
||||||
|
this.lastActiveDomains = new Set(domains);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Scan current local certificate state
|
||||||
|
this.lastLocalCertificateState =
|
||||||
|
await this.scanLocalCertificateState();
|
||||||
|
|
||||||
|
// Only fetch certificates if needed (domain changes, missing certs, or daily renewal check)
|
||||||
|
let validCertificates: Array<{
|
||||||
|
id: number;
|
||||||
|
domain: string;
|
||||||
|
certFile: string | null;
|
||||||
|
keyFile: string | null;
|
||||||
|
expiresAt: Date | null;
|
||||||
|
updatedAt?: Date | null;
|
||||||
|
}> = [];
|
||||||
|
|
||||||
|
if (this.shouldFetchCertificates(domains)) {
|
||||||
|
// Get valid certificates for active domains
|
||||||
|
if (config.isManagedMode()) {
|
||||||
|
validCertificates =
|
||||||
|
await getValidCertificatesForDomainsHybrid(domains);
|
||||||
|
} else {
|
||||||
|
validCertificates =
|
||||||
|
await getValidCertificatesForDomains(domains);
|
||||||
|
}
|
||||||
|
this.lastCertificateFetch = new Date();
|
||||||
|
this.lastKnownDomains = new Set(domains);
|
||||||
|
|
||||||
|
logger.info(
|
||||||
|
`Fetched ${validCertificates.length} certificates from remote`
|
||||||
|
);
|
||||||
|
|
||||||
|
// Download and decrypt new certificates
|
||||||
|
await this.processValidCertificates(validCertificates);
|
||||||
|
} else {
|
||||||
|
const timeSinceLastFetch = this.lastCertificateFetch
|
||||||
|
? Math.round(
|
||||||
|
(Date.now() - this.lastCertificateFetch.getTime()) /
|
||||||
|
(1000 * 60)
|
||||||
|
)
|
||||||
|
: 0;
|
||||||
|
|
||||||
|
// logger.debug(
|
||||||
|
// `Skipping certificate fetch - no changes detected and within 24-hour window (last fetch: ${timeSinceLastFetch} minutes ago)`
|
||||||
|
// );
|
||||||
|
|
||||||
|
// Still need to ensure config is up to date with existing certificates
|
||||||
|
await this.updateDynamicConfigFromLocalCerts(domains);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Clean up certificates for domains no longer in use
|
||||||
|
await this.cleanupUnusedCertificates(domains);
|
||||||
|
|
||||||
|
// wait 1 second for traefik to pick up the new certificates
|
||||||
|
await new Promise((resolve) => setTimeout(resolve, 500));
|
||||||
|
|
||||||
|
// Write traefik config as YAML to a second dynamic config file if changed
|
||||||
|
await this.writeTraefikDynamicConfig(traefikConfig);
|
||||||
|
|
||||||
|
// Send domains to SNI proxy
|
||||||
|
try {
|
||||||
|
let exitNode;
|
||||||
|
if (config.getRawConfig().gerbil.exit_node_name) {
|
||||||
|
const exitNodeName =
|
||||||
|
config.getRawConfig().gerbil.exit_node_name!;
|
||||||
|
[exitNode] = await db
|
||||||
|
.select()
|
||||||
|
.from(exitNodes)
|
||||||
|
.where(eq(exitNodes.name, exitNodeName))
|
||||||
|
.limit(1);
|
||||||
|
} else {
|
||||||
|
[exitNode] = await db.select().from(exitNodes).limit(1);
|
||||||
|
}
|
||||||
|
if (exitNode) {
|
||||||
|
try {
|
||||||
|
await axios.post(
|
||||||
|
`${exitNode.reachableAt}/update-local-snis`,
|
||||||
|
{ fullDomains: Array.from(domains) },
|
||||||
|
{ headers: { "Content-Type": "application/json" } }
|
||||||
|
);
|
||||||
|
} catch (error) {
|
||||||
|
// pull data out of the axios error to log
|
||||||
|
if (axios.isAxiosError(error)) {
|
||||||
|
logger.error("Error updating local SNI:", {
|
||||||
|
message: error.message,
|
||||||
|
code: error.code,
|
||||||
|
status: error.response?.status,
|
||||||
|
statusText: error.response?.statusText,
|
||||||
|
url: error.config?.url,
|
||||||
|
method: error.config?.method
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
logger.error("Error updating local SNI:", error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
logger.error(
|
||||||
|
"No exit node found. Has gerbil registered yet?"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
} catch (err) {
|
||||||
|
logger.error("Failed to post domains to SNI proxy:", err);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update active domains tracking
|
||||||
|
this.activeDomains = domains;
|
||||||
|
} catch (error) {
|
||||||
|
logger.error("Error in traefik config monitoring cycle:", error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get all domains currently in use from traefik config API
|
||||||
|
*/
|
||||||
|
private async getTraefikConfig(): Promise<{
|
||||||
|
domains: Set<string>;
|
||||||
|
traefikConfig: any;
|
||||||
|
} | null> {
|
||||||
|
let traefikConfig;
|
||||||
|
try {
|
||||||
|
if (config.isManagedMode()) {
|
||||||
|
const resp = await axios.get(
|
||||||
|
`${config.getRawConfig().managed?.endpoint}/api/v1/hybrid/traefik-config`,
|
||||||
|
await tokenManager.getAuthHeader()
|
||||||
|
);
|
||||||
|
|
||||||
|
if (resp.status !== 200) {
|
||||||
|
logger.error(
|
||||||
|
`Failed to fetch traefik config: ${resp.status} ${resp.statusText}`,
|
||||||
|
{ responseData: resp.data }
|
||||||
|
);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
traefikConfig = resp.data.data;
|
||||||
|
} else {
|
||||||
|
const currentExitNode = await getCurrentExitNodeId();
|
||||||
|
traefikConfig = await getTraefikConfig(
|
||||||
|
currentExitNode,
|
||||||
|
config.getRawConfig().traefik.site_types
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
const domains = new Set<string>();
|
||||||
|
|
||||||
|
if (traefikConfig?.http?.routers) {
|
||||||
|
for (const router of Object.values<any>(
|
||||||
|
traefikConfig.http.routers
|
||||||
|
)) {
|
||||||
|
if (router.rule && typeof router.rule === "string") {
|
||||||
|
// Match Host(`domain`)
|
||||||
|
const match = router.rule.match(/Host\(`([^`]+)`\)/);
|
||||||
|
if (match && match[1]) {
|
||||||
|
domains.add(match[1]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// logger.debug(
|
||||||
|
// `Successfully retrieved traefik config: ${JSON.stringify(traefikConfig)}`
|
||||||
|
// );
|
||||||
|
|
||||||
|
const badgerMiddlewareName = "badger";
|
||||||
|
if (traefikConfig?.http?.middlewares) {
|
||||||
|
traefikConfig.http.middlewares[badgerMiddlewareName] = {
|
||||||
|
plugin: {
|
||||||
|
[badgerMiddlewareName]: {
|
||||||
|
apiBaseUrl: new URL(
|
||||||
|
"/api/v1",
|
||||||
|
`http://${
|
||||||
|
config.getRawConfig().server
|
||||||
|
.internal_hostname
|
||||||
|
}:${config.getRawConfig().server.internal_port}`
|
||||||
|
).href,
|
||||||
|
userSessionCookieName:
|
||||||
|
config.getRawConfig().server
|
||||||
|
.session_cookie_name,
|
||||||
|
|
||||||
|
// deprecated
|
||||||
|
accessTokenQueryParam:
|
||||||
|
config.getRawConfig().server
|
||||||
|
.resource_access_token_param,
|
||||||
|
|
||||||
|
resourceSessionRequestParam:
|
||||||
|
config.getRawConfig().server
|
||||||
|
.resource_session_request_param
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
return { domains, traefikConfig };
|
||||||
|
} catch (error) {
|
||||||
|
// pull data out of the axios error to log
|
||||||
|
if (axios.isAxiosError(error)) {
|
||||||
|
logger.error("Error fetching traefik config:", {
|
||||||
|
message: error.message,
|
||||||
|
code: error.code,
|
||||||
|
status: error.response?.status,
|
||||||
|
statusText: error.response?.statusText,
|
||||||
|
url: error.config?.url,
|
||||||
|
method: error.config?.method
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
logger.error("Error fetching traefik config:", error);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Write traefik config as YAML to a second dynamic config file if changed
|
||||||
|
*/
|
||||||
|
private async writeTraefikDynamicConfig(traefikConfig: any): Promise<void> {
|
||||||
|
const traefikDynamicConfigPath =
|
||||||
|
config.getRawConfig().traefik.dynamic_router_config_path;
|
||||||
|
let shouldWrite = false;
|
||||||
|
let oldJson = "";
|
||||||
|
if (fs.existsSync(traefikDynamicConfigPath)) {
|
||||||
|
try {
|
||||||
|
const oldContent = fs.readFileSync(
|
||||||
|
traefikDynamicConfigPath,
|
||||||
|
"utf8"
|
||||||
|
);
|
||||||
|
// Try to parse as YAML then JSON.stringify for comparison
|
||||||
|
const oldObj = yaml.load(oldContent);
|
||||||
|
oldJson = JSON.stringify(oldObj);
|
||||||
|
} catch {
|
||||||
|
oldJson = "";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const newJson = JSON.stringify(traefikConfig);
|
||||||
|
if (oldJson !== newJson) {
|
||||||
|
shouldWrite = true;
|
||||||
|
}
|
||||||
|
if (shouldWrite) {
|
||||||
|
try {
|
||||||
|
fs.writeFileSync(
|
||||||
|
traefikDynamicConfigPath,
|
||||||
|
yaml.dump(traefikConfig, { noRefs: true }),
|
||||||
|
"utf8"
|
||||||
|
);
|
||||||
|
logger.info("Traefik dynamic config updated");
|
||||||
|
} catch (err) {
|
||||||
|
logger.error("Failed to write traefik dynamic config:", err);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Update dynamic config from existing local certificates without fetching from remote
|
||||||
|
*/
|
||||||
|
private async updateDynamicConfigFromLocalCerts(
|
||||||
|
domains: Set<string>
|
||||||
|
): Promise<void> {
|
||||||
|
const dynamicConfigPath =
|
||||||
|
config.getRawConfig().traefik.dynamic_cert_config_path;
|
||||||
|
|
||||||
|
// Load existing dynamic config if it exists, otherwise initialize
|
||||||
|
let dynamicConfig: any = { tls: { certificates: [] } };
|
||||||
|
if (fs.existsSync(dynamicConfigPath)) {
|
||||||
|
try {
|
||||||
|
const fileContent = fs.readFileSync(dynamicConfigPath, "utf8");
|
||||||
|
dynamicConfig = yaml.load(fileContent) || dynamicConfig;
|
||||||
|
if (!dynamicConfig.tls)
|
||||||
|
dynamicConfig.tls = { certificates: [] };
|
||||||
|
if (!Array.isArray(dynamicConfig.tls.certificates)) {
|
||||||
|
dynamicConfig.tls.certificates = [];
|
||||||
|
}
|
||||||
|
} catch (err) {
|
||||||
|
logger.error("Failed to load existing dynamic config:", err);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Keep a copy of the original config for comparison
|
||||||
|
const originalConfigYaml = yaml.dump(dynamicConfig, { noRefs: true });
|
||||||
|
|
||||||
|
// Clear existing certificates and rebuild from local state
|
||||||
|
dynamicConfig.tls.certificates = [];
|
||||||
|
|
||||||
|
for (const domain of domains) {
|
||||||
|
const localState = this.lastLocalCertificateState.get(domain);
|
||||||
|
if (localState && localState.exists) {
|
||||||
|
const domainDir = path.join(
|
||||||
|
config.getRawConfig().traefik.certificates_path,
|
||||||
|
domain
|
||||||
|
);
|
||||||
|
const certPath = path.join(domainDir, "cert.pem");
|
||||||
|
const keyPath = path.join(domainDir, "key.pem");
|
||||||
|
|
||||||
|
const certEntry = {
|
||||||
|
certFile: certPath,
|
||||||
|
keyFile: keyPath
|
||||||
|
};
|
||||||
|
dynamicConfig.tls.certificates.push(certEntry);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Only write the config if it has changed
|
||||||
|
const newConfigYaml = yaml.dump(dynamicConfig, { noRefs: true });
|
||||||
|
if (newConfigYaml !== originalConfigYaml) {
|
||||||
|
fs.writeFileSync(dynamicConfigPath, newConfigYaml, "utf8");
|
||||||
|
logger.info("Dynamic cert config updated from local certificates");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Process valid certificates - download and decrypt them
|
||||||
|
*/
|
||||||
|
private async processValidCertificates(
|
||||||
|
validCertificates: Array<{
|
||||||
|
id: number;
|
||||||
|
domain: string;
|
||||||
|
certFile: string | null;
|
||||||
|
keyFile: string | null;
|
||||||
|
expiresAt: Date | null;
|
||||||
|
updatedAt?: Date | null;
|
||||||
|
}>
|
||||||
|
): Promise<void> {
|
||||||
|
const dynamicConfigPath =
|
||||||
|
config.getRawConfig().traefik.dynamic_cert_config_path;
|
||||||
|
|
||||||
|
// Load existing dynamic config if it exists, otherwise initialize
|
||||||
|
let dynamicConfig: any = { tls: { certificates: [] } };
|
||||||
|
if (fs.existsSync(dynamicConfigPath)) {
|
||||||
|
try {
|
||||||
|
const fileContent = fs.readFileSync(dynamicConfigPath, "utf8");
|
||||||
|
dynamicConfig = yaml.load(fileContent) || dynamicConfig;
|
||||||
|
if (!dynamicConfig.tls)
|
||||||
|
dynamicConfig.tls = { certificates: [] };
|
||||||
|
if (!Array.isArray(dynamicConfig.tls.certificates)) {
|
||||||
|
dynamicConfig.tls.certificates = [];
|
||||||
|
}
|
||||||
|
} catch (err) {
|
||||||
|
logger.error("Failed to load existing dynamic config:", err);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Keep a copy of the original config for comparison
|
||||||
|
const originalConfigYaml = yaml.dump(dynamicConfig, { noRefs: true });
|
||||||
|
|
||||||
|
for (const cert of validCertificates) {
|
||||||
|
try {
|
||||||
|
if (!cert.certFile || !cert.keyFile) {
|
||||||
|
logger.warn(
|
||||||
|
`Certificate for domain ${cert.domain} is missing cert or key file`
|
||||||
|
);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
const domainDir = path.join(
|
||||||
|
config.getRawConfig().traefik.certificates_path,
|
||||||
|
cert.domain
|
||||||
|
);
|
||||||
|
await this.ensureDirectoryExists(domainDir);
|
||||||
|
|
||||||
|
const certPath = path.join(domainDir, "cert.pem");
|
||||||
|
const keyPath = path.join(domainDir, "key.pem");
|
||||||
|
const lastUpdatePath = path.join(domainDir, ".last_update");
|
||||||
|
|
||||||
|
// Check if we need to update the certificate
|
||||||
|
const shouldUpdate = await this.shouldUpdateCertificate(
|
||||||
|
cert,
|
||||||
|
certPath,
|
||||||
|
keyPath,
|
||||||
|
lastUpdatePath
|
||||||
|
);
|
||||||
|
|
||||||
|
if (shouldUpdate) {
|
||||||
|
logger.info(
|
||||||
|
`Processing certificate for domain: ${cert.domain}`
|
||||||
|
);
|
||||||
|
|
||||||
|
fs.writeFileSync(certPath, cert.certFile, "utf8");
|
||||||
|
fs.writeFileSync(keyPath, cert.keyFile, "utf8");
|
||||||
|
|
||||||
|
// Set appropriate permissions (readable by owner only for key file)
|
||||||
|
fs.chmodSync(certPath, 0o644);
|
||||||
|
fs.chmodSync(keyPath, 0o600);
|
||||||
|
|
||||||
|
// Write/update .last_update file with current timestamp
|
||||||
|
fs.writeFileSync(
|
||||||
|
lastUpdatePath,
|
||||||
|
new Date().toISOString(),
|
||||||
|
"utf8"
|
||||||
|
);
|
||||||
|
|
||||||
|
logger.info(
|
||||||
|
`Certificate updated for domain: ${cert.domain}`
|
||||||
|
);
|
||||||
|
|
||||||
|
// Update local state tracking
|
||||||
|
this.lastLocalCertificateState.set(cert.domain, {
|
||||||
|
exists: true,
|
||||||
|
lastModified: new Date(),
|
||||||
|
expiresAt: cert.expiresAt
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Always ensure the config entry exists and is up to date
|
||||||
|
const certEntry = {
|
||||||
|
certFile: certPath,
|
||||||
|
keyFile: keyPath
|
||||||
|
};
|
||||||
|
// Remove any existing entry for this cert/key path
|
||||||
|
dynamicConfig.tls.certificates =
|
||||||
|
dynamicConfig.tls.certificates.filter(
|
||||||
|
(entry: any) =>
|
||||||
|
entry.certFile !== certEntry.certFile ||
|
||||||
|
entry.keyFile !== certEntry.keyFile
|
||||||
|
);
|
||||||
|
dynamicConfig.tls.certificates.push(certEntry);
|
||||||
|
} catch (error) {
|
||||||
|
logger.error(
|
||||||
|
`Error processing certificate for domain ${cert.domain}:`,
|
||||||
|
error
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Only write the config if it has changed
|
||||||
|
const newConfigYaml = yaml.dump(dynamicConfig, { noRefs: true });
|
||||||
|
if (newConfigYaml !== originalConfigYaml) {
|
||||||
|
fs.writeFileSync(dynamicConfigPath, newConfigYaml, "utf8");
|
||||||
|
logger.info("Dynamic cert config updated");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if certificate should be updated
|
||||||
|
*/
|
||||||
|
private async shouldUpdateCertificate(
|
||||||
|
cert: {
|
||||||
|
id: number;
|
||||||
|
domain: string;
|
||||||
|
expiresAt: Date | null;
|
||||||
|
updatedAt?: Date | null;
|
||||||
|
},
|
||||||
|
certPath: string,
|
||||||
|
keyPath: string,
|
||||||
|
lastUpdatePath: string
|
||||||
|
): Promise<boolean> {
|
||||||
|
try {
|
||||||
|
// If files don't exist, we need to create them
|
||||||
|
const certExists = await this.fileExists(certPath);
|
||||||
|
const keyExists = await this.fileExists(keyPath);
|
||||||
|
const lastUpdateExists = await this.fileExists(lastUpdatePath);
|
||||||
|
|
||||||
|
if (!certExists || !keyExists || !lastUpdateExists) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Read last update time from .last_update file
|
||||||
|
let lastUpdateTime: Date | null = null;
|
||||||
|
try {
|
||||||
|
const lastUpdateStr = fs
|
||||||
|
.readFileSync(lastUpdatePath, "utf8")
|
||||||
|
.trim();
|
||||||
|
lastUpdateTime = new Date(lastUpdateStr);
|
||||||
|
} catch {
|
||||||
|
lastUpdateTime = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Use updatedAt from cert, fallback to expiresAt if not present
|
||||||
|
const dbUpdateTime = cert.updatedAt ?? cert.expiresAt;
|
||||||
|
|
||||||
|
if (!dbUpdateTime) {
|
||||||
|
// If no update time in DB, always update
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// If DB updatedAt is newer than last update file, update
|
||||||
|
if (!lastUpdateTime || dbUpdateTime > lastUpdateTime) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
} catch (error) {
|
||||||
|
logger.error(
|
||||||
|
`Error checking certificate update status for ${cert.domain}:`,
|
||||||
|
error
|
||||||
|
);
|
||||||
|
return true; // When in doubt, update
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Clean up certificates for domains no longer in use
|
||||||
|
*/
|
||||||
|
private async cleanupUnusedCertificates(
|
||||||
|
currentActiveDomains: Set<string>
|
||||||
|
): Promise<void> {
|
||||||
|
try {
|
||||||
|
const certsPath = config.getRawConfig().traefik.certificates_path;
|
||||||
|
const dynamicConfigPath =
|
||||||
|
config.getRawConfig().traefik.dynamic_cert_config_path;
|
||||||
|
|
||||||
|
// Load existing dynamic config if it exists
|
||||||
|
let dynamicConfig: any = { tls: { certificates: [] } };
|
||||||
|
if (fs.existsSync(dynamicConfigPath)) {
|
||||||
|
try {
|
||||||
|
const fileContent = fs.readFileSync(
|
||||||
|
dynamicConfigPath,
|
||||||
|
"utf8"
|
||||||
|
);
|
||||||
|
dynamicConfig = yaml.load(fileContent) || dynamicConfig;
|
||||||
|
if (!dynamicConfig.tls)
|
||||||
|
dynamicConfig.tls = { certificates: [] };
|
||||||
|
if (!Array.isArray(dynamicConfig.tls.certificates)) {
|
||||||
|
dynamicConfig.tls.certificates = [];
|
||||||
|
}
|
||||||
|
} catch (err) {
|
||||||
|
logger.error(
|
||||||
|
"Failed to load existing dynamic config:",
|
||||||
|
err
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const certDirs = fs.readdirSync(certsPath, {
|
||||||
|
withFileTypes: true
|
||||||
|
});
|
||||||
|
|
||||||
|
let configChanged = false;
|
||||||
|
|
||||||
|
for (const dirent of certDirs) {
|
||||||
|
if (!dirent.isDirectory()) continue;
|
||||||
|
|
||||||
|
const dirName = dirent.name;
|
||||||
|
// Only delete if NO current domain is exactly the same or ends with `.${dirName}`
|
||||||
|
const shouldDelete = !Array.from(currentActiveDomains).some(
|
||||||
|
(domain) =>
|
||||||
|
domain === dirName || domain.endsWith(`.${dirName}`)
|
||||||
|
);
|
||||||
|
|
||||||
|
if (shouldDelete) {
|
||||||
|
const domainDir = path.join(certsPath, dirName);
|
||||||
|
logger.info(
|
||||||
|
`Cleaning up unused certificate directory: ${dirName}`
|
||||||
|
);
|
||||||
|
fs.rmSync(domainDir, { recursive: true, force: true });
|
||||||
|
|
||||||
|
// Remove from local state tracking
|
||||||
|
this.lastLocalCertificateState.delete(dirName);
|
||||||
|
|
||||||
|
// Remove from dynamic config
|
||||||
|
const certFilePath = path.join(
|
||||||
|
domainDir,
|
||||||
|
"cert.pem"
|
||||||
|
);
|
||||||
|
const keyFilePath = path.join(
|
||||||
|
domainDir,
|
||||||
|
"key.pem"
|
||||||
|
);
|
||||||
|
const before = dynamicConfig.tls.certificates.length;
|
||||||
|
dynamicConfig.tls.certificates =
|
||||||
|
dynamicConfig.tls.certificates.filter(
|
||||||
|
(entry: any) =>
|
||||||
|
entry.certFile !== certFilePath &&
|
||||||
|
entry.keyFile !== keyFilePath
|
||||||
|
);
|
||||||
|
if (dynamicConfig.tls.certificates.length !== before) {
|
||||||
|
configChanged = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (configChanged) {
|
||||||
|
try {
|
||||||
|
fs.writeFileSync(
|
||||||
|
dynamicConfigPath,
|
||||||
|
yaml.dump(dynamicConfig, { noRefs: true }),
|
||||||
|
"utf8"
|
||||||
|
);
|
||||||
|
logger.info("Dynamic config updated after cleanup");
|
||||||
|
} catch (err) {
|
||||||
|
logger.error(
|
||||||
|
"Failed to update dynamic config after cleanup:",
|
||||||
|
err
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (error) {
|
||||||
|
logger.error("Error during certificate cleanup:", error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Ensure directory exists
|
||||||
|
*/
|
||||||
|
private async ensureDirectoryExists(dirPath: string): Promise<void> {
|
||||||
|
try {
|
||||||
|
fs.mkdirSync(dirPath, { recursive: true });
|
||||||
|
} catch (error) {
|
||||||
|
logger.error(`Error creating directory ${dirPath}:`, error);
|
||||||
|
throw error;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if file exists
|
||||||
|
*/
|
||||||
|
private async fileExists(filePath: string): Promise<boolean> {
|
||||||
|
try {
|
||||||
|
fs.accessSync(filePath);
|
||||||
|
return true;
|
||||||
|
} catch {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Force a certificate refresh regardless of cache state
|
||||||
|
*/
|
||||||
|
public async forceCertificateRefresh(): Promise<void> {
|
||||||
|
logger.info("Forcing certificate refresh");
|
||||||
|
this.lastCertificateFetch = null;
|
||||||
|
this.lastKnownDomains = new Set();
|
||||||
|
await this.HandleTraefikConfig();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get current status
|
||||||
|
*/
|
||||||
|
getStatus(): {
|
||||||
|
isRunning: boolean;
|
||||||
|
activeDomains: string[];
|
||||||
|
monitorInterval: number;
|
||||||
|
lastCertificateFetch: Date | null;
|
||||||
|
localCertificateCount: number;
|
||||||
|
} {
|
||||||
|
return {
|
||||||
|
isRunning: this.isRunning,
|
||||||
|
activeDomains: Array.from(this.activeDomains),
|
||||||
|
monitorInterval:
|
||||||
|
config.getRawConfig().traefik.monitor_interval || 5000,
|
||||||
|
lastCertificateFetch: this.lastCertificateFetch,
|
||||||
|
localCertificateCount: this.lastLocalCertificateState.size
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -5,7 +5,7 @@ import NodeCache from "node-cache";
|
|||||||
import { validateJWT } from "./licenseJwt";
|
import { validateJWT } from "./licenseJwt";
|
||||||
import { count, eq } from "drizzle-orm";
|
import { count, eq } from "drizzle-orm";
|
||||||
import moment from "moment";
|
import moment from "moment";
|
||||||
import { setHostMeta } from "@server/setup/setHostMeta";
|
import { setHostMeta } from "@server/lib/hostMeta";
|
||||||
import { encrypt, decrypt } from "@server/lib/crypto";
|
import { encrypt, decrypt } from "@server/lib/crypto";
|
||||||
|
|
||||||
const keyTypes = ["HOST", "SITES"] as const;
|
const keyTypes = ["HOST", "SITES"] as const;
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import config from "@server/lib/config";
|
|||||||
import * as winston from "winston";
|
import * as winston from "winston";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
import { APP_PATH } from "./lib/consts";
|
import { APP_PATH } from "./lib/consts";
|
||||||
|
import telemetryClient from "./lib/telemetry";
|
||||||
|
|
||||||
const hformat = winston.format.printf(
|
const hformat = winston.format.printf(
|
||||||
({ level, label, message, timestamp, stack, ...metadata }) => {
|
({ level, label, message, timestamp, stack, ...metadata }) => {
|
||||||
|
|||||||
@@ -27,3 +27,4 @@ export * from "./verifyApiKeyAccess";
|
|||||||
export * from "./verifyDomainAccess";
|
export * from "./verifyDomainAccess";
|
||||||
export * from "./verifyClientsEnabled";
|
export * from "./verifyClientsEnabled";
|
||||||
export * from "./verifyUserIsOrgOwner";
|
export * from "./verifyUserIsOrgOwner";
|
||||||
|
export * from "./verifySiteResourceAccess";
|
||||||
|
|||||||
@@ -10,3 +10,5 @@ export * from "./verifyApiKeySetResourceUsers";
|
|||||||
export * from "./verifyAccessTokenAccess";
|
export * from "./verifyAccessTokenAccess";
|
||||||
export * from "./verifyApiKeyIsRoot";
|
export * from "./verifyApiKeyIsRoot";
|
||||||
export * from "./verifyApiKeyApiKeyAccess";
|
export * from "./verifyApiKeyApiKeyAccess";
|
||||||
|
export * from "./verifyApiKeyClientAccess";
|
||||||
|
export * from "./verifyApiKeySiteResourceAccess";
|
||||||
@@ -35,6 +35,11 @@ export async function verifyApiKeyApiKeyAccess(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (callerApiKey.isRoot) {
|
||||||
|
// Root keys can access any key in any org
|
||||||
|
return next();
|
||||||
|
}
|
||||||
|
|
||||||
const [callerApiKeyOrg] = await db
|
const [callerApiKeyOrg] = await db
|
||||||
.select()
|
.select()
|
||||||
.from(apiKeyOrg)
|
.from(apiKeyOrg)
|
||||||
|
|||||||
91
server/middlewares/integration/verifyApiKeyClientAccess.ts
Normal file
91
server/middlewares/integration/verifyApiKeyClientAccess.ts
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
import { Request, Response, NextFunction } from "express";
|
||||||
|
import { clients, db } from "@server/db";
|
||||||
|
import { apiKeyOrg } from "@server/db";
|
||||||
|
import { and, eq } from "drizzle-orm";
|
||||||
|
import createHttpError from "http-errors";
|
||||||
|
import HttpCode from "@server/types/HttpCode";
|
||||||
|
|
||||||
|
export async function verifyApiKeyClientAccess(
|
||||||
|
req: Request,
|
||||||
|
res: Response,
|
||||||
|
next: NextFunction
|
||||||
|
) {
|
||||||
|
try {
|
||||||
|
const apiKey = req.apiKey;
|
||||||
|
const clientId = parseInt(
|
||||||
|
req.params.clientId || req.body.clientId || req.query.clientId
|
||||||
|
);
|
||||||
|
|
||||||
|
if (!apiKey) {
|
||||||
|
return next(
|
||||||
|
createHttpError(HttpCode.UNAUTHORIZED, "Key not authenticated")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isNaN(clientId)) {
|
||||||
|
return next(
|
||||||
|
createHttpError(HttpCode.BAD_REQUEST, "Invalid client ID")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (apiKey.isRoot) {
|
||||||
|
// Root keys can access any key in any org
|
||||||
|
return next();
|
||||||
|
}
|
||||||
|
|
||||||
|
const client = await db
|
||||||
|
.select()
|
||||||
|
.from(clients)
|
||||||
|
.where(eq(clients.clientId, clientId))
|
||||||
|
.limit(1);
|
||||||
|
|
||||||
|
if (client.length === 0) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.NOT_FOUND,
|
||||||
|
`Client with ID ${clientId} not found`
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!client[0].orgId) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.INTERNAL_SERVER_ERROR,
|
||||||
|
`Client with ID ${clientId} does not have an organization ID`
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!req.apiKeyOrg) {
|
||||||
|
const apiKeyOrgRes = await db
|
||||||
|
.select()
|
||||||
|
.from(apiKeyOrg)
|
||||||
|
.where(
|
||||||
|
and(
|
||||||
|
eq(apiKeyOrg.apiKeyId, apiKey.apiKeyId),
|
||||||
|
eq(apiKeyOrg.orgId, client[0].orgId)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
req.apiKeyOrg = apiKeyOrgRes[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!req.apiKeyOrg) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.FORBIDDEN,
|
||||||
|
"Key does not have access to this organization"
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
return next();
|
||||||
|
} catch (error) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.INTERNAL_SERVER_ERROR,
|
||||||
|
"Error verifying site access"
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -27,6 +27,11 @@ export async function verifyApiKeyOrgAccess(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (req.apiKey?.isRoot) {
|
||||||
|
// Root keys can access any key in any org
|
||||||
|
return next();
|
||||||
|
}
|
||||||
|
|
||||||
if (!req.apiKeyOrg) {
|
if (!req.apiKeyOrg) {
|
||||||
const apiKeyOrgRes = await db
|
const apiKeyOrgRes = await db
|
||||||
.select()
|
.select()
|
||||||
|
|||||||
@@ -37,6 +37,11 @@ export async function verifyApiKeyResourceAccess(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (apiKey.isRoot) {
|
||||||
|
// Root keys can access any key in any org
|
||||||
|
return next();
|
||||||
|
}
|
||||||
|
|
||||||
if (!resource.orgId) {
|
if (!resource.orgId) {
|
||||||
return next(
|
return next(
|
||||||
createHttpError(
|
createHttpError(
|
||||||
|
|||||||
@@ -45,6 +45,11 @@ export async function verifyApiKeyRoleAccess(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (apiKey.isRoot) {
|
||||||
|
// Root keys can access any key in any org
|
||||||
|
return next();
|
||||||
|
}
|
||||||
|
|
||||||
const orgIds = new Set(rolesData.map((role) => role.orgId));
|
const orgIds = new Set(rolesData.map((role) => role.orgId));
|
||||||
|
|
||||||
for (const role of rolesData) {
|
for (const role of rolesData) {
|
||||||
|
|||||||
@@ -32,6 +32,11 @@ export async function verifyApiKeySetResourceUsers(
|
|||||||
return next(createHttpError(HttpCode.BAD_REQUEST, "Invalid user IDs"));
|
return next(createHttpError(HttpCode.BAD_REQUEST, "Invalid user IDs"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (apiKey.isRoot) {
|
||||||
|
// Root keys can access any key in any org
|
||||||
|
return next();
|
||||||
|
}
|
||||||
|
|
||||||
if (userIds.length === 0) {
|
if (userIds.length === 0) {
|
||||||
return next();
|
return next();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
import { Request, Response, NextFunction } from "express";
|
import { Request, Response, NextFunction } from "express";
|
||||||
import { db } from "@server/db";
|
import { db } from "@server/db";
|
||||||
import {
|
import { sites, apiKeyOrg } from "@server/db";
|
||||||
sites,
|
|
||||||
apiKeyOrg
|
|
||||||
} from "@server/db";
|
|
||||||
import { and, eq, or } from "drizzle-orm";
|
import { and, eq, or } from "drizzle-orm";
|
||||||
import createHttpError from "http-errors";
|
import createHttpError from "http-errors";
|
||||||
import HttpCode from "@server/types/HttpCode";
|
import HttpCode from "@server/types/HttpCode";
|
||||||
@@ -31,6 +28,11 @@ export async function verifyApiKeySiteAccess(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (apiKey.isRoot) {
|
||||||
|
// Root keys can access any key in any org
|
||||||
|
return next();
|
||||||
|
}
|
||||||
|
|
||||||
const site = await db
|
const site = await db
|
||||||
.select()
|
.select()
|
||||||
.from(sites)
|
.from(sites)
|
||||||
|
|||||||
@@ -0,0 +1,97 @@
|
|||||||
|
import { Request, Response, NextFunction } from "express";
|
||||||
|
import { db } from "@server/db";
|
||||||
|
import { siteResources, apiKeyOrg } from "@server/db";
|
||||||
|
import { and, eq } from "drizzle-orm";
|
||||||
|
import createHttpError from "http-errors";
|
||||||
|
import HttpCode from "@server/types/HttpCode";
|
||||||
|
|
||||||
|
export async function verifyApiKeySiteResourceAccess(
|
||||||
|
req: Request,
|
||||||
|
res: Response,
|
||||||
|
next: NextFunction
|
||||||
|
) {
|
||||||
|
try {
|
||||||
|
const apiKey = req.apiKey;
|
||||||
|
const siteResourceId = parseInt(req.params.siteResourceId);
|
||||||
|
const siteId = parseInt(req.params.siteId);
|
||||||
|
const orgId = req.params.orgId;
|
||||||
|
|
||||||
|
if (!apiKey) {
|
||||||
|
return next(
|
||||||
|
createHttpError(HttpCode.UNAUTHORIZED, "Key not authenticated")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!siteResourceId || !siteId || !orgId) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.BAD_REQUEST,
|
||||||
|
"Missing required parameters"
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (apiKey.isRoot) {
|
||||||
|
// Root keys can access any resource in any org
|
||||||
|
return next();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check if the site resource exists and belongs to the specified site and org
|
||||||
|
const [siteResource] = await db
|
||||||
|
.select()
|
||||||
|
.from(siteResources)
|
||||||
|
.where(and(
|
||||||
|
eq(siteResources.siteResourceId, siteResourceId),
|
||||||
|
eq(siteResources.siteId, siteId),
|
||||||
|
eq(siteResources.orgId, orgId)
|
||||||
|
))
|
||||||
|
.limit(1);
|
||||||
|
|
||||||
|
if (!siteResource) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.NOT_FOUND,
|
||||||
|
"Site resource not found"
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Verify that the API key has access to the organization
|
||||||
|
if (!req.apiKeyOrg) {
|
||||||
|
const apiKeyOrgRes = await db
|
||||||
|
.select()
|
||||||
|
.from(apiKeyOrg)
|
||||||
|
.where(
|
||||||
|
and(
|
||||||
|
eq(apiKeyOrg.apiKeyId, apiKey.apiKeyId),
|
||||||
|
eq(apiKeyOrg.orgId, orgId)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
.limit(1);
|
||||||
|
|
||||||
|
if (apiKeyOrgRes.length === 0) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.FORBIDDEN,
|
||||||
|
"Key does not have access to this organization"
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
req.apiKeyOrg = apiKeyOrgRes[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
// Attach the siteResource to the request for use in the next middleware/route
|
||||||
|
// @ts-ignore - Extending Request type
|
||||||
|
req.siteResource = siteResource;
|
||||||
|
|
||||||
|
return next();
|
||||||
|
} catch (error) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.INTERNAL_SERVER_ERROR,
|
||||||
|
"Error verifying site resource access"
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -66,6 +66,11 @@ export async function verifyApiKeyTargetAccess(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (apiKey.isRoot) {
|
||||||
|
// Root keys can access any key in any org
|
||||||
|
return next();
|
||||||
|
}
|
||||||
|
|
||||||
if (!resource.orgId) {
|
if (!resource.orgId) {
|
||||||
return next(
|
return next(
|
||||||
createHttpError(
|
createHttpError(
|
||||||
|
|||||||
@@ -27,6 +27,11 @@ export async function verifyApiKeyUserAccess(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (apiKey.isRoot) {
|
||||||
|
// Root keys can access any key in any org
|
||||||
|
return next();
|
||||||
|
}
|
||||||
|
|
||||||
if (!req.apiKeyOrg || !req.apiKeyOrg.orgId) {
|
if (!req.apiKeyOrg || !req.apiKeyOrg.orgId) {
|
||||||
return next(
|
return next(
|
||||||
createHttpError(
|
createHttpError(
|
||||||
|
|||||||
62
server/middlewares/verifySiteResourceAccess.ts
Normal file
62
server/middlewares/verifySiteResourceAccess.ts
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
import { Request, Response, NextFunction } from "express";
|
||||||
|
import { db } from "@server/db";
|
||||||
|
import { siteResources } from "@server/db";
|
||||||
|
import { eq, and } from "drizzle-orm";
|
||||||
|
import createHttpError from "http-errors";
|
||||||
|
import HttpCode from "@server/types/HttpCode";
|
||||||
|
import logger from "@server/logger";
|
||||||
|
|
||||||
|
export async function verifySiteResourceAccess(
|
||||||
|
req: Request,
|
||||||
|
res: Response,
|
||||||
|
next: NextFunction
|
||||||
|
): Promise<any> {
|
||||||
|
try {
|
||||||
|
const siteResourceId = parseInt(req.params.siteResourceId);
|
||||||
|
const siteId = parseInt(req.params.siteId);
|
||||||
|
const orgId = req.params.orgId;
|
||||||
|
|
||||||
|
if (!siteResourceId || !siteId || !orgId) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.BAD_REQUEST,
|
||||||
|
"Missing required parameters"
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check if the site resource exists and belongs to the specified site and org
|
||||||
|
const [siteResource] = await db
|
||||||
|
.select()
|
||||||
|
.from(siteResources)
|
||||||
|
.where(and(
|
||||||
|
eq(siteResources.siteResourceId, siteResourceId),
|
||||||
|
eq(siteResources.siteId, siteId),
|
||||||
|
eq(siteResources.orgId, orgId)
|
||||||
|
))
|
||||||
|
.limit(1);
|
||||||
|
|
||||||
|
if (!siteResource) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.NOT_FOUND,
|
||||||
|
"Site resource not found"
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Attach the siteResource to the request for use in the next middleware/route
|
||||||
|
// @ts-ignore - Extending Request type
|
||||||
|
req.siteResource = siteResource;
|
||||||
|
|
||||||
|
next();
|
||||||
|
} catch (error) {
|
||||||
|
logger.error("Error verifying site resource access:", error);
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.INTERNAL_SERVER_ERROR,
|
||||||
|
"Error verifying site resource access"
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -15,7 +15,7 @@ export async function createNextServer() {
|
|||||||
|
|
||||||
const nextServer = express();
|
const nextServer = express();
|
||||||
|
|
||||||
nextServer.all("*", (req, res) => {
|
nextServer.all("/{*splat}", (req, res) => {
|
||||||
const parsedUrl = parse(req.url!, true);
|
const parsedUrl = parse(req.url!, true);
|
||||||
return handle(req, res, parsedUrl);
|
return handle(req, res, parsedUrl);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -222,7 +222,7 @@ export async function listAccessTokens(
|
|||||||
(resource) => resource.resourceId
|
(resource) => resource.resourceId
|
||||||
);
|
);
|
||||||
|
|
||||||
let countQuery: any = db
|
const countQuery: any = db
|
||||||
.select({ count: count() })
|
.select({ count: count() })
|
||||||
.from(resources)
|
.from(resources)
|
||||||
.where(inArray(resources.resourceId, accessibleResourceIds));
|
.where(inArray(resources.resourceId, accessibleResourceIds));
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user