Jump to content

[Tuto] MTA Server on CentOS 7 with NGINX


Recommended Posts

  • 1 year later...
17 hours ago, Psychotic_OZ said:

Correct me if i'm wrong but isn't it bad practice to start a gaming server as root? I've always started a game server as a user because if there is an exploit or something they not only can destroy your game server but your entire server itself.

To install some packages and edit firewall you need to have root permissions. But yeah, you can run your server without root privileges, its better if you keep minimum needed permissions.

Link to comment
  • 1 year later...
  • 2 months later...
  • 4 weeks later...
On 22/02/2020 at 06:46, KINGKHAN said:

What about opening ports problem in ogp panel ,Linux vps centos?

I don't think OGP has a built-in feature to open ports. I never used OGP but i think you just need to open ports using native CentOS firewall.

Nginx port to download files
firewall-cmd --zone=public --add-port=20080/tcp --permanent

Download files
firewall-cmd --zone=public --add-port=22005/tcp --permanent

Join port
firewall-cmd --zone=public --add-port=22003/udp --permanent

Browse port
firewall-cmd --zone=public --add-port=22126/udp --permanent

Save configs
firewall-cmd --reload

Edited by JoaoZanetti
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...