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 22.214.171.124 is via interface 126.96.36.199 this is done by removing the one for interface 188.8.131.52.
route to 184.108.40.206 the gateway is 220.127.116.11.
the router lan port has a public ip 18.104.22.168.
the firewall internet port has a public ip 22.214.171.124.
the dmz nic has a public ip 126.96.36.199.
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 188.8.131.52 network is via 184.108.40.206 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.