Thu, December 2, 2021
 
https://devcodepro.comdevcodepro
X
InterServer Web Hosting and VPS
Home · Latest · Trends
5

SSH IPTables command to block IP Address

[[email protected] ~]# iptables -A INPUT -s x.xx.xx.xx -p tcp --dport 25 -j REJECT [[email protected] ~]# service iptables save [[email protected] ~]# service iptables restart
rated 5 times (5) (0)
comments: 0 / hits: 1878  / 4 years ago, tue, feb 27, 18, 09:41:12
More From » Plain Text
 

Comments

There are no comments for this Snippet yet
Only authorized users can post. Please sign in first, or register a free account
Login with Google
 
Share
Posted
paki
Member since Sep 7, 2016
Total Code Snippets: 12
Total Comments: 0
Location: n/a
paki snippets
5 years ago, thu, sep 8, 16, 3:04:22
comments: 0 / hits: 5482
5 years ago, wed, dec 28, 16, 4:11:52
comments: 2 / hits: 3975
5 years ago, tue, jan 3, 17, 3:37:12
comments: 0 / hits: 2366
5 years ago, thu, jan 19, 17, 5:40:32
comments: 0 / hits: 5926
5 years ago, sat, jun 10, 17, 3:16:28
comments: 0 / hits: 2430
5 years ago, mon, jun 26, 17, 9:21:15
comments: 0 / hits: 3458
4 years ago, sat, sep 2, 17, 4:26:09
comments: 1 / hits: 2618
4 years ago, tue, feb 27, 18, 9:25:15
comments: 0 / hits: 1863
4 years ago, wed, feb 28, 18, 11:02:34
comments: 0 / hits: 1859