2020年12月

firewall-cmd --direct --add-rule ipv4 filter OUTPUT 1 -m string –string “123” –algo kmp -j DROP
检查:
firewall-cmd --direct --get-all-rules

轻量dhcp dns tftp
apt install dnsmasq
dhcp
dhcp-range=192.168.200.50,192.168.200.150,12h

dns书写hosts文件实现正方向

tftp
enable-tftp
tftp-root=/srv/tftp