Webmin

From miki
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.