I'm being pounded by a server and I need to block the IP.
I created the firewall-start file and put everything in but the IP is still getting routed to my server. What's going on?
iptables -I INPUT -s 37.187.195.49 -j DROP
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP all -- 37.187.195.49 0.0.0.0/0
DROP all -- 0.0.0.0/0 0.0.0.0/0 state INVALID
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state NEW
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state NEW
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:1723
ACCEPT 47 -- 0.0.0.0/0 0.0.0.0/0
DROP all -- 0.0.0.0/0 0.0.0.0/0
I would prefer not to hassle with dd-wrt
I created the firewall-start file and put everything in but the IP is still getting routed to my server. What's going on?
iptables -I INPUT -s 37.187.195.49 -j DROP
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP all -- 37.187.195.49 0.0.0.0/0
DROP all -- 0.0.0.0/0 0.0.0.0/0 state INVALID
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state NEW
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state NEW
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:1723
ACCEPT 47 -- 0.0.0.0/0 0.0.0.0/0
DROP all -- 0.0.0.0/0 0.0.0.0/0
I would prefer not to hassle with dd-wrt
Last edited: