Iptable rule

Code:
iptables -A INPUT -p tcp ! -s 192.168.1.2/32 --dport 22 -j DROP

Adjust the protocol, 'trusted' source IP and destination port as appropriate.
 
Back
Top Bottom