D-Link Forums

The Graveyard - Products No Longer Supported => D-Link NetDefend Firewalls => Topic started by: drags on March 28, 2011, 06:54:42 AM

Title: HTTP IP Rule setup
Post by: drags on March 28, 2011, 06:54:42 AM
Hi,
I am trying to change an IP rule on my DFL-260 router and I need some help.

Currently, I have HTTP inbound SAT rule that redirects any traffic to our OWA server, and that works fine.
Now, I have to setup another HTTP inbound rule that will redirect the traffic to a different server.

In other words, if user types in:

http://ip-address/owa, it should redirect them to SERVER1
http://ip-address/app, it should redirect them to SERVER2

How do I set this up? I tried doing it with MultiplexSAT, but couldn't get it to work.

Thanks,
Dragan
Title: Re: HTTP IP Rule setup
Post by: xavierbt on March 29, 2011, 02:18:06 PM
You can't redirect this using the same ip and same port at router level. If you will use
http://server1/owa and http://server1/app

document http://server1/app should be something like

<?php
header('Location: http://server2/app');
?>

hope this helps
Title: Re: HTTP IP Rule setup
Post by: drags on April 18, 2011, 06:02:54 AM
Nah, that doesn't work.

What if I got my ISP to give me another public IP, would I be able to configure it then?

Thanks,
Dragan
Title: Re: HTTP IP Rule setup
Post by: lingnau on April 19, 2011, 08:36:58 AM
Yep. Diferent IP's, same port, no problem.
I have this setup on a DFL-210, works like a charm.