How can I only allow 170.169.xxx.xxx ip ranges via iptables?
Hi,
I have ssh port 22 that opened to everyone now.I want to allow just for 170.169.xxx.xxx ip blocks. How can I do that? My current iptable rules for ssh is: Quote:
|
|
I read that article but couldn't understand. Shows only ips from 192.168.1.100 to 192.168.1.200
Same configration can be done? Quote:
|
Or:
Code:
# iptables -t filter -A INPUT -p tcp --dport 22 -s 170.169.0.0/255.255.0.0 -j ACCEPT |
Quote:
|
All times are GMT -5. The time now is 06:22 PM. |