Hi, i have upgrade the openwrt firmware on the dlink dwr-921, because I need to enter this string (provided by the manufacturer) to block data from the LAN network to which a sonar is connected:
The iptables is:
iptables –A INPUT –d 255.255.255.255 –j drop
I tried to add it both to the firewall file and to the firewall.user, but when I go to restart the firelwall the system releases errors.
Can anyone help me??
Best regards Salvatore
Your command is corrupted, iptables does not accept arguments starting with en dash (–), you must use the regular hypen/minus character (-, ASCII 0x2d).