Edvinas Valatka 9 년 전
부모
커밋
30dcc93423
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      e-router

+ 0 - 5
e-router

@@ -19,10 +19,6 @@ create_tables() {
     ipset create -! $banset hash:ip hashsize 4096 timeout $bantime
 }
 
-activate() {
-    iptables-save > /etc/iptables/iptables.rules
-    systemctl restart iptables.service
-}
 
 create_wandroplog() {
     #iptables -A WANDROPLOG -p tcp -m limit --limit 5/min -j LOG --log-prefix  "WANDROPLOG TCP: " --log-level 7
@@ -100,4 +96,3 @@ create_wandroplog
 setup_nat
 setup_input
 setup_forward
-#activate