作者: milanolarry 時間: 2025-8-22 22:30 標題: 新手 iptable 問題
本帖最後由 milanolarry 於 2025-8-22 22:32 編輯
從前防火牆是在 /etc/rc.local 打一些 iptables command,在新的版本 iptables 沒有了, /etc/rc.local 也消失了。因為只需要打數行 command ,所以不想花時間學 UFW。試過裝 iptables,這個沒問題,但裝後 /etc/rc.local 仍是不見,不知 command 可打在哪裡?謝謝。
作者: Kin_2012 時間: 2025-8-22 23:54
從前防火牆是在 /etc/rc.local 打一些 iptables command,在新的版本 iptables 沒有了, /etc/rc.local 也 ...
milanolarry 發表於 2025-8-22 22:30
nftables
作者: javacomhk 時間: 2025-8-23 00:36
用 systemd 服務替代 /etc/rc.local
作者: 小薯仔 時間: 2025-8-23 08:35
你用緊嘅Linux Distro,應該已經用nftables代替iptables了 (或者用iptables-nft)
如果用RedHat系,應該要裝FirewallD
如果用Ubuntu系,都係UFW啦
作者: milanolarry 時間: 2025-8-23 20:06
吾該

