Lokkit

From Bashlinux
Revision as of 04:18, 25 June 2015 by Manpaz (talk | contribs) (Created page with "__NOTOC___ === How to enable/disable the firewall === # lokkit --<enabled|disabled> === How to allow traffic on a particular port === # lokkit --update --high -p 80:tcp ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

_

How to enable/disable the firewall

# lokkit --<enabled|disabled>

How to allow traffic on a particular port

# lokkit --update --high -p 80:tcp

How to allow traffic from a particualar NIC

# lokkit --trust=eth1

How to load a file with custom iptables rules

# lokkit --custom-rules=ipv4:filter:/path/to/file