Author Topic: How do i secure my VPS for maximum protection?  (Read 1105 times)

0 Members and 1 Guest are viewing this topic.

Offline deztiny

  • /dev/null
  • *
  • Posts: 16
  • Cookies: -14
    • View Profile
How do i secure my VPS for maximum protection?
« on: January 14, 2016, 10:43:12 am »
Pls how do i really stay protected on VPS, and prevent back tracking to the ip from which i connected to vps ? ...  am using putty x11 forwarding and other protection measures would be appreciated.Thanks in advance

Offline blindfuzzy

  • VIP
  • Peasant
  • *
  • Posts: 86
  • Cookies: 34
    • View Profile
Re: How do i secure my VPS for maximum protection?
« Reply #1 on: January 14, 2016, 01:48:06 pm »
You'll never be fully protected.

Offline deltonos

  • Serf
  • *
  • Posts: 36
  • Cookies: -2
    • View Profile
Re: How do i secure my VPS for maximum protection?
« Reply #2 on: January 14, 2016, 03:34:01 pm »
Yo allways could be tracked.

First of all: iptables (or a ncurses simple gui like arno-iptables-firewall) and... fail2ban :)

This must be the beginning of the hardening of a linux server

regards

Offline deztiny

  • /dev/null
  • *
  • Posts: 16
  • Cookies: -14
    • View Profile
Re: How do i secure my VPS for maximum protection?
« Reply #3 on: January 14, 2016, 11:43:15 pm »
i do not need to be fully protected ..i just need advise to maximise my protection. thats all

Offline noob

  • Knight
  • **
  • Posts: 202
  • Cookies: 29
    • View Profile
Re: How do i secure my VPS for maximum protection?
« Reply #4 on: January 16, 2016, 04:11:54 am »
Allow what you need block everything else:
-A INPUT -s 66.66.66/32 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p udp -j DROP
-A INPUT -p tcp --syn -j DROP

Offline deztiny

  • /dev/null
  • *
  • Posts: 16
  • Cookies: -14
    • View Profile
Re: How do i secure my VPS for maximum protection?
« Reply #5 on: January 16, 2016, 11:28:07 am »
thanks in advance...please in what file or directory do i find these from terminal. i have root access. am kinda of newbe to linux .pls just little guide on where to find the file to edit, then i can just make liitle research on google to work out the rest..

Offline blindfuzzy

  • VIP
  • Peasant
  • *
  • Posts: 86
  • Cookies: 34
    • View Profile
Re: How do i secure my VPS for maximum protection?
« Reply #6 on: January 19, 2016, 01:33:02 pm »
thanks in advance...please in what file or directory do i find these from terminal. i have root access. am kinda of newbe to linux .pls just little guide on where to find the file to edit, then i can just make liitle research on google to work out the rest..

Those changes occur in iptables. More info can be found here: https://help.ubuntu.com/community/IptablesHowTo