Hi all
I have to put a new iptable rule. For that I have created a script and named it "firewall-start" and located it under /jffs/scripts/
If I run the script manually evertyhing is working as expected. But the script will not get executed after a reboot. The Log doesn't show anything about the execution
cat /jffs/scripts/firewall-start
#!/bin/sh
logger -t "$0" "Starting IPTABLES Configuration"
iptables -I FORWARD 1 -s 192.168.178.0/24 -j ACCEPT
logger -t "$0" "Hey, I'm working!"
Could you assist me with this?
Thanks in advance!
FW: 380.70
Model RT-AC66U
Here is the Log Output:
https://pastebin.com/CrKDNCgp
I have to put a new iptable rule. For that I have created a script and named it "firewall-start" and located it under /jffs/scripts/
If I run the script manually evertyhing is working as expected. But the script will not get executed after a reboot. The Log doesn't show anything about the execution
cat /jffs/scripts/firewall-start
#!/bin/sh
logger -t "$0" "Starting IPTABLES Configuration"
iptables -I FORWARD 1 -s 192.168.178.0/24 -j ACCEPT
logger -t "$0" "Hey, I'm working!"
Could you assist me with this?
Thanks in advance!
FW: 380.70
Model RT-AC66U
Here is the Log Output:
https://pastebin.com/CrKDNCgp
Last edited: