HyperWRT Forum

You are not logged in.

  • Index
  •  » Advanced Help
  •  » WRT54 Script Generator - little software to make traffic shaping easy

#1 2006-09-15 20:15:12

robsonn
Member
From: Poland
Registered: 2005-12-15
Posts: 104

WRT54 Script Generator - little software to make traffic shaping easy

Hi
I wroted little application that generates scripts for traffic shaping that works on most popular alternative firmwares.
My primary goal is to make script generation as easy as possible for average user that don't know what is HTB or another magic acronyms smile

Here is first official release. For those who used earlier versions (0.xx) i suggest to upgrade to the newest version wink
From version 1.01 GUI is in three languages:
- Polish
- English
- German

There is a NEW version of WRT54 Script Generator v1.01
You can download it from link below.

Here it is:
Click, Click...

Changelog:
- added German language to the GUI (thx to cHarOn)

Have fun with it smile
Robson

Last edited by robsonn (2007-02-11 10:10:15)


WRT54G v2.2 + Tomato 1.01.0918
WRT54GL v1.0 + Tomato 1.01.0918
PAP2 NA v1.0 + Stock 3.1.5

Offline

 

#2 2006-09-18 20:46:55

Sorian
New member
Registered: 2005-11-14
Posts: 7

Re: WRT54 Script Generator - little software to make traffic shaping easy

I have a couple questions. Will this script override or overwrite the QOS settings I already have in place? What happens if I allow other users to connect and their ip is not included in this script? What kind of bandwidth will they have?


WRT54G v4 Tomato 0.04.0771

Offline

 

#3 2006-09-19 04:18:07

robsonn
Member
From: Poland
Registered: 2005-12-15
Posts: 104

Re: WRT54 Script Generator - little software to make traffic shaping easy

Hi
Launch and you will see wink
You have choice to generate script that shape people listed in window or generate script secured (with default class 1kbit) that will cause if somone change ip/MAC or is isn't listed in window and try to connect then he will have 1kbit speed so using internet is impossible.
You put this script in firewall script. If you are using standard qos built in firmware that no worries QoS and traffic shaping script will work togerthet with no harm.

Last edited by robsonn (2006-09-19 04:18:41)


WRT54G v2.2 + Tomato 1.01.0918
WRT54GL v1.0 + Tomato 1.01.0918
PAP2 NA v1.0 + Stock 3.1.5

Offline

 

#4 2006-09-19 12:58:23

Sorian
New member
Registered: 2005-11-14
Posts: 7

Re: WRT54 Script Generator - little software to make traffic shaping easy

You have choice to generate script that shape people listed in window or generate script secured

So, if I generate and unsecured script what happens if someone that is not listed in the script connects?

Example: If my unscured script says ip: 192.168.1.100 should have at least 250 down and 150 up and someone connects with ip 192.168.1.120 what bandwidth will he get?


WRT54G v4 Tomato 0.04.0771

Offline

 

#5 2006-09-29 19:31:23

Hybrid
Member
Registered: 2006-09-29
Posts: 11

Re: WRT54 Script Generator - little software to make traffic shaping easy

Hi robsonn great app.

I have question, say I have a 3600kbps downstream(tested), if I set a computer guarenteed rate to 2400kbps, would a second computer connected to the network have a maxium downstream of 1200kbps even if the first computer is not using the 2400kbps.

P.S it seems the amount of connections limiter does not work on DD-WRT v23 SP2 



Best Regards Martin

Last edited by Hybrid (2006-09-29 19:51:11)

Offline

 

#6 2006-09-30 09:27:44

dadaniel
Member
Registered: 2005-03-30
Posts: 166

Re: WRT54 Script Generator - little software to make traffic shaping easy

What does LAN and WLAN - shaping mean? Is it not possible to shape WAN interface?

http://666kb.com/i/ahyyzz6ncg0tsca9a.jpg

Offline

 

#7 2006-10-01 13:26:27

robsonn
Member
From: Poland
Registered: 2005-12-15
Posts: 104

Re: WRT54 Script Generator - little software to make traffic shaping easy

Sorian If somone change ip he will got 4 kbps bandwidth smile Internet at this speed is useless.

