mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3260] Https2https plugin connection to Webmin #2613
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#2613
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 @software-2ats on GitHub (Jan 18, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3260
Bug Description
I am trying to connect to a local instance of webmin (called client1), exposed on port 10000 in https, via an external domain (from now on mydomain.com) using https2https plugin.
I managed to correctly route to the webmin login, but after prompting the credentials, i get redirected to client1.mydomain.com:10000/session_login.cgi , which is not the correct webmin page. Removing the extra part (session_login.cgi) from the address makes it work correctly, without having to log in again.
This also happened with different web services, with the same architecture, and even using https2http plugin.
frpc Version
0.46.0
frps Version
0.46.0
System Architecture
debianlinux11.6/amd64
Configurations
#FRPS
[common]
bind_port = 7000
vhost_https_port = 10000
tls_enable = true
authentication_method = token
token = mytoken
log_file = /var/log/frps.log
log_level = info
log_max_days = 3
#FRPC
[common]
server_addr = mypublicipaddr
server_port = 7000
tls_enable = true
token = mytoken
[plugin_https2https]
type = https
custom_domains = mydomain.com
plugin = https2https
plugin_local_addr = 127.0.0.1:10000
plugin_key_path =
plugin_crt_path =
plugin_host_header_rewrite = https://client1.mydomain.com:10000/
plugin_header_X-From-Where = frp
Logs
No response
Steps to reproduce
...
Affected area
@github-actions[bot] commented on GitHub (Feb 23, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.