zamaro

How to edit teamspeak on linux vps

Apr 9th, 2015
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. http://www.reconhosting.com/clients/knowledgebase/735/Installing-Teamspeak-3-Server.html
  2.  
  3. ^ open TS ports
  4.  
  5.  
  6. iptables -I INPUT -p tcp --dport 30033 -j ACCEPT
  7. iptables -A INPUT -p tcp –dport 10011 -j ACCEPT
  8. iptables -A INPUT -p udp –sport 9982 -j ACCEPT
  9.  
  10. iptables -A INPUT -p udp –sport 9982 -j ACCEPT
  11.  
  12. ntsysv this will pop up a box to edit start up
  13.  
  14. http://www.cyberciti.biz/faq/linux-default-services-which-are-enabled-at-boot/
  15.  
  16. /usr/local/ddos/ddos.conf
  17. NUMBER OF ip'S connected sh /usr/local/ddos/ddos.sh
  18.  
  19. RESTART DDOS DEFLATE sh /usr/local/ddos/ddos.sh -c
  20.  
  21. http://www.cyberciti.biz/faq/linux-default-services-which-are-enabled-at-boot/
  22.  
  23. iptables -I INPUT -p tcp --dport 9982 -j ACCEPT
  24. route add 62.146.63.84 reject
  25. iptables -A INPUT 1 -s 62.146.63.84 -j DROP/REJECT
  26.  
  27. iptables -A allowed -p udp --dport 9982 -s 129.2.0.0/16 -j ACCEPT
  28.  
  29. netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
  30.  
  31. /etc/apf/apf -d
  32.  
  33.  
  34. //Creation:
  35. screen -S some_name proc
  36. // Kill detached session
  37. screen -S some_name -X quit
  38.  
  39. netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
  40.  
  41. route -n
  42.  
  43. netstat -plan | grep :80 | grep SYN
  44.  
  45. ps -aux|grep -i HTTP|wc -l < how many http attacks.
  46.  
  47. netstat -lpn|grep :80|awk '{print $5}'|sort GET Ip'S
  48.  
  49. iptables -A INPUT -s <Source IP> -j DROP BLOCk ip'S
  50.  
  51.  
  52. ps aux|grep HTTP|wc -l
  53. /etc/apf/apf -d <ip>
  54.  
  55. apf -d 1.2.3.4 DDOS
  56. Unbanning an IP can by done by running:
  57. After any change : /etc/apf/apf -r
  58. apf -u 1.2.3.4
Advertisement
Add Comment
Please, Sign In to add comment