Hello Everyone,
In this tutorial I'm going to show you that how can you make the basic things that you can secure your Debian/Ubuntu based VPS server.
Let's start!
Congratulations!
If you did all of the above then you are ready with securing with your VPS server.
Please use the
⇩ button below. Thx.
In this tutorial I'm going to show you that how can you make the basic things that you can secure your Debian/Ubuntu based VPS server.
Let's start!
- 1. Login to your VPS server over SSH.
If you have a root account, then login with root.
If do not have a root account then you must login with the user that is available, but you must write sudo before every commands.
- 2. If you are on your server first update the packages list with
Code:apt-get update
- 3. After that update and install the newest packages with
Code:apt-get upgrade
- 4. Install unattended-upgrades
Code:apt-get install unattended-upgrades
With this package you can easily install security updates in the future.
- 5. Run unattended-upgrades
Code:unattended-upgrade -v
This will install security updates. This will take 1-2 minutes.
After it is finished then restart your VPS.
Code:reboot
- 6. Set the correct date, time and timezone
Code:dpkg-reconfigure tzdata
First choose the continent that you are on. http://kepfeltoltes.hu/151021/1_continen...es.hu_.png
Then select the city where you are living. http://kepfeltoltes.hu/151021/2_citiy_se...es.hu_.png
Nota bene: If you would like to see your local time then do this above.
But you can choose your VPS's physical location too if you would like to see how much is the time where the VPS is located at.
- 7. Disable answering to PING requests
First install my favorite command line text editor which is nano.
Code:apt-get install nano
Then open and edit a text config file with nano
Code:nano /etc/sysctl.conf
Simple copy and paste these two lines to the end of the file:
Code:net.ipv4.icmp_echo_ignore_all = 1
net.ipv4.icmp_echo_ignore_broadcasts = 1
Then press CTRL and X at the same time to exit from Nano.
Then save and overwrite the old file by pressing Y then ENTER keys.
- 8. Change default SSH port, lower login grace time and disable root login with nano
Code:nano /etc/ssh/sshd_config
Find these lines:
You can change this to anything, but I advise to choose from 10000 to 65535 range.Code:Port 22
Lower it 12Code:LoginGraceTime 120
Change it to no.Code:PermitRootLogin yes
:exclamation: Warning! Disable root login is advised only if you have got at least one other account on your VPS that you can login with.
If you don't have an another user on your VPS other than root and you disable root login then you won't be able to login to your VPS server anymore.
Then press CTRL and X at the same time to exit from Nano.
Then save and overwrite the old file by pressing Y then ENTER keys.
:idea: But you can create a second user easily.
Use numbers in the username and if someone would like to hack your server then he has much harder work to guess the username with numbers and then guess the password too.
Code:adduser Sec0ndUser --force-badname
Then enter the new user's password, then repeat it.
You don't have to fill the other fields, simple press ENTERs.
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n]
If you logged in to your VPS with normal user and would like to do modifications then you can use sudo before every command to gain root access, or simple change user with the su command.
- 9.Install and configure Fail2ban
Your VPS is a public server on the web and everyone can see it.
A lot of hackers would like to get into it and steal your data and resources to send SPAM emails or attack other servers with your VPS.
To prevent this we disabled ping answers, root login over SSH, changed SSH ports. But we always can do more.
To install one of the best security software for Linux enter this:
Code:apt-get install fail2ban
To configure we have to edit config files with nano:
Code:nano /etc/fail2ban/jail.conf
Find these lines and make changes like I did:
Code:bantime = 80000
findtime = 30000
maxretry = 2
[ssh]
enabled = true
port = ssh,12345
Note: 12345 should be your previously chosen SSH port number in Step 8.
Then save it.
You can check when and where the hackers from want to access your VPS by typing:
Code:cat /var/log/fail2ban.log
Don't worry, of course fail2ban successfully stopped them.
Here you can see their IP addresses.
If you would like to know that where they are from, then enter this:
Code:wget -qO- http://getipaddr.net/more/index.php?ip=8.8.8.8
Code:8.8.8.8
Country: United States
Country code: US
Region: CA
Region code: California
City: Mountain View
94040
Latitude: 37.386
Longitude: -122.0838
Timezone: America/Los_Angeles
ISP: Google
Organization: Google
ASN: AS15169 Google Inc.
rDNS: 8.8.8.8
This just example, you must replace Google's IP address with the hackers' IP address that you can find in fail2ban.log.
- +1 Choose the right password
Your passwords should be very long and very complex.
You don't have to remember to it, simple use a password manager application.
I suggest to use KeePass. It's free and opensource.
You can donwload it from here: http://keepass.info/
Congratulations!
If you did all of the above then you are ready with securing with your VPS server.
Please use the
![[Image: thumbsup.png]](https://post4vps.com/images/icons/thumbsup.png)
Panda Global Protection 2016 - Get six months free license
Tutorial how can you get the license
They will send you the license by email.
You can download the software from Panda's official website: http://acs.pandasoftware.com/Panda2015/G...DAGP15.exe
GENERAL CONDITIONS
N.B. Just a side note:
There will be no ads, nags, or any other pop ups.
This is not a trial, this is a full version software for 6 months.
Tutorial how can you get the license
- 1. You must register on this website: http://promo.pandasecurity.com/tp-link/
- 2. Tu nombre means in Spanish that Enter your name here
- 3. Tu e-mail meas in Spanish that Enter your email address here
- 4. N de serie TP-LINK Enter this code here: "GP15TPLINK56"
They will send you the license by email.
You can download the software from Panda's official website: http://acs.pandasoftware.com/Panda2015/G...DAGP15.exe
GENERAL CONDITIONS
- Free for six months from product activation.
- This activation must be done at an earlier date than December 31, 2015.
- 5 Licences: once activated and registered the product can be used in 5 different devices associated with a single account Panda.
- Multidevice: supports Android ™, Windows and MAC.
- You can use it in tablets, smartphones and computers.
- Promotion valid until December 31, 2015.
N.B. Just a side note:
There will be no ads, nags, or any other pop ups.
This is not a trial, this is a full version software for 6 months.
Hello guys...today I am going to teach you how to create a BASIC SA:MP server in linux(CentOS).
Requirements:
1. One VPS or a Dedicated Server.
2. PuTTy and some knowledge of SSH.
3. Time and a cup of tea of you like...
Procedure:
First of all we will be creating a new user for SA:MP(NEVER run SA:MP in root)
So, Enter
Then, set a password
Enter any password.
If you are not used to PuTTy, let me tell you that the letters will not appear while you are typing the password.
Next close the root window.
Login with your newly created account.
Then...
1. Enter:
2.Then:
3. Un'tar'
4.You can verify whether it is properly done by entering the {code}ls[/code]command.
5.Now
5. Edit the config file. (DON'T FORGET TO CHANGE RCON Password)
When done, Ctrl+0 and then Ctrl+X
6. Then we must chmod some files as 'executable'
7. NOW IT'S TIME TO START THE SERVER.:
WOW!!! YOU NOW HAVE A WORKING SA:MP SERVER.
Requirements:
1. One VPS or a Dedicated Server.
2. PuTTy and some knowledge of SSH.
3. Time and a cup of tea of you like...
Procedure:
First of all we will be creating a new user for SA:MP(NEVER run SA:MP in root)
So, Enter
Code:
adduser -m samp
Code:
passwd samp
If you are not used to PuTTy, let me tell you that the letters will not appear while you are typing the password.
Next close the root window.
Login with your newly created account.
Then...
1. Enter:
Code:
cd ~
Code:
wget http://files.sa-mp.com/samp037svr_R2-1.tar.gz
Code:
tar zxf samp037svr_R2-1.tar.gz
5.Now
Code:
cd samp03
Code:
nano server.cfg
6. Then we must chmod some files as 'executable'
Code:
chmod +x samp-npc samp03svr announce
Code:
nohup ./samp03svr &
So, here I am sharing how to get 6 months licence of the No.1 ranked antivirus, Bitdefender.
It has been the greatest av from a lot of years.
It has won many awards. It's signatures are great.
Pro's
Worlds best protection, great signatures and zero day protection.
Easy to use and automated.
Good UI.
Con's
Resource hungry
Little buggy
Huge size of installer
How to get licence.
1-Go to the link below
2-enter email id and fill captcha
3-Press the button. You will get your licence in your email id.
After that install the product and put the licence. Enjoy. Product can be downloaded from their site (www.bitdefender.com)
Linkto giveaway:-
http://www.bitdefender.com/media/html/ad...oval-tool/
It has been the greatest av from a lot of years.
It has won many awards. It's signatures are great.
Pro's
Worlds best protection, great signatures and zero day protection.
Easy to use and automated.
Good UI.
Con's
Resource hungry
Little buggy
Huge size of installer
How to get licence.
1-Go to the link below
2-enter email id and fill captcha
3-Press the button. You will get your licence in your email id.
After that install the product and put the licence. Enjoy. Product can be downloaded from their site (www.bitdefender.com)
Linkto giveaway:-
http://www.bitdefender.com/media/html/ad...oval-tool/
Posted by: c0re - 10-18-2015, 12:18 PM - Forum: Other Free Service Providers
- No Replies
One of my threads from FreeVPS.us I wanted to share here.
(06-18-2015, 11:46 AM)c0re_03 Wrote: Hi, Here is a small giveaway. This giveaway is valid for Czech Republic only, but you can use any proxy and put your country and get the licence...E: I updated the proxy link![]()
Features:-
[font=sans-serif]•Protects you from Online Threats[/font]
[font=helvetica, arial, sans-serif][font=sans-serif]•Protects your devices from viruses, trojans and other malware. (Includes dual engines, Bitdefender + F-Secure, which provides excellent protection)[/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=sans-serif]•Anti-Theft[/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=sans-serif]•Banking protection to make banking safe[/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=sans-serif]•Quick and easy installation[/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=sans-serif]•Light-weight on system and automated[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=sans-serif]•Includes 3 devices, could be Windows, Mac or Android.[/font][/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]How to get:-[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]1-Use any Czech Proxy and go here - [font='Trebuchet MS', Helvetica, Arial, sans-serif]http://www.f-secure.com/chipcz[/font][/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]2-Fill all the fields [/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]3-Press enter[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]4-You will get a page telling your licence expiry date[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]5-Go to your F-Secure safe account page ( [font=arial, sans-serif]https://mysafe.f-secure.com/login )[/font][/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]6-Login to your account [/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]7-Click on "How to use F-Secure SAFE" button[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]8-A popup will come[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]9-Click on the -> arrow above, and move to the fourth picture (Next arrow)[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]10-Click the X button (Cross button)[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]11-You will find a "Install" button below along with the licences remaining[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]12-Click the "Install" button[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]13-A pop-up will come, with three options to download on current device, get by email, get my sms.[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]14-Use the first option and click the "Download" button[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]15-Select your platform/OS[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]16-Click next button[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]17-Name your device[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]18-Click on the next button[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]19-Click on "Download" button[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]20-Your installer will download[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]21-Open the installer and follow the instructions[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]22-Congrats, you have a installed Security Suite with 7 months of licence absolutely free![/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]Enjoy the giveaway, and share it with everyone![/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]Extra Info [/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]Czech proxy you can use for getting licence- www.unblocksurfproxy.com[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]I have provided in-depth steps for newbies too. If you aren't one, you can just simply follow me till 5th step, after which it's very easy to install.[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]The words in Bold are to emphasize the importance of them in the step.[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]I am not responsible for the Proxy, it is just put here my me, in case you want to use. If it causes any problems it's not my responsibility.[/font][/font][/font][/font][/font][/font]
[font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif][font=helvetica, arial, sans-serif]F-Secure is neither promoted by me, nor am I their partner.[/font][/font][/font][/font][/font][/font]
May be some of you already already know this but I am posting this here as it is a working site and gives real VPS...
https://www.cloudrino.net
https://www.cloudrino.net
Post your recently acquired tech items here..
Mine was nexus 9 tab
*awesome display
*awesome looks (htc obviously)
*awesome gaming(nvidia tegra)
Just upgraded its OS to Android M..
Worth my Money..
(This is not an advertisement :p)
Your turn..
Mine was nexus 9 tab
*awesome display
*awesome looks (htc obviously)
*awesome gaming(nvidia tegra)
Just upgraded its OS to Android M..
Worth my Money..
(This is not an advertisement :p)
Your turn..
My Hp-pavilion p077tx burns like hell whenever i play a game like Tomb Raider 2013 , afterwards due to which my game starts lagging...
What should i do..
Is it something to do with game or driver settings
Or
should I buy a cooling pad??
If i should buy cooling pad , of what company it should be ?? (Consider me a layman)
Any suggestions??
What should i do..
Is it something to do with game or driver settings
Or
should I buy a cooling pad??
If i should buy cooling pad , of what company it should be ?? (Consider me a layman)
Any suggestions??
[font='Exo 2', sans-serif]Hello Guys, I'm happy to announce that we are back on track but better than ever with some major upgrades to our services[/font]
[font='Exo 2', sans-serif]Special Code: "[/font]5CTGGGX2Ix[font='Exo 2', sans-serif][font=sans-serif]"[/font][/font][font='Exo 2', sans-serif] for Post4VPS users[/font]
[font='Exo 2', sans-serif]why using this code this will help you in future promotional offers for FreeVPS[/font]
Some Features
NEW Additions
[font='Exo 2', sans-serif]I have more codes set up already so feel free to ask for them if this code expire.[/font]
Support Forum
[font='Exo 2', sans-serif]Free Addons: [/font]
Best Regards
[font='Exo 2', sans-serif]Special Code: "[/font]5CTGGGX2Ix[font='Exo 2', sans-serif][font=sans-serif]"[/font][/font][font='Exo 2', sans-serif] for Post4VPS users[/font]
[font='Exo 2', sans-serif]why using this code this will help you in future promotional offers for FreeVPS[/font]
Some Features
- 5,000MB Disk Space
- 50,000 MB Bandwidth
- 1 Website (Available more with posts)
- 5 Sub Domains
- 10 Emails (Available more with posts)
- 1 Gbit Network Speed
- Cpanel as control panel
- Forum Based Support
- Free Website Migration
- Site Builder
- Softaculous (Available on posts)
- Instant Activation
NEW Additions
- Softaculous [HOT]
- Reduced Post Requirements for additional Features [HOT]
- Changed DC New Location N.London [HOT]
[font='Exo 2', sans-serif]I have more codes set up already so feel free to ask for them if this code expire.[/font]
Support Forum
[font='Exo 2', sans-serif]Free Addons: [/font]
Best Regards
Quote:Hello Guys, i'm glad to tell you that i'm finally done with the free hosting setup and is now open for you guys
ServeWebHosting is providing unmatched high quality free hosting service
Special Code: "AhNQaLNbBo" Counter Resetted (can be used for 10 Registrations)
And much more
- 5,000 MB Disk Space
- 50,000 MB BandWidth
- 5 Websites
- 5 sub domains
- 10 emails
- 1Gbit network speed
- cPanel as Control Panel
- Advanced DNS manager
- Forum based support
- Free website migration
- Site builder
Click Here to register (you will need the special code). (OPEN AGAIN)
I have more codes setup already so feel free to ask for them if this code expire.
Updates:Best Regards
- Email Verification Added
- 1 IP 1 Account
- New Dedicated IP added for hosting
- Minor Bug Fixes
- Support Forum
//Edits
https://www.servewebhosting.com/board/sh...pid=2#pid2

Welcome, Guest |
You have to register before you can post on our site. |
Search Forums |
(Advanced Search) |
Forum Statistics |
» Members: 2,271 » Latest member: orzpainter » Forum threads: 3,099 » Forum posts: 34,782 Full Statistics |
Online Users |
There are currently 337 online users. » 0 Member(s) | 335 Guest(s) Google, Bing |