DMZ iptables and secure http
Hi all. This is a really weird problem. My network is setup like this: internal net <-> linux router (R1) <-> DMZ <-> linux router (R2) + ADSL modem <-> Internet.
This was working for a long time and still works. I keep my e-mail/web server in the DMZ. The linux routers (R1 and R2) use iptables firewall rules with R2 using NAT for the DMZ and internal network. R1 has dnsmasq and squid as well as openvpn running. It receives ports forwarded from R2 for openvpn connections which also works fine.
Now, I'm trying to replace R2 with a Netgear DGN2000 router doing the same thing. This works fine except when trying to use secure web sites. So I can browse from the internal sites but if I try to login to say yahoo mail then nothing happens. If I turn off squid and the redirection to the squid port in the firewall rules on R1 then nothing works. Even with ip_forward set to true. If any one can make some suggestions then please do so. I really want to solve this puzzle.