Page 1 of 1
How to configure gs if useing DDOS protection servr?
Posted: Thu Sep 04, 2014 1:47 pm
by babyjason
Hello,
Recently i ve been under ddos attack, so i purchased protection from a ddos company, they gave me different ip, so my question is:
1. what ip to put to external binding ip for gameserver and login server? dedicated server ip, or ddos filter company ip?
ty
Re: How to configure gs if useing DDOS protection servr?
Posted: Thu Sep 04, 2014 2:02 pm
by UnAfraid
Use ipconfig.xml and bind to the ip thst they give you.
Also disable IPv4Filter cuz all players will be using shared ip.
Re: How to configure gs if useing DDOS protection servr?
Posted: Thu Sep 04, 2014 2:09 pm
by babyjason
ty, just to be clear, i use the ddos proxy ip they gave me for gameserver settings, and disable ip4 filtering,
so all players who connect to gameserver will be logged with same ip cuz of this?
Re: How to configure gs if useing DDOS protection servr?
Posted: Thu Sep 04, 2014 2:45 pm
by babyjason
also tell me how to disable ipv4 filter?
Re: How to configure gs if useing DDOS protection servr?
Posted: Thu Sep 04, 2014 2:58 pm
by UnAfraid
babyjason wrote:also tell me how to disable ipv4 filter?
In GameServer class there is:
Code: Select all
_selectorThread = new SelectorThread<>(sc, _gamePacketHandler, _gamePacketHandler, _gamePacketHandler, new IPv4Filter());
Replace new IPv4Filter() with null
On Login server just disable EnableFloodProtection config
Re: How to configure gs if useing DDOS protection servr?
Posted: Thu Jan 29, 2015 6:50 pm
by octayn
UnAfraid wrote:Use ipconfig.xml and bind to the ip thst they give you.
Also disable IPv4Filter cuz all players will be using shared ip.
That really depends on what they are using for DDoS protection. A GRE tunnel, tunnels packets and does not show the proxy IP as every player's IP.