Author Topic: Redirection problem: 2 web servers in DMZ  (Read 1403 times)

nandres

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Redirection problem: 2 web servers in DMZ
« on: June 03, 2009, 04:07:33 pm »
Hi,

I want to create a DMZ with 2 different web servers on it (each one with its own hardware and IP). Each one will receive http requests from 2 different routers

I have create a redirection rule for the first one (eth3  extport:80  TCP  source:192.168.2.4/32  dest:192.168.3.1  intport:Same)

192.168.2.4/32 is the internal IP of the router

When trying to create the other one (eth3  extport:80  TCP  source:192.168.2.3/32  dest:192.168.3.2  intport:Same) it tells me:
"Contradictory rule found. Remove it first"

192.168.2.3/32 is the internal IP of the other router


Thanks a lot!

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Redirection problem: 2 web servers in DMZ
« Reply #1 on: June 03, 2009, 06:35:43 pm »
Having a look at the code, at first glance I think that these two rules shouldn't be reported as contradictory. Do you have any other redirection rules? Look specially at the ones with "any" values.

Regards,

J. A. Calvo
Zentyal Server Lead Developer

nandres

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Redirection problem: 2 web servers in DMZ
« Reply #2 on: June 04, 2009, 09:04:35 am »
I had other rule with source:Any, I've removed it and it works

Thanks a lot!