How does velocity work?
I'm interested in using TCPshield with a forge server and AFAIK the only way is by using a proxy such as velocity. I am having some problems but also have some questions about the fundamentals here.
So I am reading all these docs and have some docker containers up for velocity and curseforge, but have a problem where I cannot connect.
I think this is due to the ports being set incorrectly in the server.properties and/or the velocity config. But what should they be? My server properties is 25566, the velocity server is using 25577 (default), with the forge server set to "127.0.0.1:25566".
My question about fundamentals is how do clients even know which port to connect on? I see for velocity that all backend servers should be using different ports eg, 30066, 30067, 30068, and velocity has 25577, so how does a client connect via 25565?
13 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by daft_nos#0
u can change velocity to 25565
is that how it's generally used?
yes
but do mind velocity doesnt officially supprt forge past 1.12.2
shit fr?
yes
hm. do you know an alternative I could use for my use-case?
use a host with good antiddos
included
I suppose that would work. That's my backup if I cannot get TCPshield to work on a self-hosted machine after all.
why is forge such ass to administrate
did u end up finding an alternative to tcpshield for forge servers
cosmicguard exists
and its full machine or port based
I was going to use tcpshield's velocity plugin. Or just use their proxy option.
have to see if I can get https://github.com/adde0109/Ambassador working first though
quick edit, totally works so far. Got connected via no IP forwarding, seems like there's other plugins to enable IP forwarding to fiddle with.
GitHub
GitHub - adde0109/Ambassador: This is a Velocity plugin that makes ...
This is a Velocity plugin that makes it possible to host a modern forge server behind a Velocity proxy! - GitHub - adde0109/Ambassador: This is a Velocity plugin that makes it possible to host a mo...