iptables quick note

Write at 2017 Mar 10

Whenever I want to use iptables I have to search for its syntax. This serves at a note for myself on what I have used frequently.


  • -i: Use to filter by interface
  • port: can use together with not such as port not 22
  • host: filter by host



Want Email Forwarding For Your Domain? Check out Mailwip.