Hi there,
I want to include config from Attack Prevention settings in custom FW, but dont know where config files are stored on the router?
Regards!
Hi there,
I want to include config from Attack Prevention settings in custom FW, but dont know where config files are stored on the router?
Regards!
Hello,
If you want to add one or more files to a custom firmware create a subdir named files in the base directory of the SDK and populate it, for example:
files/etc/config/firewall
and rebuild the image. Your modified config will appear as /etc/config/firewall after flashing.
Regards,
Yes I already have config files inside, so I take “firewall” and insert inside attack prevention scripts like this:
config include 'pscan'
option type 'script'
option reload '1'
option path '/usr/bin/attack_prevention'
Regards,
So this should be enough if inserted at the correct place in the SDK.
Tnx @flebourse. Now its ok.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.