Iptables - debug connection types: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:Linux = Iptables - debug conn. types = * You can debug failed connections by logging connection resets: ** <code>iptables -I INPUT -p tcp -m tcp --tcp-flags RST...") |
No edit summary |
||
Line 5: | Line 5: | ||
* You can debug failed connections by logging connection resets: |
* You can debug failed connections by logging connection resets: |
||
** <code>iptables -I INPUT -p tcp -m tcp --tcp-flags RST RST -j LOG</code> |
** <code>iptables -I INPUT -p tcp -m tcp --tcp-flags RST RST -j LOG</code> |
||
= Great cheatsheet with examples = |
|||
* https://yurisk.info/2016/12/19/linux-ip-route-command-reference-by-example/index.html |
Latest revision as of 20:16, 21 April 2018
Iptables - debug conn. types
- You can debug failed connections by logging connection resets:
iptables -I INPUT -p tcp -m tcp --tcp-flags RST RST -j LOG