iptables : save & restore (as root)

Save all iptables rules to a .txt file and restore later (as root user):

iptables-save > /path/to/my-iptables-rules.txt
iptables-restore < /path/to/my-iptables-rules.txt

 

 

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare