Changes between Version 4 and Version 5 of doc/developer/WiFiDog_V2
- Timestamp:
- 03/25/08 22:18:38 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/developer/WiFiDog_V2
v4 v5 134 134 135 135 Almost all of this works, but we have to find the right recipe. 136 137 When allowing a client: 138 {{{ 139 /* Track incoming stats (BY IP) */ 140 iptables -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) */ 143 iptables -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) */ 146 iptables -t nat -I wd_redirect 1 -s 192.168.1.10 --match mac --mac-source 01:02:03:04:05 -j ACCEPT 147 }}}