Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How could one selfhost localhost.run setup on own wildcard domaine?


If you're talking about,

> alternatively host your own reverse SSH tunnel on a VPS somewhere.

To make a quick version, on a VPS or somewhere, install OpenSSH server. Modify your sshd.conf file adding,

    GatewayPorts yes
Then you can use something like this,

    ssh -R 8080:localhost:22 user@server.example.com
After that, you can use,

    ssh user@server.example.com -p 8080
from any other computer and it will connect you to the machine you ran the ssh -R from.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: