ufw-rule-parser 0.1.0

parser for a ufw-like firewall rule, including internal/external address keywords.
Documentation
1
2
3
4
5
6
7
8
# mixed service and address rules
allow ssh
allow in from internal to external port 443 proto tcp
deny ftp
deny out to 1.1.1.1 port 53 proto udp
limit http
reject in from 192.168.0.0/24 to any port 25 proto tcp