1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 23:17:58 +01:00
tldr/pages.nl/linux/iptables-save.md
Sebastiaan Speck 5788b56f69
pages.nl/*: add and update pages (#11397)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-11-07 14:27:25 +01:00

436 B

iptables-save

Sla de iptables IPv4 configuratie op. Gebruik ip6tables-save om hetzelfde te doen voor IPv6. Meer informatie: https://manned.org/iptables-save.

  • Toon de iptables configuratie:

sudo iptables-save

  • Toon de iptables configuratie van een specifiek [t]abel:

sudo iptables-save --table {{tabel}}

  • Sla de iptables configuratie op in een bestand:

sudo iptables-save --file {{pad/naar/bestand}}