Hot!sort incoming FQDN

Author
Bisingen
New Member
  • Total Posts : 1
  • Scores: 0
  • Reward points: 0
  • Joined: 2019/05/15 03:11:51
  • Status: offline
2019/05/15 04:59:38 (permalink) 6.2
0

sort incoming FQDN

I have a FG100E with two active, different WAN ports.
On one should come several requests from the Internet:
- https://cert.xxx.de
- https://md.xxx.de
- https://abc.xxx.de
All logically have port 443.
Question: Is there a way to send the request to the right server when the FQDN arrives?
#1

2 Replies Related Threads

    rwpatterson
    Expert Member
    • Total Posts : 8404
    • Scores: 195
    • Reward points: 0
    • Joined: 2006/08/08 10:08:18
    • Location: Long Island, New York, USA
    • Status: online
    Re: sort incoming FQDN 2019/05/15 05:40:50 (permalink)
    0
    Welcome to the forums.
     
    That is beyond the capabilities of the Fortigate units. You would best achieve this on the web servers themselves. You could set up Apache (if that is what you are using) to move incoming traffic to the correct server based on the incoming destination. For example:
     
    # Directory directives for other directories

    # cert.xxxx.de
    <VirtualHost *:443>
        ServerName    Server.fqdn.com
        ServerAlias    cert.xxxx.de
        redirect /    http://real_cert.xxxx.server.fqdn.de:443/
    </VirtualHost>

    # md.xxxx.de
    <VirtualHost *:443>
        ServerName    Server.fqdn.com
        ServerAlias    md.xxxx.de
        redirect /    http://real_md.xxxx.server.fqdn.de:443/
    </VirtualHost>

    # abc.xxxx.de
    <VirtualHost *:443>
        ServerName    Server.fqdn.com
        ServerAlias    abc.xxxx.de
        redirect /    http://real_abc.xxxx.server.fqdn.de:443/
    </VirtualHost>

    -Bob - self proclaimed posting junkie!
    See my Fortigate related scripts at: http://fortigate.camerabob.com

    -4.3.19-b0694
    FWF60B
    FWF80CM (4)
    FWF81CM (2)
     
    #2
    ede_pfau
    Expert Member
    • Total Posts : 6019
    • Scores: 480
    • Reward points: 0
    • Joined: 2004/03/09 01:20:18
    • Location: Heidelberg, Germany
    • Status: offline
    Re: sort incoming FQDN 2019/05/16 05:59:21 (permalink)
    0
    This is a 100% typical request for the FortiADC (application delivery controller). It will route according to host or URI to different physical servers. From experience, runs very smooth and stable, and is not expensive.

    Ede

    " Kernel panic: Aiee, killing interrupt handler!"
    #3
    Jump to:
    © 2019 APG vNext Commercial Version 5.5