Discord/Gaming Rules
-
So, on my firewall, I have my initial deny-any rules on all interfaces. But, I would like to access Discord VoIP and play some games online (such as Old School RuneScape). How can I restrict my access to not just the ports that those services need, but also the destinations? They all will be using IP pools and do not make public their IPs they use for security reasons, so I can I find a way to achieve my access control without making a rule that allows <game_ports> to all destination IPs?
-
If you want to limit the access to a list of known IPs, then you need to know this list of IPs.
Without the IPs, there is little you can do, except for allowing 'any' as a destination.You could discover this list of IPs over time.
Make a pass rule with the known ports, to any destination IP. Make this rule log.
Over time, inspect the logs, and note down all the different IPs you find. Add these IPs to a list (firewall alias).
Then, above your initial pass to any limited to port rule, add a pass rule that uses this alias, and the destination ports.
If all goes well, your now second rule starts to log less and less.
If it logs something, you've found another IP that wasn't in the, now at the top, alias pass rule. Add this IP to the alias.
And so on.Keep in mind : this is a never ending story. The game host can remove IP when ever it want, and add other IPs whenever it wants.
-
@Gertjan I am guessing there is no tool out there to help with getting the IPs since they do indeed always change lol - manual way it is then. Thank you though, Gertjan!