“Firemewalld Redhat” Ответ

Firemewalld Redhat

[tcarrigan@server ~]$ sudo firewall-cmd --zone=external --list-ports
60001/udp
Jittery Jackal

Firemewalld Redhat

[tcarrigan@server ~]$ firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: enp0s3 enp0s8
  sources: 
  services: cockpit dhcpv6-client mountd nfs rpc-bind ssh
  ports: 
  protocols: 
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 
Jittery Jackal

Firemewalld Redhat

[tcarrigan@server ~]$ sudo firewall-cmd --permanent --zone=external --remove-port=60001/udp
success
Jittery Jackal

Firemewalld Redhat

[tcarrigan@server ~]$ sudo firewall-cmd --zone=external --add-service=ftp
[sudo] password for tcarrigan: 
success
Jittery Jackal

Firemewalld Redhat

[tcarrigan@server ~]$ sudo firewall-cmd --reload
success

[tcarrigan@server ~]$ firewall-cmd --zone=external --list-all
external
  target: default
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: ssh
  ports: 
  protocols: 
  masquerade: yes
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 
Jittery Jackal

Firemewalld Redhat

[tcarrigan@server ~]$ sudo firewall-cmd --permanent --zone=external --add-port=60001/udp
success
Jittery Jackal

Firemewalld Redhat

[tcarrigan@server ~]$ firewall-cmd --zone=external --list-all
external
  target: default
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: ssh
  ports: 
  protocols: 
  masquerade: yes
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 
Jittery Jackal

Firemewalld Redhat

[tcarrigan@server ~]$ firewall-cmd --get-zones
block dmz drop external home internal libvirt public trusted work
Jittery Jackal

Firemewalld Redhat

[tcarrigan@server ~]$ firewall-cmd --zone=external --list-services
ftp ssh
Jittery Jackal

Firemewalld Redhat

[tcarrigan@server ~]$ sudo firewall-cmd --permanent --zone=external --remove-service=ftp
Warning: NOT_ENABLED: ftp
success
Jittery Jackal

Ответы похожие на “Firemewalld Redhat”

Смотреть популярные ответы по языку

Смотреть другие языки программирования