Giter Club home page Giter Club logo

Comments (6)

xqzr avatar xqzr commented on September 23, 2024

说不定可以,这只是一个想法

[[proxies]]
name = "wol"
type = "udp"
localIP = "255.255.255.255"
localPort = 9
remotePort = 9

from frp.

github-actions avatar github-actions commented on September 23, 2024

Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

from frp.

wuai1024 avatar wuai1024 commented on September 23, 2024

请问下,实验成功了吗?

from frp.

xsrong avatar xsrong commented on September 23, 2024

我试了,但是没有成功,不知道问题出在什么地方。

frps.toml
  bindPort = 7000

frpc.toml
  serverAddr = "47.109.**.**"
  serverPort = 7000

  [[proxies]]
  name = "Wake On Lan"
  type = "udp"
  localIP = "255.255.255.255"
  localPort = 9
  remotePort = 6001

服务器端和客户端能够正常启动

~ $ ./frpc -c [frpc.toml](http://frpc.toml/)
[2024-06-21 22](tel:2024-06-21 22):16:[07.611](tel:07.611) [I] [sub/[root.go:142](http://root.go:142/)] start frpc service for config file [[frpc.toml](http://frpc.toml/)]
[2024-06-21 22](tel:2024-06-21 22):16:[07.612](tel:07.612) [I] [client/[service.go:294](http://service.go:294/)] try to connect to server...
[2024-06-21 22](tel:2024-06-21 22):16:[07.656](tel:07.656) [I] [client/[service.go:286](http://service.go:286/)] [b[2733119](tel:2733119)e4d[13667](tel:13667)] login to server success, get run id [b[2733119](tel:2733119)e4d[13667](tel:13667)]
[2024-06-21 22](tel:2024-06-21 22):16:[07.656](tel:07.656) [I] [proxy/[proxy_manager.go:173](http://proxy_manager.go:173/)] [b[2733119](tel:2733119)e4d[13667](tel:13667)] proxy added: [Wake On Lan]
[2024-06-21 22](tel:2024-06-21 22):16:[07.668](tel:07.668) [I] [client/[control.go:168](http://control.go:168/)] [b[2733119](tel:2733119)e4d[13667](tel:13667)] [Wake On Lan] start proxy success
[2024-06-21 22](tel:2024-06-21 22):16:[08.216](tel:08.216) [I] [proxy/[udp.go:93](http://udp.go:93/)] [b[2733119](tel:2733119)e4d[13667](tel:13667)] [Wake On Lan] incoming a new work connection for udp proxy, [47.109.**.**:7000](http://47.109.**.**:7000/)

发送唤醒消息后服务器端没有任何反应。服务器端使用tcpdump监听6001端口发现能够收到唤醒消息的

[root@iZ2vcho1h20xnnnm63vknqZ ~]# tcpdump udp port 6001
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
21:01:36.375011 IP 113.248.19.78.43602 > iZ2vcho1h20xnnnm63vknqZ.6001: UDP, length 102
^C
1 packet captured
1 packet received by filter
0 packets dropped by kernel
[root@iZ2vcho1h20xnnnm63vknqZ ~]#

from frp.

xqzr avatar xqzr commented on September 23, 2024
tcpdump udp port 9

在 frpc

from frp.

github-actions avatar github-actions commented on September 23, 2024

Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

from frp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.