Skip to main content
jm75
New Member
October 25, 2018
Question

Redirect access to fortigate portal on FQDN

  • October 25, 2018
  • 3 replies
  • 3525 views

Hello, I would like access to the Fortigate portal, using an IP address (public or private), to be redirected to the fqdn. For example, with a SSL VPN access, the users using the https://x.x.x.x:10999 are redirected to https://myfortigate.our-enterprise.com:10999 Is it possible and how?

 

Thanks

jm

    3 replies

    dbu
    Staff
    Staff
    September 25, 2023

    Hello @jm75 ,

     

    Please verify your configuration and set the following:

    config firewall auth-portal
    set portal-addr "portal.example.org"
    end
    config firewall policy
    edit policy <>
    set auth-redirect-addr "portal.example.org"
    end

     

    Regards!

    pminarik
    Staff
    Staff
    September 25, 2023

    > For example, with a SSL VPN access, the users using the https://x.x.x.x:10999 are redirected to https://myfortigate.our-enterprise.com:10999

     

    Can you please clarify your version of FortiGate firmware? As far as I am aware, no such functionality is available even for SSL-VPN, so this claim is surprising. There is always a chance that I missed something, so if you have any documentation mentioning this, I am eager to be enlightened. :)

     

    I am also curious about what is your goal with this. It certainly won't let you dodge the issue of your chosen certificate not being issued for the IP address being initially requested and triggering a certificate error, as the full TLS handshake must finish before the HTTP-based redirect can happen.

    mle2802
    Staff
    Staff
    September 25, 2023

    Hi @jm75,

    Can you please clarify your requirement as well as the reason to redirect FQDN to IP?

    Regards,
    Minh