Lokkit

From Bashlinux
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