• February 23, 2025, 10:06:31 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: HTTP IP Rule setup  (Read 3800 times)

drags

  • Level 1 Member
  • *
  • Posts: 2
HTTP IP Rule setup
« 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
Logged

xavierbt

  • Level 1 Member
  • *
  • Posts: 12
Re: HTTP IP Rule setup
« Reply #1 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
Logged

drags

  • Level 1 Member
  • *
  • Posts: 2
Re: HTTP IP Rule setup
« Reply #2 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
Logged

lingnau

  • Level 2 Member
  • **
  • Posts: 53
    • www.lingnau.com.br
Re: HTTP IP Rule setup
« Reply #3 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.
Logged