Webmin

From miki
Revision as of 09:28, 8 June 2016 by Mip (talk | contribs) (Created page with "== How-to == === Add a custom iptables rule === * Go to '''Linux Firewall'''. * Click '''Add rule''' (in the correct chain, typically <code>INPUT</code>). * Optionally enter a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How-to

Add a custom iptables rule

  • Go to Linux Firewall.
  • Click Add rule (in the correct chain, typically INPUT).
  • Optionally enter a Rule comment.
  • Scroll down, and type in the iptables parameters in the field Additional parameters (for instance -p tcp --dport 22 -i eth0 -m state --state NEW -m recent --set).
Later, when editing the rule again, Webmin will parse the rule line and fill in the form correctly.