Block IP?

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
Joe96
DD-WRT Novice


Joined: 13 Aug 2014
Posts: 11

PostPosted: Thu Jul 02, 2015 17:02    Post subject: Block IP? Reply with quote
Hey, i have a webserver to test some of my projects, and i noticed that an IP accesses my IP from time to time and sees my website. I have looked up the IP and it is some cloudfare server from Dallas, but i blocked anyway. I used this:
Code:
iptables -I INPUT -i br0 -p tcp -d 74.86.158.110 --dport 80 -j logrop


Will it affect my internet performance?

Also, i tried
Code:
iptables --list
and i didn't find the rule i had just set up. Why?[/quote]
Sponsor
slobodan
DD-WRT Guru


Joined: 03 Nov 2011
Posts: 1557
Location: Zwolle

PostPosted: Fri Jul 03, 2015 23:08    Post subject: Reply with quote
Maybe "logdrop". Anyway, if you want to make firewall rules permanent, add them through the web interface in firewall script.
_________________
2 times APU2 Opnsense 21.1 with Sensei

2 times RT-AC56U running DD-WRT 45493 (one as Gateway, the other as AP, both bridged with LAN cable)

3 times Asus RT-N16 shelved

E4200 V1 running freshtomato 2020.8 (bridged with LAN cable)

3 times Linksys WRT610N V2 converted to E3000 and 1 original E3000 running freshtomato 2020.8 (bridged with LAN cable)


Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum