In hopes of making premium services more worthwhile to users, we are testing a new service
tuns.sh provides HTTP(S)/TCP/TLS tunnels to localhost using SSH. Once you
have a pico account (as setup on our other services) and we apply a feature flag to your user,
you'll be able to login to
tuns.sh. Here are some of things you can do with the service:
1$ ssh -R 80:httpbin.org:80 tuns.sh 2Press Ctrl-C to close the session. 3 4The subdomain localhost.tuns.sh is unavailable. Assigning a random subdomain. 5Starting SSH Forwarding service for http:80. Forwarded connections can be accessed via the following methods: 6Service console can be accessed here: https://flb.tuns.sh/_sish/console?x-authorization=[REDACTED] 7HTTP: http://flb.tuns.sh 8HTTPS: https://flb.tuns.sh
I can then access
http(s)://flb.tuns.sh which will forward http requests to
If I'm running a local webserver (like
python3 -m http.server 8080), I can replace
localhost:8080 and that address will forward to the http server I've just started.
HTTP(S) tunnels also support custom domains.
1$ ssh -R 10001:httpbin.org:80 tuns.sh 2Press Ctrl-C to close the session. 3 4Starting SSH Forwarding service for tcp:10001. Forwarded connections can be accessed via the following methods: 5TCP: tuns.sh:10001
Which will allow me to access http://tuns.sh:10001 (or any other tcp service,
httpbin.org:80 just happens to be an HTTP server)
And so much more
That's just the beginning of what tuns.sh can do. Under the hood we're using a project Antonio's been working on for a few years. There's a lot we can do here!
tuns.sh is something you're interested in (or have some other ideas for features), join us
on irc at #pico.sh on libera to discuss!