Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some websites cannot implement port forwarding. #956

Open
perlerer opened this issue May 3, 2024 · 1 comment
Open

Some websites cannot implement port forwarding. #956

perlerer opened this issue May 3, 2024 · 1 comment
Labels
question Further information is requested

Comments

@perlerer
Copy link

perlerer commented May 3, 2024

I tested it and found that generally the established piping server can implement port forwarding. But there are exceptions, such as https://piping.maldun.com/. This website can provide basic piping services, but port forwarding cannot be achieved through netcat or socat. What is the reason? Is there any way to implement port forwarding on this kind of website?

@nwtgck
Copy link
Owner

nwtgck commented May 30, 2024

@perlerer

Could you check the server supports data streaming? You can use curl like the following video:

piping-server-text-streaming-curl.mov
# sender
curl -T- https://ppng.io/mytext
# receiver
curl https://ppng.io/mytext

If you don't have live text stream, the port forwarding does not work with the server. I guess it is behide a reverse proxy such as Nginx, Cloudflare or something. These proxies may not support streaming response.

@nwtgck nwtgck added the question Further information is requested label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants