>
> On 13/5/23 18:56, Tom Reed wrote:
>> for iptables-save, after system rebooting, does it know where to locate
>> the file?
>
> Yes. That's all taken care of by the iptables-persistent package
>
> Also I made a typo. correction;
>
> sudo nano /etc/iptables/rules.v4
>
> sudo nano /etc/iptables/rul
On 13/5/23 18:56, Tom Reed wrote:
for iptables-save, after system rebooting, does it know where to locate
the file?
Yes. That's all taken care of by the iptables-persistent package
Also I made a typo. correction;
sudo nano /etc/iptables/rules.v4
sudo nano /etc/iptables/rules.v6
--
Jeremy
>
> On 13/5/23 18:48, Tom Reed wrote:
>> How to recovery iptable rules after system rebooting?
>> I know I can put a @reboot crontab for this but there is maybe the
>> better
>> way.
>
>
> sudo apt install iptables-persistent
>
> sudo iptables-save > /etc/iptables/rules.v4
>
> sudo ip6tables-save >
On 13/5/23 18:48, Tom Reed wrote:
How to recovery iptable rules after system rebooting?
I know I can put a @reboot crontab for this but there is maybe the better
way.
sudo apt install iptables-persistent
sudo iptables-save > /etc/iptables/rules.v4
sudo ip6tables-save > /etc/iptables/rules.
Hello
How to recovery iptable rules after system rebooting?
I know I can put a @reboot crontab for this but there is maybe the better
way.
Thanks
5 matches
Mail list logo