My Blog

toolman xyz

  1. Home
  2. About
  3. Archives
  4. Tags
  5. Search
  6. Links
  7. Disclaimer
  8. RSS
Featured image of post 一點點 iptables 的簡單指令
Linux

一點點 iptables 的簡單指令

Nov 15, 2020
1 minute read

列出目前的規則

$ iptables -f -nv #不確定

清除所有的規則

$ iptables -P INPUT ACCEPT
$ iptables -P FORWARD ACCEPT
$ iptables -P OUTPUT ACCEPT
$ iptables -t nat -F
$ iptables -t mangle -F
$ iptables -F
$ iptables -X

Source: best way to clear all iptables rules

Here  

Linux Apache
Licensed under CC BY-NC-SA 4.0

Related content

免費虛擬主機 - infinityfree

外網快速連結本機工具

Docker 基本操作

在Linux安裝pm2及基本操作

fix dpkg error code(100) / error code(1)

© 2020 - 2025 My Blog
Built with Hugo
Theme Stack designed by Jimmy