mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4171] [QUESTION] frp inside Caddy server network - is that possible? #3287
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3287
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kenya-West on GitHub (Apr 19, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4171
Bug Description
WhoAmI
Hi, a frontend guy that not so skilled in network stack is here.
What I try to do
I try to make FRP server fully isolated so it should work inside
caddynetwork through Caddy server. (Is that even possible?)Problem
The problem: since
frpson VPS machine is working through Caddy server, it is accessible only by HTTP(S). While I can open dashboard in browser, any offrpccould not connect to server as they try to connect by TCP.This problem is a ChatGPT conclusion and seems fair and adequate, I believe it.
Setup
https://example.com/frp/server;https://example.com/frp/dashboard.I use lucaslorentz/caddy-docker-proxy repo that makes Caddy server setup even easier.
I just setup Caddy server by this repo and never touch it. It refreshes
Caddyfileconfig dynamically once new Docker container incaddynetwork is created, modified or removed.Architecture that I try represent:
frpc Version
0.56.0
frps Version
0.56.0
System Architecture
linux/amd64
Configurations
Why does not frpc connect to frps?
SERVER
~/caddy/docker-compose.yml:
~/frp/.env
~/frp/docker-compose.yml:
~/frp/config-frps/frps.toml
CLIENT:
~/frp/config-frpc/frpc.toml
~/frp/docker-compose.yml:
Logs
Client (frpc) says:
Server (frps) displays nothing like client did not succeed to connect to it.
Since frps is inside
caddynetwork, I check caddy and found nothing, too.Affected area
@xqzr commented on GitHub (Apr 19, 2024):
frpc 与 frps 之间的连接,使用这几种协议
885278c045/conf/frpc_full_example.toml (L82)没有 https
@fatedier commented on GitHub (Apr 22, 2024):
Try websocket and wss
@github-actions[bot] commented on GitHub (May 14, 2024):
Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.