01.12.2014, 20:03
Instead of selectively blocking traffic like a blacklist, selectively allow traffic like a whitelist. You only need to allow UDP packets on port 7777. Drop everything else. Assuming that localhost and SSH traffic is allowed by default, you only need two rules:
Rule #1: Allow UDP traffic on port 7777
Rule #2: Drop any traffic on any port
Rule #1: Allow UDP traffic on port 7777
Rule #2: Drop any traffic on any port