1 |
Grant wrote: |
2 |
> How can I find out whether I should be specifying TCP, UDP, or both |
3 |
> for iptables (shorewall) config? |
4 |
|
5 |
By knowing the application's protocol for which you write the rules for :P |
6 |
|
7 |
For example, if I write some rule that applies to traffic generated by a |
8 |
web server and web browsers, that's TCP. If I write rules that apply to |
9 |
an online game's matchmaking and game discovery browser, that's UDP (but |
10 |
depends on the game). So you have to research a bit to see if the |
11 |
application uses TCP or UDP. |