- #Cent os 6 ssh how to open ports for steam games install#
- #Cent os 6 ssh how to open ports for steam games free#
# you can edit this manually or use system-config-firewall # sample configuration for iptables service I use iptables as my firewall, so I change /etc/sysconfig/iptables to add a statement that allows HTTP protocol. One other change is needed, however: opening port 80 in our firewall. Everything else is already configured to produce a working web server. For this little exercise, only one change was made to the nf file-the Listen directive. These are the only Apache configuration changes needed to create a simple website. That might look like this: DocumentRoot "/var/mywebsite/html" The Apache installation RPM creates the /var/For example, you might want to use a different name for the www subdirectory to make the identification of the website more explicit. The line should look like this: DocumentRoot "/var/www/html" That line does not need to be changed because it already points to the standard location. The DocumentRoot directive specifies the location of the HTML files that make up the pages of the website. If you want the web server to listen for connections from remote hosts, you would use the host's external IP address.
![cent os 6 ssh how to open ports for steam games cent os 6 ssh how to open ports for steam games](https://www.server-world.info/en/CentOS_7/ssh/img/15.png)
With this directive set to the IP address of the localhost, Apache will listen only for connections from the local host. The line should look like this when you finish: Listen 127.0.0.1:80 Right now, you just need to make this website available to the local machine, so use the localhost address. The first item to change is the Listen statement, which defines the IP address and port on which Apache is to listen for page requests. Use these comments to understand what the file is configuring. The nf file is no exception, as it is quite well commented. One of the things I like about Red Hat versions of most configuration files is the number of comments that describe the various sections and configuration directives in the files. The file is very large so, rather than clutter this article with a lot of unnecessary stuff, I will show only those directives that you need to change.įirst, take a bit of time and browse through the nf file to familiarize yourself with it. In fact, only a few changes must be made to this file to get a basic website up and running. It contains a lot of configuration statements that don't need to be changed for a basic installation. The primary Apache configuration file is /etc/httpd/conf/nf. The data for websites you'll run with Apache is located in /var/www by default, but you can change that if you want.
#Cent os 6 ssh how to open ports for steam games install#
With one command, you can install it and all necessary dependencies: $ dnf install httpdĪll the configuration files for Apache are located in /etc/httpd/conf and /etc/httpd/conf.d. The Apache web server is easy to install. However, the configuration lines you need to modify are the same regardless of distribution. If you use a different distribution or a different release of Fedora, your commands and the locations and content of the configuration files may be different. Note: This article has been updated using Fedora 33 with Apache 2.4.46. (I use the user student on my virtual host.) Installation Using a browser to view the results of this work should be done as a non-root user.
![cent os 6 ssh how to open ports for steam games cent os 6 ssh how to open ports for steam games](https://miro.medium.com/max/1400/1*uExMVFZaYdp1NKAqeCyj0Q.png)
Configuring the firewall also needs to be performed as root. Installation and configuration of the Apache web server must be performed as root.
#Cent os 6 ssh how to open ports for steam games free#
![cent os 6 ssh how to open ports for steam games cent os 6 ssh how to open ports for steam games](https://imgs.developpaper.com/imgs/1342077-20200216214452864-1120553042.png)
Also make sure you pick the correct tcp/udp option for the port. Once again, replace the "xxxx"'s below with the port numbers required. You will need to look up what ports are needed for the specific game you want to host before running the next step.
![cent os 6 ssh how to open ports for steam games cent os 6 ssh how to open ports for steam games](https://www.rootusers.com/wp-content/uploads/2016/09/how-to-open-port-centos-7.jpg)
Before running your Server, you'll need to open up your firewall port if you have any intention of hosting the server online. Use an app number from the list above and replace the "xxxx"'s with this number below Steam>app_update xxxxxĩ.