Router help (urgent)

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


Joined: 24 Apr 2012
Posts: 8

PostPosted: Tue Apr 24, 2012 8:48    Post subject: Router help (urgent) Reply with quote
Hello everyone,
I have router Tp-link WR841N and i install on the router dd-wrt with Firmware: DD-WRT v24-sp2 (11/21/10) std and i wont to use the router for protection (limit the udp connections i wont every ip if make more than 7 connections in second to block the ip automatically to protect from the udp flood) but i something did not receive. I try this commands
Code:
iptables -I INPUT 2 -p udp --dport 7777 -m state --state NEW -m limit --limit 3/sec --limit-burst 3 -j ACCEPT
 iptables -I INPUT 3 -p udp --dport 7777 -m state --state NEW -m limit --limit 3/sec --limit-burst 3 -j ACCEPT
 iptables -I INPUT 4 -p udp --dport 7777 -j logreject
 iptables -I INPUT 5 -p udp --dport 7777 -j logreject


and this

Code:
iptables -N rate_limit
 iptables -F rate_limit
 iptables -A rate_limit -p udp --dport 7777 -m limit --limit 3/sec --limit-burst 7 -j  i with  ACCEPT DROP


I write the commands here

I do not know what is wrong router does not perform commands or something wrong so I will ask you to help me please

All the best
Boyan
Sponsor
Boyan96
DD-WRT Novice


Joined: 24 Apr 2012
Posts: 8

PostPosted: Wed Apr 25, 2012 17:20    Post subject: Reply with quote
Can someone help
slobodan
DD-WRT Guru


Joined: 03 Nov 2011
Posts: 1555
Location: Zwolle

PostPosted: Thu Apr 26, 2012 18:05    Post subject: Reply with quote
Have you clicked Save Firewall?
_________________
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)


Boyan96
DD-WRT Novice


Joined: 24 Apr 2012
Posts: 8

PostPosted: Thu Apr 26, 2012 18:43    Post subject: Reply with quote
no i only click Run Commands (is this my error)
slobodan
DD-WRT Guru


Joined: 03 Nov 2011
Posts: 1555
Location: Zwolle

PostPosted: Fri Apr 27, 2012 17:13    Post subject: Reply with quote
Boyan96 wrote:
no i only click Run Commands (is this my error)

Yes, you shold press Save Firewall, this way your script gets saved inside the firewall script and gets executed every time that firewall service is restarted.

_________________
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)


Boyan96
DD-WRT Novice


Joined: 24 Apr 2012
Posts: 8

PostPosted: Sun Apr 29, 2012 11:33    Post subject: Reply with quote
i try with save firewall but without success can you give me any solution how to make it ? please
Boyan96
DD-WRT Novice


Joined: 24 Apr 2012
Posts: 8

PostPosted: Sun Apr 29, 2012 11:36    Post subject: Reply with quote
i try with save firewall but without success can you give me any solution how to make it ? please
Boyan96
DD-WRT Novice


Joined: 24 Apr 2012
Posts: 8

PostPosted: Mon Apr 30, 2012 13:20    Post subject: Reply with quote
I think this is the last version http://www.dd-wrt.com/site/support/router-database i search here. If i think wrong please give me a link to update please
Boyan96
DD-WRT Novice


Joined: 24 Apr 2012
Posts: 8

PostPosted: Tue May 01, 2012 18:50    Post subject: Reply with quote
Can some help
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Tue May 01, 2012 19:49    Post subject: Reply with quote
read:
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
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