EvilZone
Hacking and Security => Beginner's Corner => : 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
-
You'll never be fully protected.
-
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
-
i do not need to be fully protected ..i just need advise to maximise my protection. thats all
-
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
-
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..
-
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