i live in china, there are few ipv4 address. So I want to set up a discovery and relay server with FRP which could make me connect to server even I am not in LAN.
this is frp’s github repositories.
Discovery is literally about seeing both sides IP addresses, so proxying is unlikely to work out of the box. There are some headers that are required for remote IP address and TLS certificate, investigate those and see if that helps.