Assuming Ubuntu 16.04:
Install nginx:
$ sudo apt-get -y install nginx
Open nginx config file:
$ sudo vim /etc/nginx/nginx.conf
(Or open that file with a program like WinScp)
With vim:
Use the down arrow on your keyboard until you reach the last line.
Press the letter "i" on your keyboard to switch to insert mode.
Type in the following, replacing 123.456.78.9 with the IP of your actual game server and replacing 7172 with whatever port your gameserver runs on (if you haven't changed anything it'll be 7172)
Code:
stream {
server {
listen 7172;
proxy_pass 123.456.78.9:7172;
}
}
Press the Esc key to switch out of insert mode.
Press the colon key ( shift+; on an american keyboard layout) to switch to command mode (you'll see a...