linux firewall with internet zone, dmz and trusted zone
i am using redhat 7.0, kernel 2.2.16 and ipchains using 3 nics.
i am setting a linux box as a firewall that connect directly to a cisco 1600 series router and breaks up the network into a dmz and trusted network zone.
i have done the necessary changes in the kernel routing on the firewall that is :
route to subnet 184.108.40.206 is via interface 220.127.116.11 this is done by removing the one for interface 18.104.22.168.
route to 22.214.171.124 the gateway is 126.96.36.199.
the router lan port has a public ip 188.8.131.52.
the firewall internet port has a public ip 184.108.40.206.
the dmz nic has a public ip 220.127.116.11.
the trusted nic has a private ip 192.168.0.1 masquerading all traffic.
my problem here is after setting an ip route on the router stating that the gateway for 18.104.22.168 network is via 22.214.171.124 the dmz zone is not accessible from the internet but the trusted network has no problems accessing to and from the internet and the dmz.
is this scenario a router or linux issue.
i have setup the forwarding rules properly.
can anyone provide any tips to configure a cisco router to function properly here if it is the router issue.