Skip to content

Commit

Permalink
v1.0 + Loading ipset_rules even when there is no connection (reboot)
Browse files Browse the repository at this point in the history
  • Loading branch information
AKotov-dev committed May 18, 2023
1 parent a20a210 commit 278d258
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions censor/package-project/censor.prj
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,9 @@ deb=1
26=iptables -P INPUT ACCEPT; iptables -P OUTPUT ACCEPT; iptables -P FORWARD ACCEPT
27=ip6tables -P INPUT ACCEPT; ip6tables -P OUTPUT ACCEPT; ip6tables -P FORWARD ACCEPT
28=
29=#Очищаем и удаляем таблицы ipset
30=if [[ $(ipset -L) ]]; then ipset destroy; fi
31=if [ -f /root/.censor/ipset_rules ]; then rm -fv /root/.censor/ipset_rules; fi
32=fi;
29=#Удаляем таблицы ipset
30=if [ -f /root/.censor/ipset_rules ]; then rm -fv /root/.censor/ipset_rules; fi
31=fi;

[URL32]
url32=https://github.com/AKotov-dev/censor
Expand Down

0 comments on commit 278d258

Please sign in to comment.