@@kejilion ~# iptables-restore < /etc/iptables/rules.v4 iptables-restore v1.8.10 (nf_tables): iptables-restore: line 54 table name 'filter ' invalid Error occurred at line: 54 Try `iptables-restore -h' or 'iptables-restore --help' for more information.
@August-v4n2 ай бұрын
@@kejilion 大佬,新问题,不知道我哪里做错了吗?
@kejilion2 ай бұрын
你的系统太老了,这个命令不支持?
@August-v4n2 ай бұрын
@@kejilion用的是试用期的termius,甲骨文是20.4乌班图,应该不是这个原因
@curiosityark3525 Жыл бұрын
输入systemctl enable netfilter-persistent 返回Failed to enable unit: Unit file netfilter-persistent.service does not exist.什么原因,如何解决
@kejilion Жыл бұрын
翻译下 看不懂
@liyawei6749 ай бұрын
请教大佬,子网设置里的出入站规则如果与rules.v4文件里所写的规则冲突,那么以那个为准呢?
@kejilion9 ай бұрын
自上而下 下面的就失效了
@joey322311 ай бұрын
求高手指導一下,我輸入nano /etc/iptables/rules.v4 回車以后,系統就說-bash: nano: command not found。這是怎麼回事呀!盼復!🙏
iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter ' Error occurred at line: 1 Try `iptables-restore -h' or 'iptables-restore --help' for more information. 加载规则这步出错了,应该怎么解决。
请教大佬,在修改ssh端口不失联的时候第二次编辑rules.v4时要重新复制编辑内容吗?因为我输入命令后并没有出现内容。我重新复制进去修改四个2却无法保存,提示[ Error writing /etc/iptables/rules.v4: No such file or directory ]@@kejilion
root@oracle-amd01:~# apt remove -y iptables-persistent Reading package lists... Done Building dependency tree Reading state information... Done Package 'iptables-persistent' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded. 我这边卸载不掉,请问什么原因?
@kejilion Жыл бұрын
apt purge -y iptables-persistent
@bozheng7891 Жыл бұрын
@@kejilion 通过该命令还是无法卸载 uname -a Linux oracle-amd01 5.15.0-1047-oracle #53~20.04.1-Ubuntu SMP Tue Oct 24 09:22:11 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux apt purge -y iptables-persistent Reading package lists... Done Building dependency tree Reading state information... Done Package 'iptables-persistent' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.