View Single Post
BuSheeZy
Junior Member
Join Date: Oct 2015
Old 10-21-2015 , 13:03   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.2, 29/01/2015)
Reply With Quote #314

Server Redirect Node Steam Bot

Github

If you are hosting your game servers and Steam bot on the same box then you want to have your ip in config.json to be set to 127.0.0.1 to prevent outside access.

If you are running your Steam bot on a server separate than your gaming boxes then you want to block unwanted access with iptables.

First we are going to accept connections on your default port of 19855 from our other server with an ip of 10.1.1.2 in this case. You can do this for multiple ip addresses, just replace the ip of course.
Quote:
iptables -I INPUT -p tcp -s 10.1.1.2 --dport 19855 -j ACCEPT
Next, we are going to drop all connections that haven't been accepted already.
Quote:
iptables -A INPUT -p tcp -s 0.0.0.0/0 --dport 19855 -j DROP
Lastly, we are going to save the iptables so they're present next reboot.
Quote:
iptables-save

Contact

AlliedModders

Make a Github issue if you're having problems with the bot.


Last edited by BuSheeZy; 10-06-2018 at 22:14.
BuSheeZy is offline