Sat, July 24, 2021
 
https://devcodepro.comdevcodepro
X
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: 1737  / 3 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
 
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: 5133
5 years ago, wed, dec 28, 16, 4:11:52
comments: 2 / hits: 3677
5 years ago, tue, jan 3, 17, 3:37:12
comments: 0 / hits: 2264
5 years ago, thu, jan 19, 17, 5:40:32
comments: 0 / hits: 4884
4 years ago, sat, jun 10, 17, 3:16:28
comments: 0 / hits: 2278
4 years ago, mon, jun 26, 17, 9:21:15
comments: 0 / hits: 3285
4 years ago, sat, sep 2, 17, 4:26:09
comments: 1 / hits: 2429
3 years ago, tue, feb 27, 18, 9:25:15
comments: 0 / hits: 1677
3 years ago, wed, feb 28, 18, 11:02:34
comments: 0 / hits: 1755