mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1421] http reverse proxy with NTLM authentication support #1116
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#1116
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 @hez2010 on GitHub (Aug 31, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1421
What version of frp are you using (./frpc -v or ./frps -v)?
0.27.1
What operating system and processor architecture are you using (
go env)?Windows 10 x64 1903 18362.295
Configures you used:
frpc.ini:
Steps to reproduce the issue:
Describe the results you received:
cannot authenticate.
Describe the results you expected:
authenticate successfully
Can you point out what caused this issue (optional)
After searching I found the reason:
NTLM won't work if the TCP packets are not forwarded exactly as the reverse proxy received > them. And that's why many reverse proxy doesn't work with NTLM authentication. (like nginx) > They forward HTTP requests correcty but not the TCP packets.
To solve this, you need to create a keepalive agent.
@fatedier commented on GitHub (Sep 1, 2019):
It can't supported now, you can try tcp type instead.
@hez2010 commented on GitHub (Sep 1, 2019):
Tcp type proxy do can pass the NTLM Authentication, however while using tcp type proxy, all resources in the website will load from wrong locations.
Is there any plan to support NTLM Authentication in http proxy?
@fatedier commented on GitHub (Sep 1, 2019):
If tcp doesn't work, no other method can help.
@hez2010 commented on GitHub (Sep 2, 2019):
I hope that frp can provide an option to create a keepalive http agent(in frps), then the problem can be solved.
@fatedier commented on GitHub (Sep 2, 2019):
It can't supported now, maybe future. It's cpmplicated.
You can try tcp type instead, if it doesn't work, frp is not suitable for you.