top of page

open a port in centos 7 firewall

  • Writer: Krishna Chaitanya
    Krishna Chaitanya
  • Jun 2, 2018
  • 1 min read

Follow these commands to open any port in the firewall of CentOS 7.

#> firewall-cmd --get-active-zones

public

interfaces: ens160

#> firewall-cmd --zone=public --add-port=443/tcp --permanent

success

#> firewall-cmd --reload

success


Recent Posts

See All

Comments


©2018 by fundamentals. Proudly created with Wix.com

bottom of page