I am trying to use a mandrake 9.1 box as a router/firewall for 1 apache webserver and 1 windows 2k webserver.
My mandrake box i am using as a router has 2 nics, with eth0 getting an IP from a router via dhcp. eth1 connects to a hub, which contains the 2 server boxes.
I have a few questions. First, my router can reach the internet through eth0, so I assume i should make that the defualt gateway for all traffic. How do I do this? And how do i make this my default configuration after boot up?
Second, I would like to make my apache server link to the internet through the mandrake router. To do this I would like to assign it an IP (say, 192.168.1.105) and make the router's eth1 recognize requests to and from the internet. How do I configure this on the router?
I already have IPv4 packet forwarding and Masquerading enabled at startup on my routing box, but do not know how to proceed. Any help would be highly appreciated.
thanks in advance