Scott Baker | 761e106 | 2016-06-20 17:18:17 -0700 | [diff] [blame] | 1 | # |
| 2 | # rules.input-after |
| 3 | # |
| 4 | # Rules that should be run after the ufw command line added rules. Custom |
| 5 | # rules should be added to one of these chains: |
| 6 | # ufw6-after-input |
| 7 | # ufw6-after-output |
| 8 | # ufw6-after-forward |
| 9 | # |
| 10 | |
| 11 | # Don't delete these required lines, otherwise there will be errors |
| 12 | *filter |
| 13 | :ufw6-after-input - [0:0] |
| 14 | :ufw6-after-output - [0:0] |
| 15 | :ufw6-after-forward - [0:0] |
| 16 | # End required lines |
| 17 | |
| 18 | # don't log noisy services by default |
| 19 | -A ufw6-after-input -p udp --dport 137 -j ufw6-skip-to-policy-input |
| 20 | -A ufw6-after-input -p udp --dport 138 -j ufw6-skip-to-policy-input |
| 21 | -A ufw6-after-input -p tcp --dport 139 -j ufw6-skip-to-policy-input |
| 22 | -A ufw6-after-input -p tcp --dport 445 -j ufw6-skip-to-policy-input |
| 23 | -A ufw6-after-input -p udp --dport 546 -j ufw6-skip-to-policy-input |
| 24 | -A ufw6-after-input -p udp --dport 547 -j ufw6-skip-to-policy-input |
| 25 | |
| 26 | # don't delete the 'COMMIT' line or these rules won't be processed |
| 27 | COMMIT |