Tue, January 26, 2021
 
https://devcodepro.comdevcodepro
Home · Latest · Trends  /  Plain Text
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: 1534  / 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
4 years ago, thu, sep 8, 16, 3:04:22
comments: 0 / hits: 4687
4 years ago, wed, dec 28, 16, 4:11:52
comments: 2 / hits: 3332
4 years ago, tue, jan 3, 17, 3:37:12
comments: 0 / hits: 2118
4 years ago, thu, jan 19, 17, 5:40:32
comments: 0 / hits: 3870
4 years ago, sat, jun 10, 17, 3:16:28
comments: 0 / hits: 2059
4 years ago, mon, jun 26, 17, 9:21:15
comments: 0 / hits: 2917
3 years ago, sat, sep 2, 17, 4:26:09
comments: 1 / hits: 2117
3 years ago, tue, feb 27, 18, 9:25:15
comments: 0 / hits: 1413
3 years ago, wed, feb 28, 18, 11:02:34
comments: 0 / hits: 1574