I My local server doesn't support udp protocol, but it supports tcp protocol.
So I want to convert tcp to udp on the server side and then convert tcp to udp on the client side, but it seems this is not supported, does gost support this kind of forwarding?
I checked the documentation and it seems that it is possible to forward udp traffic as http or sock5
traffic, but I want to make sure that tcp and udp ports are supported.
This is the command I am running on the server.(convert tcp to udp on the server side)
This is the command I'm running on the client.(convert tcp to udp on the client side, the tcp traffic has been successfully forwarded by other tools and is running on port 9300)
{"address":":0","connector":"http","dialer":"udp","hop":"hop-0","kind":"connector","level":"error","local":"127.0.0.1:35728","msg":"tcp over udp is unsupported","network":"tcp","node":"node-0","remote":"127.0.0.1:8211","time":"2024-03-29T12:40:05.581Z"}
Theoretically you should not forward TCP data over plain-UDP protocol directly, it may not work as you expect. Instead you can use the reliable UDP-based protocol such as QUIC, KCP.
I My local server doesn't support udp protocol, but it supports tcp protocol.
So I want to convert tcp to udp on the server side and then convert tcp to udp on the client side, but it seems this is not supported, does gost support this kind of forwarding?
I checked the documentation and it seems that it is possible to forward udp traffic as http or sock5 traffic, but I want to make sure that tcp and udp ports are supported.
This is the command I am running on the server.(convert tcp to udp on the server side)
This is the command I'm running on the client.(convert tcp to udp on the client side, the tcp traffic has been successfully forwarded by other tools and is running on port 9300)
This is the error I'm getting.