Open linsun78 opened 6 years ago
Where did you get your wifidog package? It seems you are missing a kernel module (should be a dependency), iptables-mod-nat-extra or some such...
I got package on https://github.com/wifidog/wifidog-gateway/ how and where can I get iptables-mod-nat-extra module or other module, I think my kernel verison is too low to dependent REDIRECT option
@linsun78 I presume you mean you compiled your pachage from the sources on github?
In any event, to install iptables-mod-nat-extra , the command is:
opkg install iptables-mod-nat-extra
See https://openwrt.org/docs/guide-user/services/captive-portal/wireless.hotspot.wifidog?s[]=wifidog for more information
wifidog log : (fw_iptables.c:121) iptables command failed(1): iptables -t nat -A WD_br-lan_Unknown -p tcp --dport 80 -j REDIRECT --to-ports 2060 iptables v1.4.10: unknown option `--to-ports'
kernel version:Linux OpenWrt 3.3.8 iptables version: iptables v1.4.10