barbarbar338 / ncfs

🧩 Local game server NGROK to Cloudflare forward script. Make your local server accessible by everyone with your custom domain!
https://hub.docker.com/repository/docker/barbarbar338/ncfs/general
GNU General Public License v3.0
49 stars 6 forks source link

Add support for pinggy.io #9

Open AILIFE4798 opened 5 months ago

I-hate-2FA commented 5 months ago

can you add support for pinggy.io, because recently ngrok server is not stable any more it only work for a short time and stop working after using for a while pinggy,io doesnt need a account to use,but it auto disconnect after 1 hour,and new url is generated which would really benifit from being able to use this script,that auto restart the tunnel and update the cloudflare config every time

barbarbar338 commented 5 months ago

Pinggy gives 60mins tunnel timeout and for that reason it wouldn't be the best thing to use it I think. For ngrok, you get no tunnel timeout if you use an access token (which you are using it in ncfs). If you guys really want to restart your tunnel in every 60mins then I can try to implement something but for now It seems useless

I-hate-2FA commented 5 months ago

i am using ngrok with a token and the tunnel keep open but no trafic can go through,even after restarting the tunnel,only solution is stop it and wait a while for their server to recover ngrok url dont change if you dont restart so it is not really necessary to use this script because on server the tunnel will be open 24/7 for pinggy because of the 1 hour timeout it need to be constantly restarted and need to configure the new url every time, so it make allot of sense to do that automaticly or maybe theres better alternative that dont timeout, im using it for minecraft server so low latency tcp is required which most didnt provide, ive used playit before but it is not as good as ngrok(when ngrok is working)