shantanugoel / asus-rt-n66u-merlin

Discontinued. Please go to https://github.com/RMerl/asuswrt-merlin . Custom firmware for Asus RT-N66U based on asus sources. Started by Eric/RMerlin @ www.lostrealm.ca . There are 3 branches. master -> Asus stock, merlin -> RMerlin/Eric's builds, shantz -> Shantanu Goel's builds.
Other
18 stars 8 forks source link

Forward presets that use a 1111:2222,3333 port format break the firewall #18

Closed RMerl closed 12 years ago

RMerl commented 12 years ago

Game presets such as the Counterstrike (UDP) entry that use 11111:22222,33333 as dest port will break the firewall, as the router tries to create an invalid iptable rule:

-A FORWARD -p udp -m udp -d 192.168.10.100 --dport 27000:27015,1200 -j ACCEPT

The router properly splits that in two separate rules in the VSERVER table.

filter_setting() should try to split that in two separate rules.

Also, need to ensure that QoS doesn't suffer from the same issue.

RMerl commented 12 years ago

Bug fixed in the forward chain generation (commit b11fc266c161e40d5c1a69f1c4f2d80dfe5558bd).

RMerl commented 12 years ago

QoS is fine as it uses multiport. Closing this.