How to PROPER secure your servers! [Must read for developers]

07/13/2010 15:59 Danco1990#1
/No support on ePvPers
07/13/2010 18:14 AriezOMG#2
Danco told me to close it after I got hacked, and so I did :/ I haven't been able to get hacked since, but there is an inconvenience. That is having the server host be the only one able to access the SQL. Convient because it's not hackable, yet inconvenient because you have to do it all yourself.
07/13/2010 18:52 jamessimpler#3
Glad u pointed this out. This is good information and THANK YOU! :)

Call me a nub but what do u mean by using proxy server? I mean how u use the proxy server for the private server purpose? Any example to show what u mean? Thanks

Client ---> Proxy Server (Server IP:192.168.0.1) ----> PSM (Server IP:192.168.0.2 ) ------> SQL (Server IP: 192.168.0.3)?

Is this what u mean?



Quote:
Originally Posted by Danco1990 View Post
Ok here is the deal, people did NOT use any SQL Inject query or whatsoever. The hacking proces is WAY easier... In some guides it has been said to forward these ports:
.....

I hope i've helped you guys out, if you have anything to add, state it here and ill put it in the guide and put your name in the credits. If i've helped you, i always appriciate a simple "Thanks".

Danco1990
07/13/2010 19:03 hackin#4
This way no one gets hacked #STICKY REQUEST!!Everyone should do this to perevnt from being hacked,important to everyone.
07/13/2010 23:40 EvilWarriorReturns#5
should be stickied
very helpful indeed
07/14/2010 20:10 ShaiyaEternity#6
This is amazing ^^!
07/14/2010 20:51 HolyWater93#7
request sticky too! thank you :)
07/14/2010 20:57 lilprohacker#8
the best way to secure your sql db is to prevent the sql db from accepting connections from outside sources.

1: run SQL Server Configuration Manager
2. goto the Protocols for your db
3. goto TCP/IP and double click it
4. Under the Protocol Tab change the Listen All to "No"
5. Under the IP addresses change all the IP addresses "Enabled" to "No" Except for IP 127.0.0.1

What this does it makes the sql server not accept connections on any of the ip addresses except for the local one.
07/16/2010 05:28 AriezOMG#9
lilpro can we make this work in reverse to only let certain ip's in our SQL?
07/16/2010 07:36 EvilWarriorReturns#10
some1 sticky this post
chop chop!!
11/17/2011 07:54 ShaiyaOverLords#11
Portforward all shaiya server ports then port 1433 TCP you select allowed users then go to IP cow on your computer then copy and past problem solved

The ports that you need to forward are :
SQL - port 1433 - protocol - TCP
SQL - port 1433 - protocol - UDP (for the hell of it)
login - port 30800 - protocol - TCP
game -port 30810 - protocol TCP
session - port 30900 - protocol TCP
userlog - port 30901 - protocol TCP
dbagent - port 30911 - protocol TCP
gamelog - port 30912 - protocol TCP
Psmagent - port 40900 - protocol TCP
connectionManager - port 1060 - protocol TCP
dbagent2 - port 1056 - protocol TCP
gamelog - port 1072 - protocol TCP