# [網路安全系列] iptable操作方式 ###### tags: `網路安全系列` ## :triangular_flag_on_post: 舉例部署 kc180 被154.38.118.157 惡意刷登入頁面   :::success #禁止IP iptables -I INPUT -s 154.38.118.157 -j DROP #禁止指定 IP段 iptables -I INPUT -s 154.38.118.157/24 -j DROP #禁止指定 IP和端口 iptables -I INPUT -s 154.38.118.157 -ptcp --dport 22 -j DROP #解封禁止 IP iptables -D INPUT -s 154.38.118.157 -j DROP #查看狀態 iptables -nvL | grep DROP #切換root ::: 
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up