[Guide][Security] Securing Your Server * 1x Game Server *

12/07/2011 01:50 AceSpace#1
Summary:
Alright, i know i haven't been around here releasing lately, been very distracted and have been resenting the ******** community, sorry i am back now and i will be writing some seriously amazing guides here! Noob friendly guides and other things too!


Objective
* We going to be managing the TCP connections and blocking the following ports -> 32000, 15880, 15882, 15885, 15883, 8080, 1433, 3306 <-
* Set mssql to local
* Set odbc to local

Result

Secures your ports
Secures your connections

Difficulty
Hard


-----------------------------------------------------------
- Alright, lets get started with the guide -
-----------------------------------------------------------

Step 1) Fire walls, knowing and understanding the firewall!

- So this guide is actually built for Windows RC2 but you can still probably get the same idea working on windows or linux or mac or whatever the hell you use to run your server on! IF you are running your website on 8080, then dont block 8080, else block 8080.
  • Step 1a) Turn on your windows firewall
  • Step 1b) Run mmc.exe [Windows Firewall with advanced security]
    • Click on New Rule
    • Choose Protocols and Ports
      • Click Next
    • Click TCP
    • Click Specific Local Ports
    • Type 15880, 15882, 15885, 15883, 19980, 8080, 1433, 3306
      • Click Next
    • Block the Connection
      • Click Next
      • Click Next again
    • Put a Name and description
      • Click Finish
So now we pretty much closed down all the ports that are open to public, you can verify this by using an online port scanner! [Only registered and activated users can see links. Click Here To Register...] verify that all these ports are closed! You dont ever need a reason to have them open in the first place


Step 2) Making your SQL Connection Local

- This will pretty much make your remote connection local, so if anyone knows your database username/password you will never be hacked because they cant do shit with it anyways!! Because your sql/port are all local host!
THIS IS ONLY FOR 2005 EXPRESS NOT 2008 RC2

  • Step 1) Run SqlSAC.exe [SQL Server 2005 Surface Area Configuration]
    • Click on Surface Area Configuration for services and conenctions
    • Click on Remote Connections
    • Click Local Connection Only
      • Click ok

Step 3) Making your ODBC Connection Local

- This will make your ODBC connection local, so there are methods where it was easy to just open your certificate and get the connection information of your odbc/sql data but this should help fix that!
  • Step 1) Run odbcad32.exe [ODBC Data Source Administrator]
  • Step 2) Notice how all these guides make you add information in the System DNS, well instead of that, add it to User DNS. Read the description under both and you might understand why!


Credits goes completely to: Jangan [a user from another forum] / @jangan322
12/13/2011 23:09 Zoxon#2
copy pastaaaaa
12/14/2011 12:06 kebabas1600#3
True from RZ Jangan's tut^^ i think xD
12/14/2011 12:10 18andLife#4
Quote:
Originally Posted by ˛˛Rock˛˛ View Post
[U][B]
I Hope i Help.
You didn't help with copying it.
12/14/2011 14:53 !x_~!#5
Copy paste from RZ now be famous ..
with Copy Paste you make forum useless .
12/18/2011 00:53 penelopee#6
LOL

Stop to be dumbass !
He copyd cos not all of epvp know/use RZ forum !
So its a good thread -> gaving a Thanks.

I dont like guys like you haters.
Cos you dont have anouth money for buying a root server >.< .

Just stop to Hate, and start tollerance his "work" (work here = copy, paste. Nothing bad !)
12/18/2011 02:30 ✗EpicSoul✗#7
Quote:
Originally Posted by penelopee View Post
LOL

Stop to be dumbass !
He copyd cos not all of epvp know/use RZ forum !
So its a good thread -> gaving a Thanks.

I dont like guys like you haters.
Cos you dont have anouth money for buying a root server >.< .

Just stop to Hate, and start tollerance his "work" (work here = copy, paste. Nothing bad !)
have a nice read.. but look no credits for jangan why should we appreciate what he copied
12/19/2011 21:32 _slimshady_#8
Quote:
Originally Posted by penelopee View Post
LOL

Stop to be dumbass !
He copyd cos not all of epvp know/use RZ forum !
So its a good thread -> gaving a Thanks.

I dont like guys like you haters.

So what if not all epvp members know RZ forum. The point is he did not give credit to the original maker of this guide. Taking someone else's work and using it as your own is stealing and he should be banned. This is happening a lot and there should be consequences for it.

#Reported
12/20/2011 02:27 jangan322#9
lol... this looks familiar :O


Quote:
Originally Posted by penelopee View Post
LOL

Stop to be dumbass !
He copyd cos not all of epvp know/use RZ forum !
So its a good thread -> gaving a Thanks.

I dont like guys like you haters.
Cos you dont have anouth money for buying a root server >.< .

Just stop to Hate, and start tollerance his "work" (work here = copy, paste. Nothing bad !)

I do not appreciate my work being stolen without credits or linkback or permission.
If you ever contributed you would know what i mean...
12/26/2011 22:30 penelopee#10
Quote:
Stop to be dumbass !
He copyd cos not all of epvp know/use RZ forum !
So its a good thread -> gaving a Thanks.

I dont like guys like you haters.
Cos you dont have anouth money for buying a root server >.< .

Just stop to Hate, and start tollerance his "work" (work here = copy, paste. Nothing bad !)
Quote:
I do not appreciate my work being stolen without credits or linkback or permission.
If you ever contributed you would know what i mean...

I wrote that its not rly a work, he just copy and pated it. Ofc. its your work, and he need to add your name or your post in it.
07/14/2016 02:29 hosam tito#11
i have problem any help please :(((
My server Online at Vps but offline on my computer ! WTF ?!!? any help ?!?!
07/14/2016 03:21 B1Q#12
hahahaha i thought this was a 2k16 topic
07/14/2016 03:26 R3D*#13
Quote:
Originally Posted by hosam tito View Post
i have problem any help please :(((
My server Online at Vps but offline on my computer ! WTF ?!!? any help ?!?!
Open 15779, 15884 In firewall :)
07/14/2016 05:41 EdwardTeach+-#14
Quote:
Originally Posted by Acs' View Post
Open 15779, 15884 In firewall :)
may he use a different ones.
Quote:
Open ur Getway, Agent Ports In firewall :)
07/14/2016 06:29 AceSpace#15
Quote:
Originally Posted by hosam tito View Post
i have problem any help please :(((
My server Online at Vps but offline on my computer ! WTF ?!!? any help ?!?!
Did you just push a 5 years old thread?.. Ignore the thread content, it's useless. The only real change you need to do is open 15779, 15884, 15881 (Gateway, Agent, Download) Ports and look in srNodeData for port changes. The other ports are closed by default in Firewall

How to identity ports in srNodeData:

And in ODBC make sure to add the sql connection in User DSN not System.