T
tantrileft
Guest
i want to block a LOT of country with ip tables.
i have to insert something like 3000 lines of iptables commands.
i tried manually with a bash script and iptables crashed. (even if it would have not crashed it would have been unuseful because plesk would have then overwritten the tables).
i have seen that plesk store in mysql db all the datas about the iptables rules.
may i have a SQL script to insert in the mysql psa db the rules i want (3000 of them) without having iptables crash and without any problem?
is there not a way to use iptables-save/restore with plesk iptables?
thanks
stefano
i have to insert something like 3000 lines of iptables commands.
i tried manually with a bash script and iptables crashed. (even if it would have not crashed it would have been unuseful because plesk would have then overwritten the tables).
i have seen that plesk store in mysql db all the datas about the iptables rules.
may i have a SQL script to insert in the mysql psa db the rules i want (3000 of them) without having iptables crash and without any problem?
is there not a way to use iptables-save/restore with plesk iptables?
thanks
stefano