Permanently save iptables
Hallo everyone,
I was able to use iptables / nat rules, to redirect requests to a different port or IP.
After rebooting the PLC the configuration is gone.
Is there a possible way to permanently save the configuration?
Hallo everyone,
I was able to use iptables / nat rules, to redirect requests to a different port or IP.
After rebooting the PLC the configuration is gone.
Is there a possible way to permanently save the configuration?
Comments
You can create your own nftables configuration file and then apply that configuration at startup using an init.d script. An example is given in this Knowledge Base article:
Note: These files will be lost after a Type 1 or a Type 2 reset.