iptables iptables -L -t <table_name> # show one table's rule , default table name: filter iptables-save # show all rules iptables-restore <filename> # restore rules