EvilZone

Hacking and Security => Beginner's Corner => : deztiny January 14, 2016, 10:43:12 AM

: How do i secure my VPS for maximum protection?
: deztiny 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
: Re: How do i secure my VPS for maximum protection?
: blindfuzzy January 14, 2016, 01:48:06 PM
You'll never be fully protected.
: Re: How do i secure my VPS for maximum protection?
: deltonos 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
: Re: How do i secure my VPS for maximum protection?
: deztiny 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
: Re: How do i secure my VPS for maximum protection?
: noob 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
: Re: How do i secure my VPS for maximum protection?
: deztiny 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..
: Re: How do i secure my VPS for maximum protection?
: blindfuzzy 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