Skip to content

Instantly share code, notes, and snippets.

@x22x22
Created December 27, 2018 07:13
Show Gist options
  • Save x22x22/decec2ad53173e686799e4c0fa6a68f9 to your computer and use it in GitHub Desktop.
Save x22x22/decec2ad53173e686799e4c0fa6a68f9 to your computer and use it in GitHub Desktop.
CentOS 7 firewall-cmd添加多个端口
firewall-cmd --add-port={port number/tcp,port number/tcp} --permanent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment