Restoring the default firewall state after accepting all connections

I’m not sure if, when I execute these commands from wiki page, all the default firewall rules will be restored after rebooting. Thank you.

iptables -I INPUT -j ACCEPT - to accept ALL connections, and then
iptables -I FORWARD -j ACCEPT - to forward all traffic.

RUTM08 RUTM_R_00.07.19.4

Hello,

After testing this out, I came to a conclusion that writing these commands will not make much of a difference. Here’s my results (I used the command iptables -L -v -n)

Nothing changed:

Changed & restarted firewall service:

I suggest just using /etc/init.d/firewall stop and /etc/init.d/firewall start as you can manipulate these easily without needing to reboot the device.

Regards,
M.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.