FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
kcheng
Staff
Staff
Article Id 216528
Description This article describes the steps to configure Multicast streaming using VLC via FortiGate.
Scope FortiGate.
Solution

1) Go to System -> Feature Visibility and enable 'Multicast Policy'.

 

kcheng_6-1656663394516.png

 

2) Configure the following:


# config system settings
    set multicast-forward enable
    set multicast-ttl-notchange enable
end

 

3) Disable Multicast routing with the following command:


# config router multicast
    set multicast-routing disable
end

 

4) Configure Multicast policy to allow Multicast connection:


# config firewall multicast-policy
    edit 1
        set name "P5-P6"
        set logtraffic enable
        set srcintf "port5"
        set dstintf "port6"
        set srcaddr "all"
        set dstaddr "all"
     next

                 edit 2
            set name "P6-P5"
            set logtraffic enable
            set srcintf "port6"
            set dstintf "port5"
            set srcaddr "all"
            set dstaddr "all"
        next
    end

 

5) Open VLC Media player on the server-side, Go to Tools -> Preferences and change Show settings to All:

 

kcheng_7-1656663531250.png

 

6) Scroll down to Stream output -> Access output and change the Hop limit to 100:

 

kcheng_8-1656663577475.png

 

7) Select the file that  to stream and select the network protocol use (in this example, UDP is used). 

 

8) In the Options Setup page, ensure that TTL attribute is added.

It is advisable to put in any value more than 1:

 

kcheng_9-1656663618008.png

 

9) On the client-side, open VLC Media player and enter the Multicast IP:

 

kcheng_10-1656663656025.png

 

10) The video should start streaming:

 

kcheng_11-1656663688696.png
Contributors