Config reverts itself overnight - not a reboot

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Author Message
KnightsGoNidd
DD-WRT Novice


Joined: 25 Aug 2019
Posts: 4

PostPosted: Sun Sep 08, 2019 12:33    Post subject: Config reverts itself overnight - not a reboot Reply with quote
I have: Linksys WRT1900ACS
Firmware Version DD-WRT v3.0-r40559 std (08/06/19)
Kernel Version Linux 4.9.187 #1207 SMP Tue Aug 6 05:17:29 CEST 2019 armv7l

I have added a couple of iptables commands into the startup script. These work fine and do what I want them to do. However, at some point, these extra commands disappear from the tables. I'm not sure exactly when, it's just if I enter them one day, by the next day they are gone. The router is not rebooting (in fact, a reboot correctly adds these commands as it should).

Why are the iptables reverting to their previous state and can I stop this behaviour?
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 5193
Location: Netherlands

PostPosted: Sun Sep 08, 2019 12:47    Post subject: Reply with quote
Because the firewall restarts.

Firewall commands have to be saved as firewall and not as startup

_________________
Routers:Netgear R7800, Netgear R6400v1, Netgear R6400v2, Linksys EA6900 (XvortexCFE), Linksys E2000 (converted WRT320N), WRT54GS v1.
Install guide Linksys EA6900: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=291230
OpenVPN Policy Based Routing guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN Server Setup:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Wireguard Setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135
KnightsGoNidd
DD-WRT Novice


Joined: 25 Aug 2019
Posts: 4

PostPosted: Sun Sep 08, 2019 21:04    Post subject: Doh! Reply with quote
Thought it might be something simple! Now I know what the "Save firewall" button means.

Many thanks
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum