I added a function in the agent called set_ifconfig(), where you can set some basic rules, on my setup the default iptables policy was all ports 'closed', then when a server is started a rule is added, that rule accept connections to the port for that game, and when the server is stopped that rule is removed.įor each remote server listed in servers I made a button to enable or disable the firewall, 'enble' option changes the incomming traffic policy to 'drop all', and disabled to 'accept all'.īut the main problem was that some game servers need more than the connection ports, so we start to do a firewall managing module again, it should work with the database to store a list of extra ports for other server/services running in the machine, like ssh or ftp. ![]() ![]() ![]() Well, what i do in the past, I've lost all data, but its was easy.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |