Difference between revisions of "Lokkit"

From Bashlinux
Jump to: navigation, search
(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 ==...")
 
(No difference)

Latest revision as of 04:18, 25 June 2015

_

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