mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3445] What ports to open for FRP client? Getting token mismatch error #2760
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#2760
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 @kennethban on GitHub (May 17, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3445
Bug Description
I am using frpc from a system with a firewall with default open ports 80,443. What other ports should be open to allow access?
I have requested port 7000 to be opened as the frps bind port is 7000. I am using the token authentication
When I attempt to connect with frpc on this firewalled system (ports 80,443,7000 open), it reports a token mismatch:
[E] [service.go:295] token in login doesn't match token from configuration
When I use the same frpc.ini file on another system without a firewall, it connects properly without any token error
I assume that there are some other ports (TCP/UDP) that I need to open?
frpc Version
0.37
frps Version
0.37
System Architecture
linux/amd4
Configurations
frpc.ini
[common]
server_addr = xxx.xxx.xxx.xxx
server_port = 7000
privilege_token = xxx xxx xx xx
[notebook]
type = http
local_ip = 127.0.0.1
local_port = 8888
custom_domains = xxx.xxx.xxx
frps.ini
[common]
bind_port = 7000
vhost_http_port = 14000
authentication_method = token
token = xxx xxx xxx x
Logs
No response
Steps to reproduce
...
Affected area
@fatedier commented on GitHub (May 17, 2023):
It should be
token, notprivilege_token.@kennethban commented on GitHub (May 17, 2023):
Oh my bad, i think i used an old keyword 'privileged_token' in the ini file. Works now when i changed it to 'token'