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) 22.214.171.124 (dedicated public IP eg. for LAN)
126.96.36.199 188.8.131.52 184.108.40.206 220.127.116.11 18.104.22.168 22.214.171.124
Topology of network:
- data center router
- my router/firewall
- my switch
- servers connected to switch