Questo contenuto non è disponibile nella lingua selezionata.

3.6. Saving Network Packet Filter Settings


After configuring the appropriate network packet filters for your situation, save the settings so they can be restored after a reboot. For iptables, enter the following command:
# iptables-save > /etc/sysconfig/iptables
Copy to Clipboard Toggle word wrap
To ensure the iptables service is started at system start, enter the following command:
# systemctl enable iptables
Copy to Clipboard Toggle word wrap
You can verify whether the changes persist on a reboot by running the following command and checking whether the changes remain:
# systemctl restart iptables
Copy to Clipboard Toggle word wrap
See the Red Hat Enterprise Linux 7 Security Guide for more information on working with iptables in Red Hat Enterprise Linux 7
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat