What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

JFFS scripts reset?

Kryspy

Occasional Visitor
I have 2 sets of iptables in jffs/scripts/wan-start.

They work as expected; however if I make a change to the router at any time and save I lose the wan-start.

This is fixed by either running /jffs/scripts/wan-start or rebooting the router.
Is this normal behaviour?

Kryspy
 
I have 2 sets of iptables in jffs/scripts/wan-start.

They work as expected; however if I make a change to the router at any time and save I lose the wan-start.

This is fixed by either running /jffs/scripts/wan-start or rebooting the router.
Is this normal behaviour?

Kryspy

wan-start is only executed when the WAN inteface comes up. Anything that applies changes to the firewall or the NAT rules will overwrite changes done in wan-start. You should use firewall-start or nat-start for iptables-related changes.
 
Hmm,

I had my iptables in nat-start and also tried them in firewall-start. Problem was that after time this clobbered my DNS settings.

I use Unotelly and after a few minutes it would no longer work and would show up as not setup on their websites and websites like Hulu Plus would fail (I am in Canada).

Kryspy
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top