[[[DD-WRT V23SP1 how to ban IP?]]]

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2
Author Message
BrainSlayer
Site Admin


Joined: 06 Jun 2006
Posts: 6971
Location: Dresden, Germany

PostPosted: Sun Jul 09, 2006 18:50    Post subject: Reply with quote
it seems like he is trying to block a wan ip
_________________
"So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s
Sponsor
BrainSlayer
Site Admin


Joined: 06 Jun 2006
Posts: 6971
Location: Dresden, Germany

PostPosted: Sun Jul 09, 2006 18:50    Post subject: Reply with quote
but instead of this. why not just blocking the gaming server by blocking the gaming protocol?
_________________
"So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s
Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5772

PostPosted: Sun Jul 09, 2006 18:52    Post subject: Reply with quote
etoto2000 wrote:
It does not work Exclamation

clear DNS cache on computers:
Code:
ipconfig /flushdns

It will start to work.
etoto2000
DD-WRT Novice


Joined: 09 Jul 2006
Posts: 46

PostPosted: Sun Jul 09, 2006 19:00    Post subject: Reply with quote
Thank you !
I have blocked the gaming server by blocking the gaming protocol?
but I wank know how to use the dd-wrt to block a wan ip.
etoto2000
DD-WRT Novice


Joined: 09 Jul 2006
Posts: 46

PostPosted: Sun Jul 09, 2006 19:11    Post subject: Reply with quote
Eko wrote:
etoto2000 wrote:
It does not work Exclamation

clear DNS cache on computers:
Code:
ipconfig /flushdns

It will start to work.


I am sorry.But it does not work. Sad
etoto2000
DD-WRT Novice


Joined: 09 Jul 2006
Posts: 46

PostPosted: Sun Jul 09, 2006 19:12    Post subject: Reply with quote
how to use the dd-wrt to block a wan ip? Crying or Very sad
HWS
DD-WRT Guru


Joined: 06 Jun 2006
Posts: 579
Location: Germany

PostPosted: Sun Jul 09, 2006 19:20    Post subject: Reply with quote
Just an other way ?
May be it's works.



StaticRouting.jpg
 Description:
 Filesize:  13.25 KB
 Viewed:  13515 Time(s)

StaticRouting.jpg



_________________
DD-WRT v23 SP2 (09/13/06) std on WRT54GL V1.1
Last News
etoto2000
DD-WRT Novice


Joined: 09 Jul 2006
Posts: 46

PostPosted: Sun Jul 09, 2006 19:37    Post subject: Reply with quote
HWS wrote:
Just an other way ?
May be it's works.


It works when i use IP to contact(http://61.152.110.226),but when i use URL,it does not work(http://www.world2.com.cn)
u3gyxap
DD-WRT User


Joined: 07 Jun 2006
Posts: 298

PostPosted: Mon Jul 10, 2006 1:27    Post subject: Reply with quote
The simplest way, which is also the dirtiest Very Happy
1. telnet/ssh to the router
2. type:
ifconfig vlan0:0 61.152.110.226 netmask 255.255.255.255
3. if you like it, add it to your startup becouse you will loose it on every reboot.

The beautiful way (if I am not mistaken):
1. telnet/ssh to the router
2. type:
iptables -I FORWARD -d 61.152.110.226 -j DROP
3. if it works and you like it, add it to your startup becouse you will loose it on every reboot.


Last edited by u3gyxap on Wed Jul 12, 2006 12:14; edited 1 time in total
etoto2000
DD-WRT Novice


Joined: 09 Jul 2006
Posts: 46

PostPosted: Mon Jul 10, 2006 2:14    Post subject: Reply with quote
u3gyxap wrote:
The simplest way, which is also the dirtiest Very Happy
1. telnet/ssh to the router
2. type:
ifconfig vlan0:0 61.152.110.226 netmask 255.255.255.255
3. if you like it, add it to your startup becouse you will loose it on every reboot.

The beautiful way (if I am not mistaken):
1. telnet/ssh to the router
2. type:
iptables -A INPUT -d 61.152.110.226 -j DROP
3. if it works and you like it, add it to your startup becouse you will loose it on every reboot.


Thank you very much !
But how to add it to my startup ?
sufrano63
DD-WRT User


Joined: 06 Jun 2006
Posts: 488

PostPosted: Mon Jul 10, 2006 2:26    Post subject: Reply with quote
Administration ----> Commands

Put the iptable command in the command box
Click on Run Commands, then click on Save Startup

_________________
блог путешественника
etoto2000
DD-WRT Novice


Joined: 09 Jul 2006
Posts: 46

PostPosted: Mon Jul 10, 2006 3:01    Post subject: Reply with quote
And when i don't want to block this ip ,what shall i do ?
waldox
DD-WRT Novice


Joined: 03 Jul 2006
Posts: 9

PostPosted: Mon Jul 10, 2006 4:44    Post subject: Reply with quote
remove it from your startup and reboot router
etoto2000
DD-WRT Novice


Joined: 09 Jul 2006
Posts: 46

PostPosted: Mon Jul 10, 2006 7:09    Post subject: Reply with quote
Thank you very much!
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware 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 can attach files in this forum
You can download files in this forum