[isf-wifidog] Cannot block access to 192.168.1.x network

Thomas Bergerot tom at radioshop.net
Lun 7 Déc 04:57:55 EST 2009


Hi everyone,

I'm using wifidog on an openwrt kamikaze 8.09, and i'd like to avoid wifi users to access local network (192.168.1.x).

I therefore setup a < global > rule as follow (in wifidog.conf) :

FirewallRule block to 192.168.1.0/16

But it's not working : when i launch wifidog (< /etc/init.d/wifidog start >), i get an < iptables : Invalid argument > error, and wifidog launches anyway, but from a computer connected on the wifidog network i can reach the local network (computers connected on WAN)

I'm using the wifidog version provided by kamikaze 8.09 packages (1.1.5-2).

I tried to install the compiled package from the sourceforge page, but when i launch it (< /etc/init.d/wifidog start >), i get a lot of < iptables command failed(1) > errors, as follow (i copied only a few lines, but i get an error for each rule in wifidog.conf) :

[3][Mon Dec  7 09:30:20 2009][3525](fw_iptables.c:116) iptables command failed(1): iptables -t filter -F WiFiDog_br-lan_Locked
[3][Mon Dec  7 09:30:20 2009][3525](fw_iptables.c:116) iptables command failed(1): iptables -t filter -F WiFiDog_br-lan_Global

Do you have any clue for theses two problems ?

Thanks a lot for your help and have a good day.

Regards,

Thomas

-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://listes.ilesansfil.org/pipermail/wifidog/attachments/20091207/4ee40a5b/attachment-0001.htm>


Plus d'informations sur la liste de diffusion WiFiDog