Changes between Version 4 and Version 5 of doc/developer/WiFiDog_V2

Show
Ignore:
Timestamp:
03/25/08 22:18:38 (14 years ago)
Author:
papril
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/developer/WiFiDog_V2

    v4 v5  
    134134 
    135135Almost all of this works, but we have to find the right recipe. 
     136 
     137When allowing a client: 
     138{{{ 
     139/* Track incoming stats (BY IP) */ 
     140iptables -t filter -A wd_incoming_stats -d 192.168.1.10 -j RETURN 
     141 
     142/* Allow MAC address and count outgoing stats (by MAC and IP) */ 
     143iptables -t filter -A wd_lan2wan_clients -s 192.168.1.10 --match mac --mac-source 01:02:03:04:05:06 -j ACCEPT 
     144 
     145/* Don't redirect anymore please (inserted on TOP) */ 
     146iptables -t nat -I wd_redirect 1 -s 192.168.1.10 --match mac --mac-source 01:02:03:04:05 -j ACCEPT 
     147}}}