iptables
CentOS
iptables -A INPUT -p tcp --dport 22 -j ACCEPTiptables -A INPUT --protocol tcp --source 192.168.1.0/24 --dport 22 -j ACCEPTiptables-save > /etc/sysconfig/iptables
ufw
ufw allow 22ufw allow from 192.168.234.234 to any port 22
—o—
Jednostavni problemi za kompliciranje jednostavnih rješenja
Copyright © 2026 Jednostavno