1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-04 03:15:23 +02:00
tldr/pages.nl/linux/iptables-save.md

18 lines
452 B
Markdown
Raw Normal View History

# 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 tabel:
`sudo iptables-save {{[-t|--table]}} {{tabel}}`
- Sla de `iptables` configuratie op in een bestand:
`sudo iptables-save {{[-f|--file]}} {{pad/naar/bestand}}`