I'm going to buy two computers which I'm going to use them for :
Computer(1).Receiving and filtering packets. ( the pc has two network boards) .CLEAROS
Computer(2).The Game server for receiving packets. (one network board ) .Windows7
Computer (1) wan ports :
- Port1: Provider's network connection cable.
- Port2 : Network cable connected to Computer (2).
By using only 1 computer for the game server this is how things work:
S.P = Send packets Client <------S.P-------------> |server's firewall| <-------> Server
But I want to use two computers and use filters . This is how the connection will be :
P.S = Packets sending W.N = Won't Reach Client ------P.S---->Computer(1)+ClearOS checking(if the client is flooding server ) ----W.N------/------> Computer(2)--->client else Client -----P.S----->Computer(1)+ClearOS checking(if the client is NOT flooding server ) -----> Computer(2)----->client
So , the idea is that :
Computer 1 will receive the packet
ClearOS will filter the packets : Checks if it's syn flood/ddos/dos etc..
---->If there's an attack , the packets won't be sent to Computer(2) + IP Banned
----->If everything is fine , the packets will be sent to the game console Computer(2)
How to make the ClearOS to receive the packets sent by the client then check them and send them to the Computer's 2 Game Console so that the console can receive the packets and interact with the client?