4 months ago
Originally asked: https://discord.com/channels/713503345364697088/727689277219012669/1367516625552539788
I just want to confirm if Railway can handle hosting something like bore (mentioned there, it's just a simple tunnel service like a really simple ngrok), or if this needs to be hosted on another cloud platform
From my understanding, it is not feasible due to Railway TCP proxy only allowing setting 1 port
16 Replies
4 months ago
I don't believe so, but afaik, a lot of issues with tunneling are usually is due to permissions in user space.
4 months ago
Not so much because of the port.
4 months ago
If it's like tailscale where it's userspace wireguard, it should work.
4 months ago
Else, if it need to modify the kernel or rely on the kernel, its likely it wouldn't work.
Makes a lot of sense. Frankly dont know the software too well yet to figure that. Thanks for the context and quick answer Angelo! Love your linkedin content 😉
4 months ago
My hook or by crook I will become a LinkedIn celebrity 😄
4 months ago
Glad I can help
For anyone coming here later, I think the best option is to just self-host on your own infra or use a cheap VPS like hetzner
You can also run e.g. frp on fly.io (see https://github.com/AnimMouse/frp-flyapp for container setup with working networking patches)
Instead of bore, I am likely just going to use Tailscale Funnel for this use case, but there are a bunch, see https://github.com/anderspitman/awesome-tunneling
4 months ago
QQ: If you are suggesting Tailscale, why not use https://github.com/half0wl/railtail
I haven't even heard of it. My use case is just simple forwarding for local webhooks dev, could this handle that? Cool proj!!
4 months ago
yes
4 months ago
Assuming you are on the Tailnet (which I assume no?)
4 months ago
We use this to connect to our DBs on Railway without pub networks
4 months ago
and a few Enterprise people use to to great success