[ previous ] [ next ] [ threads ]
 
 From:  "Jonathan De Graeve" <Jonathan dot De dot Graeve at imelda dot be>
 To:  <m0n0wall dash dev at lists dot m0n0 dot ch>
 Subject:  Captive portal traffic shaping
 Date:  Wed, 24 May 2006 13:48:59 +0200
Ok, what I currently found out is that if you add this rules in
combination with a valid pipe to the M0n0wall CP enabled firewall 

ipfw add 10010 set 4 pipe 50510 ip from 192.168.2.255 to any in
ipfw add 10010 set 4 pipe 55510 ip from any to 192.168.2.255 out

the client also gets internet access, effectively removing the necessity
to add the following rules to the system firewall:

ipfw add 10010 set 2 skipto 50000 ip from 192.168.2.255 to any in
ipfw add 10010 set 2 skipto 50000 ip from any to 192.168.2.255 out

Correct me if I'm wrong but currently this seems to work just fine.
I'm also curious if the Layer2 fw rule is still effective in this case.

Please give feedback as soon as possible.

J.

-- 
Jonathan De Graeve
Network/System Engineer
Imelda vzw
Informatica Dienst
+32 15/50.52.98
jonathan dot de dot graeve at imelda dot be

---------
Always read the manual for the correct way to do things because the
number of incorrect ways to do things is almost infinite
---------