TCP Proxy Ports
coopbri
PROOP

a month 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

$10 Bounty

16 Replies

I don't believe so, but afaik, a lot of issues with tunneling are usually is due to permissions in user space.


Not so much because of the port.


If it's like tailscale where it's userspace wireguard, it should work.


Else, if it need to modify the kernel or rely on the kernel, its likely it wouldn't work.


coopbri
PROOP

a month ago

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 😉


My hook or by crook I will become a LinkedIn celebrity 😄


Glad I can help


coopbri
PROOP

25 days ago

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


QQ: If you are suggesting Tailscale, why not use https://github.com/half0wl/railtail


coopbri
PROOP

25 days ago

I haven't even heard of it. My use case is just simple forwarding for local webhooks dev, could this handle that? Cool proj!!



coopbri
PROOP

25 days ago

well boom


Assuming you are on the Tailnet (which I assume no?)


coopbri
PROOP

25 days ago

yeah thanks for letting me know about this


We use this to connect to our DBs on Railway without pub networks


and a few Enterprise people use to to great success


Loading...