How to configure gs if useing DDOS protection servr?

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
babyjason
Posts: 575
Joined: Wed Dec 02, 2009 7:59 pm

How to configure gs if useing DDOS protection servr?

Post 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
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: How to configure gs if useing DDOS protection servr?

Post 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.
Image
babyjason
Posts: 575
Joined: Wed Dec 02, 2009 7:59 pm

Re: How to configure gs if useing DDOS protection servr?

Post 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?
babyjason
Posts: 575
Joined: Wed Dec 02, 2009 7:59 pm

Re: How to configure gs if useing DDOS protection servr?

Post by babyjason »

also tell me how to disable ipv4 filter?
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: How to configure gs if useing DDOS protection servr?

Post 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
Image
octayn
Posts: 4
Joined: Wed Jan 28, 2015 5:54 pm

Re: How to configure gs if useing DDOS protection servr?

Post 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.
Post Reply