Hybrid
No. Traffic is shared dynamicly. if there is free bandwidth. You can set priority to every user and this priority means who will have as first free unused bandwidth.
And if we are talking about DD-WRT hmm this firmware makes a lot of problems to provide proper traffic shaping due to BS changes.
(maybe it has something to do with "special version" of DD-WRT wink ). I noticed that DD-WRT can shape only with static share (Even if you set maximum speed he's shaping using guaranteed). I'm investigating it. If you want better traffic shaping and QoS then use Tomato. This firmware is far beyond DD-WRT.

Btw. thx for the info about connection limit. I will try to fix that smile I don't have time to check every thing on all firmwares so You users must test something too.

dadaniel
This script generator main purpose is to limit bandwidth of users that are connected to WRT (ex. share connection in fair way).
Script shape traffic on LAN and WLAN.
QoS is shaping outgoing traffic on WAN (vlan1) so if i try to shape traffic on vlan1 i will destroy actual QoS rules and i don't want do that.
This scripts are working without problems with enabled QoS. QoS prioritize outgoing traffic and you can also set speed limits to several (all users). It's good for people that are chooking Your connection. Sometimes QoS isn't enough to stop people wink


WRT54G v2.2 + Tomato 1.01.0918
WRT54GL v1.0 + Tomato 1.01.0918
PAP2 NA v1.0 + Stock 3.1.5

Offline

 

#8 2006-10-01 17:06:33

grcore
Member
Registered: 2006-01-31
Posts: 311

Re: WRT54 Script Generator - little software to make traffic shaping easy

hey robson,

Did you ever think of working this into the GUI of the wrt?  It would be a bit more complicated to do than your script generator, but not impossible by any means....

I suppose this would work on the SL also...

g

Offline

 

#9 2006-10-02 08:00:26

robsonn
Member
From: Poland
Registered: 2005-12-15
Posts: 104

Re: WRT54 Script Generator - little software to make traffic shaping easy

grcore yes i tought about that but as you see scripts still aren't perfect. Also implementing this on 4 different firmwares is little pain in a... Script use few tricks to avoid messing in QoS and here is another problem in implementing this in firmware. So far i want to tune up this application to do a little bit more wink

Btw. script's generated for WRT54G/GS/GL with Thibor 15c will work on SL units too. Only thing you must do is manual interface change in generated script. If i remember good (or not) in SL WLAN is on eth2 (not eth1). You need to ask Thibor.

Last edited by robsonn (2006-10-02 08:02:14)


WRT54G v2.2 + Tomato 1.01.0918
WRT54GL v1.0 + Tomato 1.01.0918
PAP2 NA v1.0 + Stock 3.1.5

Offline

 

#10 2006-10-02 14:43:24

pharma
Member
Registered: 2005-10-05
Posts: 186

Re: WRT54 Script Generator - little software to make traffic shaping easy

Thanks Robsonn for this nice little app.  I'll try this out!

Pharma


WRT54G v4.0 - Tomato 1.01
WRT54G v1.1 - Tomato 1.01

Offline

 

#11 2006-10-03 07:11:12

grcore
Member
Registered: 2006-01-31
Posts: 311

Re: WRT54 Script Generator - little software to make traffic shaping easy

robsonn wrote:

Btw. script's generated for WRT54G/GS/GL with Thibor 15c will work on SL units too. Only thing you must do is manual interface change in generated script. If i remember good (or not) in SL WLAN is on eth2 (not eth1). You need to ask Thibor.

Yes, the SL's use eth1 for the WAN.

And it sure is a lot easier to maintain it as a script generator than to build into each firmware.  Perhaps the script generating executable can be compiled into the firmware so it is accesable at the unit (ie downloadable from within the GUI, or something along those lines).

Offline

 

#12 2006-10-11 00:04:41

roberto
New member
Registered: 2006-10-10
Posts: 6

Re: WRT54 Script Generator - little software to make traffic shaping easy

no cant load it in tomato modprobe ipt_connlimit, i send email to creator of tomato firmware and he reply to me.
sry i dun use ipt_connlimit ask to robson in hyperwrt forum he know about this, and im here ;p
how to i can limite number of sockets in tomato firmware? ex.: 20 sockets per user
thx

Offline

 

#13 2006-10-11 15:14:55

robsonn
Member
From: Poland
Registered: 2005-12-15
Posts: 104

Re: WRT54 Script Generator - little software to make traffic shaping easy

use below lines:
iptables -t mangle -A POSTROUTING -p tcp -s x.x.x.x -m connlimit --connlimit-above yy -j DROP
iptables -t mangle -A POSTROUTING -p tcp -d x.x.x.x -m connlimit --connlimit-above yy -j DROP

where
x.x.x.x - IP user that you want to limit
yy - max open connections (don't set lower than 50 beacuse www will have problems)

from version 0.06 (actual is 0.07) you don't need to load ipt_connlimit (earlier was bug and that module wasn't lodaed even when you used modprobe ...). I'm working on new generator version so this will be fixed and working.


WRT54G v2.2 + Tomato 1.01.0918
WRT54GL v1.0 + Tomato 1.01.0918
PAP2 NA v1.0 + Stock 3.1.5

Offline

 

#14 2006-10-14 14:45:39

Hybrid
Member
Registered: 2006-09-29
Posts: 11

Re: WRT54 Script Generator - little software to make traffic shaping easy

Does Tomato support the WRT54GL v1.1

tomato is in beta right?, so is there a higher than normal chance of bricking your router with this firmware.

Best Regards
                    Hybrid

Offline

 

#15 2006-10-16 22:38:53

dynaguy
New member
Registered: 2006-09-08
Posts: 1

Re: WRT54 Script Generator - little software to make traffic shaping easy

Hybrid wrote:

Does Tomato support the WRT54GL v1.1

tomato is in beta right?, so is there a higher than normal chance of bricking your router with this firmware.

Best Regards
                    Hybrid

see here:
http://www.linksysinfo.org/portal/forum … .php?f=160

Offline

 

#16 2006-10-19 17:33:46

dadaniel
Member
Registered: 2005-03-30
Posts: 166

Re: WRT54 Script Generator - little software to make traffic shaping easy

robsonn wrote:

I'm working on new generator version so this will be fixed and working.

One more suggestion:

In the current version you can only enter IP-adresses in the table of users. Can you adapt it so we also can enter mac-adresses.
I'm asking this because when some user change their IP-adresses they get other limits than i have set.

Offline

 

#17 2006-10-21 01:13:23

roberto
New member
Registered: 2006-10-10
Posts: 6

Re: WRT54 Script Generator - little software to make traffic shaping easy

robsonn wrote:

use below lines:
iptables -t mangle -A POSTROUTING -p tcp -s x.x.x.x -m connlimit --connlimit-above yy -j DROP
iptables -t mangle -A POSTROUTING -p tcp -d x.x.x.x -m connlimit --connlimit-above yy -j DROP

where
x.x.x.x - IP user that you want to limit
yy - max open connections (don't set lower than 50 beacuse www will have problems)

from version 0.06 (actual is 0.07) you don't need to load ipt_connlimit (earlier was bug and that module wasn't lodaed even when you used modprobe ...). I'm working on new generator version so this will be fixed and working.

i try this rule but no work for me, after long find in net i got this and it work
iptables -I FORWARD -p tcp --syn -m iprange --src-range 192.168.1.1-192.168.1.127 -m connlimit --connlimit-above 20 -j DROP

this example up limit in 20 conections per user in ip ranger 1-127, well i dun need more then 127 hehe my ip is next and i no want limit he :p

more 1 alert to robson your script generator make 1 and 13 line in script error

#--------------------------------------------
#WRT54 Script Generator v0.19 Beta
#Copyright (C) 2006 Robert "Robson" Mytkowski
#--------------------------------------------
tc qdisc del dev eth0  <-- need root or got error --> tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 65
tc class add dev eth0 parent 1: classid 1:1 htb rate 1300kbit
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 25kbit ceil 50kbit prio 2
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 2kbit ceil 3kbit prio 2
tc class add dev eth0 parent 1:1 classid 1:65 htb rate 4kbit ceil 4kbit
tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10
tc qdisc add dev eth0 parent 1:11 handle 11: sfq perturb 10
tc filter add dev eth0 parent 1:0 prio 2 protocol ip handle 10 fw flowid 1:10
tc filter add dev eth0 parent 1:0 prio 2 protocol ip handle 11 fw flowid 1:11
iptables -t mangle -A POSTROUTING -d 192.168.1.128 -j MARK --set-mark 10
iptables -t mangle -A FORWARD -s 192.168.1.128 -j MARK --set-mark 11
tc qdisc del dev eth1  <-- need root or got error --> tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1: htb default 65
tc class add dev eth1 parent 1: classid 1:1 htb rate 1300kbit
tc class add dev eth1 parent 1:1 classid 1:10 htb rate 25kbit ceil 50kbit prio 2
tc class add dev eth1 parent 1:1 classid 1:65 htb rate 4kbit ceil 4kbit
tc filter add dev eth1 protocol ip prio 2 parent 1:0 u32 match ip dst 192.168.1.127 flowid 1:10
modprobe ipt_connlimit
iptables -A FORWARD -p tcp --syn -s 192.168.1.128 -m connlimit --connlimit-above 50 -j REJECT
iptables -A FORWARD -p tcp --syn -d 192.168.1.128 -m connlimit --connlimit-above 50 -j REJECT
iptables -A FORWARD -p tcp --syn -s 192.168.1.127 -m connlimit --connlimit-above 50 -j REJECT
iptables -A FORWARD -p tcp --syn -d 192.168.1.127 -m connlimit --connlimit-above 50 -j REJECT

thx for help

Offline

 

#18 2006-10-22 07:21:48

kotzy
New member
Registered: 2006-08-07
Posts: 8

Re: WRT54 Script Generator - little software to make traffic shaping easy

great job with this aplication!
i'm a newbie though,and don't know how to set DL/UL rates and Ceil... what is Ceil anyway?
My connection is 2048/386.

Offline

 

#19 2006-10-22 08:04:43

dadaniel
Member
Registered: 2005-03-30
Posts: 166

Re: WRT54 Script Generator - little software to make traffic shaping easy

the description of ceil is in red letters on top of the user-table in the program

Offline

 

#20 2006-10-22 08:34:57

kotzy
New member
Registered: 2006-08-07
Posts: 8

Re: WRT54 Script Generator - little software to make traffic shaping easy

oh yeah,never noticed that.
i followed all instructions (real speed..) and entered the script into "firewall script" and rebooted router, but then my WAN connection/modem keeps disconecting cca. every minute. most times it says "PPPoE authentication fail" why is that?

i used up all kbits in DL/UL rate, perhaps this is the problem? i also exceeded the set "real speed" quota in DL/UL Ceils (each computer gets 1024kbits of DL Ceil).

i have 1 WLAN and 2 LANs: WLAN with highest priority, LANS with low priority.

my code:
#--------------------------------------------
#WRT54 Script Generator v0.19 Beta
#Copyright (C) 2006 Robert "Robson" Mytkowski
#--------------------------------------------
tc qdisc del dev eth0
tc qdisc add dev eth0 root handle 1: htb default 65
tc class add dev eth0 parent 1: classid 1:1 htb rate 1843kbit
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 571kbit ceil 1200kbit prio 3
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 570kbit ceil 1200kbit prio 3
tc class add dev eth0 parent 1:1 classid 1:65 htb rate 4kbit ceil 4kbit
tc filter add dev eth0 parent 1:0 prio 3 protocol ip handle 10 fw flowid 1:10
tc filter add dev eth0 parent 1:0 prio 3 protocol ip handle 11 fw flowid 1:11
iptables -t mangle -A POSTROUTING -d 192.168.1.6 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.1.7 -j MARK --set-mark 11
/sbin/modprobe imq numdevs=1
ip link set imq0 up
tc qdisc del dev imq0
tc qdisc add dev imq0 root handle 1: htb default 65
tc class add dev imq0 parent 1: classid 1:1 htb rate 345kbit
tc class add dev imq0 parent 1:1 classid 1:10 htb rate 115kbit ceil 256kbit prio 3
tc class add dev imq0 parent 1:1 classid 1:11 htb rate 97kbit ceil 256kbit prio 3
tc class add dev imq0 parent 1:1 classid 1:65 htb rate 4kbit ceil 4kbit
tc filter add dev imq0 protocol ip prio 3 parent 1:0 u32 match ip src 192.168.1.6 flowid 1:10
tc filter add dev imq0 protocol ip prio 3 parent 1:0 u32 match ip src 192.168.1.7 flowid 1:11
iptables -t mangle -A PREROUTING -j IMQ --todev 0
tc qdisc del dev eth1
tc qdisc add dev eth1 root handle 1: htb default 65
tc class add dev eth1 parent 1: classid 1:1 htb rate 1843kbit
tc class add dev eth1 parent 1:1 classid 1:10 htb rate 702kbit ceil 1800kbit prio 0
tc class add dev eth1 parent 1:1 classid 1:65 htb rate 4kbit ceil 4kbit
tc filter add dev eth1 protocol ip prio 0 parent 1:0 u32 match ip dst 192.168.1.2 flowid 1:10

Last edited by kotzy (2006-10-22 09:24:46)

Offline

 

#21 2006-10-22 17:49:37

robsonn
Member
From: Poland
Registered: 2005-12-15
Posts: 104

Re: WRT54 Script Generator - little software to make traffic shaping easy

kotzy trun off function that avoid ip/MAc changing. There is some weird malfunction (but its not application fault).

Hi
In some near future (+- 2 weeks) there will be brand new version. I've discovered way to shape all users just by typing its IP. From version 0.20 there is not important that your client  is on WLAN or LAN.
Btw. Scripts will be smaller, simpler and will shape download and upload on LAN and Wifi simulatneously wink
This is working like a charm on Tomato, Thibor14+ (didn't tested on Tofu 13c). Also there will be new functions like definition of IP ranges, groups ect.
So be patient, if ii release new version i will give you know.

P.S. About shaping through MAC address. Im still working on it. It isn't so easy and so far i can't shape traffic by MAC like i want. If i discvover some way it will be implemented.


WRT54G v2.2 + Tomato 1.01.0918
WRT54GL v1.0 + Tomato 1.01.0918
PAP2 NA v1.0 + Stock 3.1.5

Offline

 

#22 2006-10-22 18:15:05

kotzy
New member
Registered: 2006-08-07
Posts: 8

Re: WRT54 Script Generator - little software to make traffic shaping easy

wow that helped!!! thanks! now let's try how this works smile

Last edited by kotzy (2006-10-22 18:15:30)

Offline

 

#23 2006-10-28 16:20:51

DonAca
New member
Registered: 2006-10-28
Posts: 3

Re: WRT54 Script Generator - little software to make traffic shaping easy

robson: thaks, Your app is great!

can You help me to set up my wrt54 ?

I have this situation :
Internet connection is via cable modem, which gets address by DHCP,
my ISP has 2 speed limitations :
local eg. 512down/256up for LOCAL connections (members of ISP), we can filter by outbound IP, ISP has 3 IP ranges
internet eg. 256down/128up for internet connections (other ip adresses)

is it possible to make firewall/QOS rules to limit bandwidth of computers connected to the wrt54
by their IP+outbound IP ?

thank You...

Offline

 

#24 2006-10-28 19:05:15

Hybrid
Member
Registered: 2006-09-29
Posts: 11

Re: WRT54 Script Generator - little software to make traffic shaping easy

I,ve Generated the following script for my WRT54GL v1.1 running HyperWRT 2.1b1 + Thibor15c

I,ve set the downspeed to 3400kbps and up speed to 440kbps, they are quite conservative figures, since the speeds I.ve measured are more like 3600/460 kbps. But to make sure the program has room to Manouvrem, I've set them a little lower. Now the way I persive the script below.  192.168.1.100 should get all the bandwitdh(except 5 kbps) whenever this ip tries to download from a source that is Capable of delevering the 3400kbps. However this isn't the case when I tested it against 192.168.1.105, got more like 3/4. And against 192.168.1.104 which is a WLAN connection(as you can see from the script), 192.168.1.104 was able to use all up to it's ceil. I don't think it's suppose to work like this, Am I wrong or .....? plz enlighten me.



#--------------------------------------------
#WRT54 Script Generator v0.19 Beta
#Copyright (C) 2006 Robert "Robson" Mytkowski
#--------------------------------------------
tc qdisc del dev eth0
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1: classid 1:1 htb rate 3400kbit
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 3395kbit ceil 3400kbit prio 0
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 1kbit ceil 3400kbit prio 2
tc class add dev eth0 parent 1:1 classid 1:12 htb rate 1kbit ceil 3400kbit prio 4
tc class add dev eth0 parent 1:1 classid 1:13 htb rate 1kbit ceil 3400kbit prio 4
tc class add dev eth0 parent 1:1 classid 1:14 htb rate 1kbit ceil 3400kbit prio 4
tc filter add dev eth0 parent 1:0 prio 0 protocol ip handle 10 fw flowid 1:10
tc filter add dev eth0 parent 1:0 prio 2 protocol ip handle 11 fw flowid 1:11
tc filter add dev eth0 parent 1:0 prio 4 protocol ip handle 12 fw flowid 1:12
tc filter add dev eth0 parent 1:0 prio 4 protocol ip handle 13 fw flowid 1:13
tc filter add dev eth0 parent 1:0 prio 4 protocol ip handle 14 fw flowid 1:14
iptables -t mangle -A POSTROUTING -d 192.168.1.100 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.1.101 -j MARK --set-mark 11
iptables -t mangle -A POSTROUTING -d 192.168.1.103 -j MARK --set-mark 12
iptables -t mangle -A POSTROUTING -d 192.168.1.105 -j MARK --set-mark 13
iptables -t mangle -A POSTROUTING -d 192.168.1.106 -j MARK --set-mark 14
/sbin/modprobe imq numdevs=1
ip link set imq0 up
tc qdisc del dev imq0
tc qdisc add dev imq0 root handle 1: htb
tc class add dev imq0 parent 1: classid 1:1 htb rate 440kbit
tc class add dev imq0 parent 1:1 classid 1:10 htb rate 435kbit ceil 440kbit prio 0
tc class add dev imq0 parent 1:1 classid 1:11 htb rate 1kbit ceil 440kbit prio 2
tc class add dev imq0 parent 1:1 classid 1:12 htb rate 1kbit ceil 440kbit prio 4
tc class add dev imq0 parent 1:1 classid 1:13 htb rate 1kbit ceil 440kbit prio 4
tc class add dev imq0 parent 1:1 classid 1:14 htb rate 1kbit ceil 440kbit prio 4
tc filter add dev imq0 protocol ip prio 0 parent 1:0 u32 match ip src 192.168.1.100 flowid 1:10
tc filter add dev imq0 protocol ip prio 2 parent 1:0 u32 match ip src 192.168.1.101 flowid 1:11
tc filter add dev imq0 protocol ip prio 4 parent 1:0 u32 match ip src 192.168.1.103 flowid 1:12
tc filter add dev imq0 protocol ip prio 4 parent 1:0 u32 match ip src 192.168.1.105 flowid 1:13
tc filter add dev imq0 protocol ip prio 4 parent 1:0 u32 match ip src 192.168.1.106 flowid 1:14
iptables -t mangle -A PREROUTING -j IMQ --todev 0
tc qdisc del dev eth1
tc qdisc add dev eth1 root handle 1: htb
tc class add dev eth1 parent 1: classid 1:1 htb rate 3400kbit
tc class add dev eth1 parent 1:1 classid 1:10 htb rate 1kbit ceil 700kbit prio 4
tc filter add dev eth1 protocol ip prio 4 parent 1:0 u32 match ip dst 192.168.1.104 flowid 1:10
iptables -A FORWARD -p tcp --syn -s 192.168.1.103 -m connlimit --connlimit-above 100 -j REJECT
iptables -A FORWARD -p tcp --syn -d 192.168.1.103 -m connlimit --connlimit-above 100 -j REJECT
iptables -A FORWARD -p tcp --syn -s 192.168.1.104 -m connlimit --connlimit-above 100 -j REJECT
iptables -A FORWARD -p tcp --syn -d 192.168.1.104 -m connlimit --connlimit-above 100 -j REJECT
iptables -A FORWARD -p tcp --syn -s 192.168.1.105 -m connlimit --connlimit-above 100 -j REJECT
iptables -A FORWARD -p tcp --syn -d 192.168.1.105 -m connlimit --connlimit-above 100 -j REJECT
iptables -A FORWARD -p tcp --syn -s 192.168.1.106 -m connlimit --connlimit-above 100 -j REJECT
iptables -A FORWARD -p tcp --syn -d 192.168.1.106 -m connlimit --connlimit-above 100 -j REJECT

Offline

 

#25 2006-10-31 13:44:23

robsonn
Member
From: Poland
Registered: 2005-12-15
Posts: 104

Re: WRT54 Script Generator - little software to make traffic shaping easy

i need some few days more and in new app version there will be slightly new method of generating scripts. So You will test it again (if you want of course wink). I'm pretty sure that your problems will past away.


WRT54G v2.2 + Tomato 1.01.0918
WRT54GL v1.0 + Tomato 1.01.0918
PAP2 NA v1.0 + Stock 3.1.5

Offline

 
  • Index
  •  » Advanced Help
  •  » WRT54 Script Generator - little software to make traffic shaping easy

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson