You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
557 B
19 lines
557 B
#!/bin/bash |
|
|
|
#clear up iptables |
|
sudo iptables -t raw -D PREROUTING -p udp --dport 9987 -j CT --notrack |
|
sudo iptables -D INPUT -p udp --dport 9987 -j TS3_UDP_TRAFFIC |
|
sudo iptables -D INPUT -p tcp --dport 30033 -j TS3_TCP_TRAFFIC |
|
|
|
sudo iptables -F TS3_UDP_TRAFFIC |
|
sudo iptables -F TS3_TCP_TRAFFIC |
|
sudo iptables -F TS3_ACCEPT_NEW |
|
sudo iptables -F TS3_UPDATE_AUTHORIZED |
|
|
|
sudo iptables -X TS3_UDP_TRAFFIC |
|
sudo iptables -X TS3_TCP_TRAFFIC |
|
sudo iptables -X TS3_ACCEPT_NEW |
|
sudo iptables -X TS3_UPDATE_AUTHORIZED |
|
|
|
#delete the ipset |
|
sudo ipset destroy ts3_authorized
|
|
|