iptables spremanje i citanje postavki

Spremanje iptables trenutnih opcija u file: firewall.conf:

Code:
iptables-save >firewall.conf

Čitanje iptables postavki iz file-a: firewall.conf i postavljanje istih trenutne postavke:

Code:
iptables-restore <firewall.conf

Ispis kompletne tablice na ekran:

Code:
iptables -L

Leave a Reply