justinvoelker
New Around Here
As stated in the title, I'm trying to allow guest network devices to access a single device on the LAN. I followed the "Custom firewall rules" instructions from https://github.com/jackyaz/YazFi but my script doesn't seem to execute.
I created the file "/jffs/addons/YazFi.d/userscripts.d/myscript.sh" and made it executable. Then, I populated it with the following content.
After a router reboot, I executed "iptables -S" and that new rule does not exist. I have "Enable JFFS custom scripts and configs" enabled in the settings but I just can't seem to get this firewall rule added. Any ideas?
I created the file "/jffs/addons/YazFi.d/userscripts.d/myscript.sh" and made it executable. Then, I populated it with the following content.
Code:
#!/bin/sh
iptables -I YazFiFORWARD -i wl0.1 -o br0 -d 192.168.1.10 --dport 8096 -j ACCEPT
After a router reboot, I executed "iptables -S" and that new rule does not exist. I have "Enable JFFS custom scripts and configs" enabled in the settings but I just can't seem to get this firewall rule added. Any ideas?