I'm setting up an open-source stock exchange (published under GPL3). I will be transmitting market tick data over UDP or websockets, and also creating TCP connections for order placement. For context, the concept is published here:
http://www.ritchiestockexchange.com/
To make this work, I've assigned a static IP address to the server, and enabled port forwarding of both TCP and UDP traffic to my router to the server. Using nodejs, C++, and C socket programming.
At this point, I'm publishing my router port address on port 3000 to the world; say 192.0.2.33:3000. I have a host of security concerns about this:
1. Hackers trying to break into my server
2. DDOS attacks on the IP address, port, or even the subnet.
3. My home computers attached to the same network as this server.
I'm still working on the proof of concept, and so I need to be budget-conscious. I currently have a Linksys WRT54g v1.1, factory stock firmware.
The question is, how can I set up the network to protect against the above attacks? Some suggestions I have so far are:
1. Create separate subnets, with the different machines (market data, exchange, and personal) on separate subnets.
2. Buy a better router
3. Install 3rd-party firmware on the WRT54g, and use that for subnetting
4. Use a service like cloudflare
5. Use an IP proxy service (sorta like cloudflare)
6. The heck with setting up my own network, just put it all on the cloud.
I need help. Any suggestions are appreciated. Thanks for your help. Sincerely, Keith :^)
More info at the following two posts:
http://community.linksys.com/t5/Wireless-Routers/WRT54g-Create-two-subnets/td-p/1164316
https://networkengineering.stackexchange.com/questions/41989/linksys-wrt54g-how-to-set-up-two-subnets
http://www.ritchiestockexchange.com/
To make this work, I've assigned a static IP address to the server, and enabled port forwarding of both TCP and UDP traffic to my router to the server. Using nodejs, C++, and C socket programming.
At this point, I'm publishing my router port address on port 3000 to the world; say 192.0.2.33:3000. I have a host of security concerns about this:
1. Hackers trying to break into my server
2. DDOS attacks on the IP address, port, or even the subnet.
3. My home computers attached to the same network as this server.
I'm still working on the proof of concept, and so I need to be budget-conscious. I currently have a Linksys WRT54g v1.1, factory stock firmware.
The question is, how can I set up the network to protect against the above attacks? Some suggestions I have so far are:
1. Create separate subnets, with the different machines (market data, exchange, and personal) on separate subnets.
2. Buy a better router
3. Install 3rd-party firmware on the WRT54g, and use that for subnetting
4. Use a service like cloudflare
5. Use an IP proxy service (sorta like cloudflare)
6. The heck with setting up my own network, just put it all on the cloud.
I need help. Any suggestions are appreciated. Thanks for your help. Sincerely, Keith :^)
More info at the following two posts:
http://community.linksys.com/t5/Wireless-Routers/WRT54g-Create-two-subnets/td-p/1164316
https://networkengineering.stackexchange.com/questions/41989/linksys-wrt54g-how-to-set-up-two-subnets