mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #1210] 将内网打印机映射出去,打印机可以被添加,但实际无法打印 #949
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#949
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 @miws on GitHub (Apr 24, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1210
Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)
Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST
What version of frp are you using (./frpc -v or ./frps -v)?
从v0.25.2 到 v0.26.0 这几个版本都试过。
What operating system and processor architecture are you using (
go env)?我将打印机的两种协议均映射出去,实际观察走的是631端口,然后使用远程打印机,在dashboard中观察,有数据交换,但打印机并没有打印。
再尝试选择9100协议端口,同样数据发送过去,打印机并没有打印。
Configures you used:
#frpc.ini
[p_9100]
type = tcp
local_ip = 192.168.0.104
local_port = 9100
remote_port = 9100
[p_631]
type = tcp
local_ip = 192.168.0.104
local_port = 631
remote_port = 631
Steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Can you point out what caused this issue (optional)
@nexw commented on GitHub (Apr 29, 2019):
这个牵涉的问题会不会太广了,打印机型号和协议都很多。
@Xeath commented on GitHub (May 9, 2019):
不一定只有 TCP 协议,可能有 UDP 协议。这个不一定好弄
@saonian commented on GitHub (Apr 4, 2020):
你在浏览器中访问本地打印机,比如:localhost:631,在管理界面中找到防火墙的页面打开,里面会告诉你应该开放哪些端口