PXE configuration with Fortinet

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Answer
gpoirot
Messages: 12
Registration: Oct 09, 2023 - 4:35 p.m.

January 18, 2024 - 10:56

Good morning,
I'm looking to set up PXE. Our DHCP server is distributed through the Fortinet firewall.
The conference details are:

Code: Select all

set lease-time 0
        set dns-service local
        set default-gateway 172.16.0.1
        set next-server 172.23.1.1
        set netmask 255.255.0.0
        set interface "Pedagogique"
        config ip-range
            edit 1
                set start-ip 172.16.250.0
                set end-ip 172.16.255.254
            next
        end
        set filename "ipxe_custom.efi"
     
The PXE successfully locates the ipxe.efi file on the TFTP server, but the ipxe initializing device process is stuck in a loop
20240117_102350 (Small).jpg
20240117_102350 (Small).jpg (97.82 KB) Viewed 3893 times
Have you ever configured Fortinet for PXE?
Thanks in advance
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 18, 2024 - 11:13

Hello Guillaume,

I don't know Forti

However, your configuration cannot work because some conditions are missing:

Normally, in terms of algorithms, it does this:

Code: Select all


si c'est un pc legacy et que c'est ipxe   qui demande:
        filename =  "http://srvwapt.mydomain.lan/api/v3/baseipxe?uefi=false&keymap=fr";
        
si c'est un pc legacy et que c'est n'est pas ipxe qui demande  :
        filename = "undionly.kpxe";
        
si c'est n'est pas un pc legacy et que c'est ipxe qui demande :
        filename =  "http://srvwapt.mydomain.lan/api/v3/baseipxe?keymap=fr";
        
si c'est n'est pas un pc legacy et que ce n'est pas ipxe qui demande  :
        filename = "ipxe.efi";
Answer