translator
1,005
edits
m (Template inserted) |
m (Template inserted) |
||
Line 144: | Line 144: | ||
<!--T:34--> | <!--T:34--> | ||
To save the current rules to a file | To save the current rules to a file | ||
{{UserCmd|command=sudo sh -c "iptables-save > /etc/iptables/iptables.rules"}} | <tvar|usercmdD>{{UserCmd|command=sudo sh -c "iptables-save > /etc/iptables/iptables.rules"}}</> | ||
<!--T:35--> | <!--T:35--> | ||
To load the rules from a file | To load the rules from a file | ||
<tvar|usercmdE>{{UserCmd|command=sudo sh -c "iptables-restore > /etc/iptables/iptables.rules"}}</> | |||