I want to configure a dedicated Linux server as a router for protecting dedicated servers with public IPs.
I have 6 dedicated servers and I want to add a router/firewall to protect them.
I will use another server with two network cards (eth0 and eth1) as a dedicated router.
All dedicated servers must have incoming and outgoing Internet access for all ports.
How can I configure this to work?
example of IPs I have:
172.17.17.1 (local IP for data center router internet/gateway)
172.17.17.2 (local IP for one network card eg. WLAN)
85.172.50.43 (dedicated public IP eg. for LAN)
Servers:
85.172.50.44
85.172.50.45
85.172.50.46
85.172.50.47
85.172.50.48
85.172.50.49
Topology of network:
- Internet
- data center router
- my router/firewall
- my switch
- servers connected to switch