3 ms·
If it's for testing, one could do, ssh -R *:9000:localhost:5432 user@host No security aside from whatever your local is setting on that port. You simply
by rovr138 8y ago
If it's for testing, one could do,
ssh -R *:9000:localhost:5432 user@host
No security aside from whatever your local is setting on that port.
You simply hit example.com:9000 and you'll reach your machine's 5432 port.
I use a 128MB VPS as the proxy for this ($15 per year).
And you're not limited to HTTP traffic. You can expose anything like this.
-R [bind_address:]port:host:hostport
The * is allowing anything to connect. If not specified, only local connections are allowed.
- mises 8y agoWho's your VPS provider?
- tazard 8y agoI've had a few 128mb/$15/year for a few years now from RamNode. I've been happy with them
- LinuxBender 8y agoI've used ramnode as well. They are certainly ok for testing and tinkering. Word of caution, be ready to have some patience with them if they have a billing issue. Their billing system is a monster. Their node performance is decent for the price though.
- tazard 8y agoThat's fair criticism. I wouldn't want to host anything mission critical on the platform, but for the price I am quite pleased with what I get.
- LinuxBender 8y agoMost certainly. I would use them again as well.
- rovr138 8y agoRamnode. Like the others, I'm happy with them. I'm not hosting anything critical on these 128MB machines, but they work perfect as a proxy for this.
- clanrebornwow 8y agoWhere do you get such VPS? Also you can use Raspberry Pi for this. It costs $5 to host it for a year.