gpt4 book ai didi

linux - UFW 插入 [number] 抛出错误

转载 作者:太空宇宙 更新时间:2023-11-04 12:49:00 26 4
gpt4 key购买 nike

我使用 sudo ufw insert 1 allow 80 但它导致 ERROR: Invalid position '1'我确信语法是正确的,为什么?

最佳答案

这是因为 position '1' 只有在已经存在至少一个规则时才有效,所以要在位置 1 插入你的规则,你只需要插入一个根本没有位置的规则它将默认为 position '1' 从那时起你可以有 position '2'position '3' 等 ...

关于linux - UFW 插入 [number] 抛出错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37820862/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com