在 Linux 下如果要封鎖 ip 的網路流量, 可以透過 iptables 實現, 指令如下: /linux/iptables # iptables -A INPUT -s IP_ADDRESS -j DROP 只要將想上面的 IP_ADDRESS 換成要封鎖的 ip 便可以了. 有一種情況是不想將某個 ip 的全部流量封鎖, 只想封鎖指定的 port 埠號, …
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.