“Firewalld Redhat” Réponses codées

Firewalld Redhat

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

Firewalld 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

Firewalld Redhat

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

Firewalld Redhat

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

Firewalld 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

Firewalld Redhat

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

Firewalld 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

Firewalld Redhat

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

Firewalld Redhat

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

Firewalld Redhat

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

Réponses similaires à “Firewalld Redhat”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code