在 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.