Server can't host multiplayer.

I am trying to host a dedicated server, but no one can join my server. I forwarded my ports, as was said, but the server was still stuck on LAN and no one could join it. What do I need to forward my ports to?

Did you give them your internet IP?

and make sure in your server.cfg it says “sv_lan 0” then you’ll be good

It’s actually really easy. Don’t worry about ports just yet.
Go into your develepor console and type “sv_lan 0.”
You should be good.