Hello Christian,

it's hard coded in PacketFence (https://github.com/inverse-inc/packetfence/blob/devel/go/httpdispatcher/proxy.go#L232) but it shoudn't be complicate to add a configuration parameter for each network to define the fqdn of the portal.

I will have a look to see if it's not too long to code.

Regards

Fabrice


Le 19-01-24 à 09 h 47, Ludovic Zammit via PacketFence-users a écrit :
Hello Christian,

The hostname and DNS that you can edit in the web admin are the one for the redirect on the portal. You would need to restart the httpd.portal and haproxy-portal services in order to take effect.

Thanks,
Ludovic Zammit
lzam...@inverse.ca  <mailto:lzam...@inverse.ca>  ::  +1.514.447.4918 (x145) 
::www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
(http://packetfence.org)




On Jan 24, 2019, at 8:51 AM, Christian McDonald via PacketFence-users <packetfence-users@lists.sourceforge.net <mailto:packetfence-users@lists.sourceforge.net>> wrote:

You can define additional FQDNs somewhere in the GUI. I believe when behind PacketFence DNS, these are automatically resolved to the PF server IP address. However, on your production network, you will need to configure A records on your own DNS servers.

I'm specifically asking for a way define the FQDN that users are automatically redirected to. This seems to be hard-coded to be the FQDN of the PF host itself.

On Thu, Jan 24, 2019 at 8:47 AM Murilo Calegari <murilo.calegari.so...@gmail.com <mailto:murilo.calegari.so...@gmail.com>> wrote:

    I've got the same question! Is it possible to define multiple
    portal FQDNs which PacketFence listens to?

    Em qui, 24 de jan de 2019 às 10:34, Christian McDonald via
    PacketFence-users <packetfence-users@lists.sourceforge.net
    <mailto:packetfence-users@lists.sourceforge.net>> escreveu:

        Greetings,

        The default FQDN of the captive portal that appears in users
        browsers is simply the FQDN of the PacketFence server. Is
        there a way change this? For example, let's say the FQDN of
        my PF server is "nac01.corp.example.com
        <http://nac01.corp.example.com/>". How can I instead direct
        users to a more friendly name "registration.corp.example.com
        <http://registration.corp.example.com/>"?

        Thanks,

        --
        *R. Christian McDonald *
        E: rcmcdonal...@gmail.com <mailto:rcmcdonal...@gmail.com>
        _______________________________________________
        PacketFence-users mailing list
        PacketFence-users@lists.sourceforge.net
        <mailto:PacketFence-users@lists.sourceforge.net>
        https://lists.sourceforge.net/lists/listinfo/packetfence-users



--
*R. Christian McDonald *
M: (616) 856-9291
E: rcmcdonal...@gmail.com <mailto:rcmcdonal...@gmail.com>
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net <mailto:PacketFence-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/packetfence-users



_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to