mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1436] How can I connect to WSL in my PC? #1129
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#1129
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 @jiaoruohong on GitHub (Sep 11, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1436
What version of frp are you using (./frpc -v or ./frps -v)?
frp_0.29.0_windows_amd64
What operating system and processor architecture are you using (
go env)?Windows 64
Configures you used:
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
I just want to connect my WSL (Ubuntu) in my iPad Pro by Blink shell.
Additional information you deem important (e.g. issue happens only occasionally):
I don’t think its about ssh-key’s problem, and I can use Blink shell to ssh or mosh to my WSL when my iPad Pro and my PC in a same WiFi environment.
Can you point out what caused this issue (optional)
Do I have to run frpc in my WSL (Ubuntu) ?
@jiaoruohong commented on GitHub (Sep 12, 2019):
After rebootting my PC, restarting sshd and mosh-server, now I can ssh to my WSL. But I still can't mosh to my WSL,
@fatedier commented on GitHub (Nov 29, 2019):
Check if the frps is listening on udp port 6002.
@zhaoruibing commented on GitHub (Dec 22, 2019):
Just an idea, try changing [mosh_ubuntu_pc] remote port from 6002 to 60001, matching the local port.
Before this change, I had same error as jiaoruohong, where mosh timed out after 60s,
mosh --ssh='ssh -p 6001' --server='mosh-server new -p 60001 -l LANG=en_US.UTF-8' -p 6002 foo_user@myserver.xyzAfter changing remote port to 60001, I can mosh to my machine.
mosh --ssh='ssh -p 6001' --server='mosh-server new -l LANG=en_US.UTF-8' -p 60001 foo_user@myserver.xyzMy guess is mosh command ignores the server port (60001) whenever there is a -p option (6002).
mosh-server new -p 60001 -l LANG=en_US.UTF-8) and connect to slave machine with secret key over 6002.nc -4ulv 60001on slave machine,nc -zvu myserver.xyz 6002on mosh client machine). So most likely, this is something with mosh, not frp.My setup:
@dongyuwei commented on GitHub (Sep 21, 2024):
我在 https://v2ex.com/t/395885?p=1#r_15289173 提供了比较完整的 mosh over frp 配置。